[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:
Olivier Dony 2013-11-07 12:02:56 +01:00
parent 05e067415d
commit f08f16cb30
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@
<div class="oe_subtotal_footer_separator oe_inline">
<label for="amount_total" />
<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>
<field name="amount_total" nolabel="1" class="oe_subtotal_footer_separator"/>
</group>