6127608cae729b5c8bf20b92d8af3d591cc2034f
Valuation of standard move: We introduce _create_in_svl and _create_out_svl and call these method in _action_done only on the standard move, the other valuation methods still use the old code. We hijack _account_entry_move to create journal entries anyway for the valuation layer with a minimal diff. Helpers for the valuation layers creation are added on the product because we will need to create similar layer without stock move later on when we'll implement changes of cost method. We also make a first implementation of the edition in the past to make some tests pass, it will be completed with other cost method implementation Change of standard price: Before this commit, the wizard to change the standard price was only displayed in perpetual, because it was used to create accountign entries. We also use this wizard in manual now, because we want to create a stock valuation layer. Fortunetaly, the accounting fields of this wizard are not required if the product has a manual valuation. And the new method is private. We adapt the existing tests as well as we can and include the start of a new battery of tests: test_stockvaluationlayer.py task-1875873
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, Purchase Management, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
Then follow the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%