[FIX] point_of_sale: `update` button in POS order form was calling a non-existing method
This dummy button is only meant to save the order and refresh the view, which is easily accomplished by sending an non-existing workflow signal. Setting the button type to the default `workflow` type (or simply removing the wrong type) fixes the problem. bzr revid: odo@openerp.com-20131107110256-zfok0mwkbesrkf81
This commit is contained in:
parent
05e067415d
commit
f08f16cb30
|
@ -60,7 +60,7 @@
|
||||||
<div class="oe_subtotal_footer_separator oe_inline">
|
<div class="oe_subtotal_footer_separator oe_inline">
|
||||||
<label for="amount_total" />
|
<label for="amount_total" />
|
||||||
<button name="button_dummy"
|
<button name="button_dummy"
|
||||||
states="draft" string="(update)" type="object" class="oe_edit_only oe_link"/>
|
states="draft" string="(update)" class="oe_edit_only oe_link"/>
|
||||||
</div>
|
</div>
|
||||||
<field name="amount_total" nolabel="1" class="oe_subtotal_footer_separator"/>
|
<field name="amount_total" nolabel="1" class="oe_subtotal_footer_separator"/>
|
||||||
</group>
|
</group>
|
||||||
|
|
Loading…
Reference in New Issue