Skip to content

Commit

Permalink
[MIG] pos_payment_change: modification wizard view, add widget selection
Browse files Browse the repository at this point in the history
  • Loading branch information
julenfl committed May 10, 2023
1 parent 02ba9cb commit d0cf40e
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions pos_payment_change/wizards/view_pos_payment_change_wizard.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
<field name="amount_total" invisible="1" />
<field name="old_line_ids" colspan="4">
<tree>
<field name="old_payment_method_id" />
<field name="old_payment_method_id" widget="selection" />
<field name="amount" sum="Total" />
</tree>
</field>
Expand All @@ -26,10 +26,7 @@ License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
context="{'new_line_ids': new_line_ids, 'amount_total': amount_total}"
>
<tree editable="bottom">
<field
name="new_payment_method_id"
options="{'no_open': True, 'no_create_edit': True}"
/>
<field name="new_payment_method_id" widget="selection" />
<field name="amount" sum="Total" />
</tree>
</field>
Expand Down

0 comments on commit d0cf40e

Please sign in to comment.