Good morning,
I made a module that, when installed, adds the categories and subcategories recorded in it. Now I want to understand how, in addition to categories, to set the "Costing Method - FIFO" for the category or subcategory that I add through the module. Please tell me which way to move.
And if possible - I would like to know how to install "Inventory valuation - Automation" in the same place.
Example of adding a category through a module:
<?xml version="1.0" encoding="utf-8"?> <odoo> <data noupdate="1"> <record id="product_category_7" model="product.category"> <field name="parent_id" ref="product.product_category_all"/> <field name="name">Category name</field> </record> </data> </odoo>
Thanks!