Add possibility to make a manual update of standard_price from BOM

Add script to automate the update of standard_price for phantom BOM
Add user_id on price.history
This commit is contained in:
Alexis de Lattre
2016-04-13 22:41:08 +02:00
committed by Alexis de Lattre
parent 155b5c205c
commit 6dab81a65b
3 changed files with 59 additions and 2 deletions

View File

@@ -20,8 +20,14 @@
options="{'currency_field': 'company_currency_id'}"/>
<field name="extra_cost" widget="monetary"
options="{'currency_field': 'company_currency_id'}"/>
<field name="total_cost" widget="monetary"
options="{'currency_field': 'company_currency_id'}"/>
<label for="total_cost"/>
<div>
<field name="total_cost" widget="monetary"
options="{'currency_field': 'company_currency_id'}"
class="oe_inline"/>
<button type="object" name="manual_update_product_standard_price"
string="Update Cost Price of Product" class="oe_link"/>
</div>
<field name="company_currency_id" invisible="1"/>
</xpath>
<page string="Components" position="after">