Purchase and Track Landed Costs
by T.V.T Marine Automation (aka TVTMA) https://viindoo.com/apps/app/16.0/to_purchase_landed_cost , Viindoo https://viindoo.com/apps/app/16.0/to_purchase_landed_cost$ 226.93
Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
•
Purchase Management (purchase)
• Inventory Management (stock) • Discuss (mail) |
Community Apps Dependencies | Show |
Lines of code | 806 |
Technical Name |
to_purchase_landed_cost |
License | OPL-1 |
Website | https://viindoo.com |
Versions | 10.0 11.0 12.0 13.0 14.0 15.0 16.0 |
Upon validation of a Purchase Order, automaticaly create other Purchase Orders for landed costs that would be allocated to the products of the first Purchase Order
Keep track the the landed costs (the amount, where they come from, why you have them, etc)
The problems
By default, Odoo's Stock Landed Cost application just provides a mean to allocate landed costs to stockable products without any means for tracking or manage landed cost purchase. For example, when you purchase product A, you may also need to purchase transportation service product B for another vendor. What would you encode such the information in Odoo? You probably:
- Create 2 purchase orders
- Receive the product A
- Open the second PO to get the cost of the transportation service
- Create a landed cost to allocate the cost of the transportation service to the product A
After, when you look into the list of thousand lines of landed costs, how you know if the costs are relevant? Is there anything wrong there? How to know if anything wrong there?
The Solution
This application was developed to solve the above mention problems by provide lots of must-have features to ensure that
- you can have some landed cost PO generated automatically when you confirm a PO that may require landed costs to be purchased
- you can create stock landed costs from a landed cost invoice
- everything related to landed costs is trackable. I.e. Landed Cost Adjustments, Landed Costs Purchases, Landed Costs Invoices, original purchase orders, landed costs' account journal items, etc
Editions Supported
- Community Edition
- Enterprise Edition
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module
Report comment
Any abuse of this reporting system will be penalizedThere are no ratings yet!
Mistake
In you live preview, I was trying to test the app, but when I try to confirm the order, I got the following error: Traceback (most recent call last): File "/opt/odoo/11/odoo/http.py", line 651, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/opt/odoo/11/odoo/http.py", line 310, in _handle_exception raise pycompat.reraise(type(exception), exception, sys.exc_info()[2]) File "/opt/odoo/11/odoo/tools/pycompat.py", line 87, in reraise raise value File "/opt/odoo/11/odoo/http.py", line 693, in dispatch result = self._call_function(**self.params) File "/opt/odoo/11/odoo/http.py", line 342, in _call_function return checked_call(self.db, *args, **kwargs) File "/opt/odoo/11/odoo/service/model.py", line 97, in wrapper return f(dbname, *args, **kwargs) File "/opt/odoo/11/odoo/http.py", line 335, in checked_call result = self.endpoint(*a, **kw) File "/opt/odoo/11/odoo/http.py", line 937, in __call__ return self.method(*args, **kw) File "/opt/odoo/11/odoo/http.py", line 515, in response_wrap response = f(*args, **kw) File "/home/vw2zy7hw4qngo7iluciq9lz5zmn7wt3p/addons/web/controllers/main.py", line 938, in call_button action = self._call_kw(model, method, args, {}) File "/home/vw2zy7hw4qngo7iluciq9lz5zmn7wt3p/addons/web/controllers/main.py", line 926, in _call_kw return call_kw(request.env[model], method, args, kwargs) File "/opt/odoo/11/odoo/api.py", line 689, in call_kw return call_kw_multi(method, model, args, kwargs) File "/opt/odoo/11/odoo/api.py", line 680, in call_kw_multi result = method(recs, *args, **kwargs) File "/home/vw2zy7hw4qngo7iluciq9lz5zmn7wt3p/addons/purchase/models/purchase.py", line 354, in button_confirm order.button_approve() File "/home/vw2zy7hw4qngo7iluciq9lz5zmn7wt3p/tvtmaaddons11/to_purchase_landed_cost/models/purchase_order.py", line 121, in button_approve r._create_landed_cost_po() File "/home/vw2zy7hw4qngo7iluciq9lz5zmn7wt3p/tvtmaaddons11/to_purchase_landed_cost/models/purchase_order.py", line 90, in _create_landed_cost_po big_dict[seller_id.name][seller_id] += line KeyError: product.supplierinfo(28,)