Skip to main content

Allows to update valuation layers once the purchase is received

Project description

Odoo Community Association

Update costs from purchase

Beta License: LGPL-3 OCA/purchase-workflow Translate me on Weblate Try me on Runboat

This module allows to adjust the valuation of the incoming goods related to their purchase order from the purchase line itself.

Table of contents

Use Cases / Context

When a purchase order is confirmed, the value of the received goods is updated upon reception. It can happen anyway that the reception of the goods is confirmed before the final price is recorded in the corresponding purchase line.

For that, Odoo will fix the valuation when the invoice for that purchase is confirmed, but that moment could be delayed for an uncertain period of time while thos stored goods are being selled with wrong margins and the value being discounted for a wrong price unit.

We want to fix those disalignments as soon as possible from the purchase order while keeping the native mechanism to add later corrections from the invoice itself.

Configuration

In order to use this module, you need to have some storable products valued on average cost (AVCO).

To do so:

  • Go to Inventory > Configuration > Product Categories and select one.

  • In the Inventory valuation section, select the Costing method as Average Cost (AVCO).

  • Now all the products in that category will have that valuation rules.

Usage

In order to test the module:

  • Go to Purchase > Orders and create a new quotation.

  • Add a product with AVCO valuation and set a price.

  • Validate the purchase order.

  • Receive the products.

  • The products are now valued at the price you set in the order line.

  • You can check it in Inventory > Reporting > Valuation (debug mode needed).

  • Now change the price in the order line.

  • You’ll see that the line has changed its color to yellow and a new button Fix valuation shows up in the header.

  • When you click that button, every disaligned valuation will be fixed. If you go to the Valuation report you’ll see the adjustment layer.

  • After this, when you invoice the purchase you won’t be able to edit the price anymore.

  • You can anyway add an additional valuation when you post the new invoice prices.

Known issues / Roadmap

  • Only AVCO is supported

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Moduon

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

Current maintainers:

chienandalu rafaelbn

This module is part of the OCA/purchase-workflow project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file odoo_addon_purchase_stock_cost_update-16.0.1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_purchase_stock_cost_update-16.0.1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cd21778783c900ffd8f72b410d5b348e14cdf377cfaa62f3db2dd21c03abb558
MD5 158afbce25c6d85120f43241930fe918
BLAKE2b-256 ea22f0caf6cb10d7417d433eda91d440f2eb520749354aab0cb69d3ebafbfc24

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page