[IMP]sale : remove update button

This commit is contained in:
Nirali Sapra
2017-09-29 21:54:36 +02:00
committed by Jérome Maes
parent f24223b071
commit 31a9311748
2 changed files with 0 additions and 6 deletions
-4
View File
@@ -181,10 +181,6 @@ class SaleOrder(models.Model):
def _get_customer_lead(self, product_tmpl_id):
return False
@api.multi
def button_dummy(self):
return True
@api.multi
def unlink(self):
for order in self:
-2
View File
@@ -366,8 +366,6 @@
<field name="amount_tax" widget='monetary' options="{'currency_field': 'currency_id'}"/>
<div class="oe_subtotal_footer_separator oe_inline o_td_label">
<label for="amount_total" />
<button name="button_dummy"
states="draft,sent" string="(update)" type="object" class="oe_edit_only oe_link"/>
</div>
<field name="amount_total" nolabel="1" class="oe_subtotal_footer_separator" widget='monetary' options="{'currency_field': 'currency_id'}"/>
</group>