| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Purchase (purchase)
• Invoicing (account) • Discuss (mail) • Inventory (stock) |
| Lines of code | 283 |
| Technical Name |
stock_last_purchase_price |
| License | AGPL-3 |
| Website | https://www.openhrms.com |
| Versions | 12.0 13.0 14.0 15.0 16.0 17.0 18.0 |
Introducing New Costing Method 'Last Purchase Price' in Odoo.
Costing Method: Last Purchase Price
Key Highlights
Product's Cost as Last Purchase Price
This module allows you to update your product's cost as your last purchase price and changes the stock valuation based on that.
A New Costing Method
A new costing method is added to the list and can be chosen from product category form.
Compatibility
Designed to work with both Odoo Community and Enterprise editions.
Are you ready to make your business more
organized?
Improve now!
Set Product Cost.
Product form showing the cost.
Set Costing method
Select the Product category and set costing method as Last Purchase Price.
Set Price Difference Account
Set a price difference account in product form.
Create Purchase Order
Purchase order created with new cost.
The Cost is Updated
Cost updated in the product form with the new cost.
Journal Items
Journal item generated by the price change.
Automatically posting price difference related accounting entries to the 'Price Difference Account' when we use automated inventory valuation.
A new costing method is added to the list and can be chosen from product category form.
Cost price of products will be updated with their last purchase price.
The Last Purchase Price method calculates the cost of inventory based on the most recent purchase price of the item, ensuring that the value reflects the latest market conditions.
Inventory valuation using the Last Purchase Price method can fluctuate based on recent purchase prices, which can lead to more accurate financial reporting and better cash flow management.
Yes, in systems like Odoo, the Last Purchase Price is automatically updated whenever a new purchase order is processed, ensuring that inventory costs remain current and accurate.
Latest Release 18.0.1.0.0
4th October, 2024- Initial Commit
Please log in to comment on this module
There are no ratings yet!
Purchase
This also happens when receiving any purchase order that has products with the AVCO costing method because it needs to update the price.
Error
There is an error updating the stock for products assigned the AVCO cost method in the category. Traceback (last call): File "/opt/odoo/src/core/odoo/http.py", line 2166, in _transactioning return service_model.retrying(func, env=self.env) File "/opt/odoo/src/core/odoo/service/model.py", line 156, in retry result = func() File "/opt/odoo/src/core/odoo/http.py", line 2133, in _serve_ir_http response = self.dispatcher.dispatch(rule.endpoint, args) File "/opt/odoo/src/core/odoo/http.py", line 2381, in dispatch result =self.request.registry['ir.http']._dispatch(endpoint) File "/opt/odoo/src/core/odoo/addons/base/models/ir_http.py", line 333, in _dispatch result = endpoint(**request.params) File "/opt/odoo/src/core/odoo/http.py", line 754, in route_wrapper result = endpoint(self, *args, **params_ok) File "/opt/odoo/src/core/addons/web/controllers/dataset.py", line 42, in call_button action = call_kw(request.env[model], method, args, kwargs) File "/opt/odoo/src/core/odoo/api.py", line 535, in call_kw result =getattr(recs, name)(*args, **kwargs) File "/opt/odoo/src/core/addons/stock/wizard/stock_change_product_qty.py", line 43, in change_product_qty })._apply_inventory() File "/opt/odoo/src/core/addons/stock_account/models/stock_quant.py", line 74, in _apply_inventory super(StockQuant, inventories)._apply_inventory() File "/opt/odoo/src/core/addons/stock/models/stock_quant.py", line 1032, in _apply_inventory moves._action_done() File "/opt/odoo/src/core/addons/stock_account/models/stock_move.py", line 352, in_action_done valued_moves['en'].product_price_update_before_done() File "/opt/odoo/src/addons-custom/stock_last_purchase_price/models/stock_move.py", line 66, in product_price_update_before_done move._get_price_unit() * qty)) / ( TypeError: Unsupported operand type(s) for *: 'dict' and 'float'