mirror of
https://github.com/NaN-tic/trytond-sale_recompute_price.git
synced 2023-12-14 04:12:56 +01:00
Delete string at view level and add to ir.model.button.
This commit is contained in:
parent
a5cc311c95
commit
3957a09ed6
1
sale.xml
1
sale.xml
|
@ -25,6 +25,7 @@
|
|||
|
||||
<record model="ir.model.button" id="recompute_price_button_id_button">
|
||||
<field name="name">recompute_price</field>
|
||||
<field name="string">Recompute Price</field>
|
||||
<field name="model" search="[('model', '=', 'sale.sale')]"/>
|
||||
</record>
|
||||
|
||||
|
|
|
@ -5,6 +5,6 @@ copyright notices and license terms. -->
|
|||
<xpath
|
||||
expr="/form/notebook/page[@id='sale']/group/group[@id='buttons']/button[@name='cancel']"
|
||||
position="before">
|
||||
<button name="recompute_price" string="Recompute Price"/>
|
||||
<button name="recompute_price"/>
|
||||
</xpath>
|
||||
</data>
|
||||
|
|
Loading…
Reference in a new issue