|
|
@ -14,27 +14,27 @@ |
|
|
|
<xpath expr="//button[@name='action_cancel']" position="attributes"> |
|
|
|
<attribute name ="states">draft,sent,sale,waiting</attribute> |
|
|
|
</xpath> |
|
|
|
<!--<xpath expr="//tree/field[@name='discount']" position="replace">--> |
|
|
|
<!--<field name="discount" class="oe_inline" digits="(16, 2)"/> %%--> |
|
|
|
<!--</xpath>--> |
|
|
|
<xpath expr="//group[@name='note_group']" position="replace"> |
|
|
|
<group col="4"> |
|
|
|
<group name="discount" colspan="2"> |
|
|
|
<group name="note_group" col="6"> |
|
|
|
<group name="discount" colspan="2"> |
|
|
|
<field name="discount_type"/> |
|
|
|
<field name="discount_rate"/> |
|
|
|
</group> |
|
|
|
|
|
|
|
<group class="oe_subtotal_footer oe_right" colspan="2" name="sale_total"> |
|
|
|
<field name="amount_untaxed" widget='monetary' options="{'currency_field': 'currency_id'}"/> |
|
|
|
<field name="amount_discount" widget='monetary' options="{'currency_field': 'currency_id'}"/> |
|
|
|
<field name="amount_tax" widget='monetary' options="{'currency_field': 'currency_id'}"/> |
|
|
|
<div class="oe_subtotal_footer_separator oe_inline"> |
|
|
|
<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> |
|
|
|
<group colspan="4"> |
|
|
|
<field name="note" nolabel="1" placeholder="Terms and conditions..."/> |
|
|
|
</group> |
|
|
|
<div class="oe_clear"/> |
|
|
|
</group> |
|
|
|
|
|
|
|
</xpath> |
|
|
|
</field> |
|
|
|
</record> |
|
|
|