[FIX] stock_account: Wrong label
When the internal category of a product is in costing method = "Average Price" and Inventory Valuation = "Perpetual(automated)", a button with the label "Compute from average price" was displayed. But when clicking on this button, it just allows to set the standard price. So the label of this button must be "Set standard price". opw:709329
This commit is contained in:
@@ -50,7 +50,7 @@
|
||||
groups="stock_account.group_inventory_valuation"/>
|
||||
</div>
|
||||
<div name="standard_price_uom" position="after">
|
||||
<button string="Compute from average price" type="action"
|
||||
<button string="Set standard price" type="action"
|
||||
name="%(action_view_change_standard_price)d"
|
||||
attrs="{'invisible':['|', '|', ('valuation','!=', 'real_time'), ('cost_method', 'not in', ['average']), ('product_variant_count', '>', 1)]}"
|
||||
class="oe_link oe_read_only" colspan="2"
|
||||
@@ -89,7 +89,7 @@
|
||||
groups="stock_account.group_inventory_valuation"/>
|
||||
</field>
|
||||
<field name="standard_price" position="after">
|
||||
<button string="Compute from average price" type="action"
|
||||
<button string="Set standard price" type="action"
|
||||
name="%(action_view_change_standard_price)d"
|
||||
attrs="{'invisible':['|',('valuation','!=', 'real_time'), ('cost_method', 'not in', ['average'])]}"
|
||||
class="oe_link oe_read_only" colspan="2"
|
||||
|
||||
Reference in New Issue
Block a user