LaOcaCoop/laosa#313 Add module stock_inventory_cost_info_sum
This commit is contained in:
parent
79abf4b1db
commit
3ddb55fba8
6 changed files with 94 additions and 0 deletions
14
stock_inventory_cost_info_sum/views/actions.xml
Normal file
14
stock_inventory_cost_info_sum/views/actions.xml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<odoo>
|
||||
|
||||
<!-- Add action entry in the Action Menu for calculate adjustment cost in Inventories -->
|
||||
<record id="action_product_calculate_theoritical_price2" model="ir.actions.server">
|
||||
<field name="name">Recalculate Adjustment Cost</field>
|
||||
<field name="model_id" ref="stock.model_stock_inventory"/>
|
||||
<field name="binding_model_id" ref="stock.model_stock_inventory"/>
|
||||
<field name="state">code</field>
|
||||
<field name="code">
|
||||
records._compute_adjustment_cost_sum()
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
Loading…
Add table
Add a link
Reference in a new issue