[IMP]sale : remove update button
This commit is contained in:
committed by
Jérome Maes
parent
f24223b071
commit
31a9311748
@@ -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:
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user