diff options
Diffstat (limited to 'indoteknik_custom/views')
| -rw-r--r-- | indoteknik_custom/views/dunning_run.xml | 1 | ||||
| -rwxr-xr-x | indoteknik_custom/views/sale_order.xml | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/indoteknik_custom/views/dunning_run.xml b/indoteknik_custom/views/dunning_run.xml index 6343a79b..cae9cc32 100644 --- a/indoteknik_custom/views/dunning_run.xml +++ b/indoteknik_custom/views/dunning_run.xml @@ -63,6 +63,7 @@ <field name="number"/> <field name="partner_id"/> <field name="dunning_date"/> + <field name="notification" readonly="1"/> </group> <group> <field name="is_validated" readonly="1"/> diff --git a/indoteknik_custom/views/sale_order.xml b/indoteknik_custom/views/sale_order.xml index 9dfd9805..1b6f31aa 100755 --- a/indoteknik_custom/views/sale_order.xml +++ b/indoteknik_custom/views/sale_order.xml @@ -7,6 +7,10 @@ <field name="inherit_id" ref="sale.view_order_form"/> <field name="arch" type="xml"> <button id="action_confirm" position="after"> + <button name="calculate_line_no" + string="Create No" + type="object" + /> <button name="sale_order_approve" string="Ask Approval" type="object" @@ -50,6 +54,9 @@ <field name="purchase_tax_id" attrs="{'readonly': [('parent.state', 'not in', ['draft', 'sent', 'sale'])]}" domain="[('type_tax_use','=','purchase')]"/> <field name="item_percent_margin"/> </xpath> + <xpath expr="//form/sheet/notebook/page/field[@name='order_line']/tree/field[@name='product_id']" position="before"> + <field name="line_no" readonly="1"/> + </xpath> <field name="amount_total" position="after"> <field name="total_margin"/> <field name="total_percent_margin"/> |
