summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/sale_order.xml
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2023-09-26 15:07:27 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2023-09-26 15:07:27 +0700
commitc86979fd504ee06dc19c69797159a13295b0c809 (patch)
treef271661fbc2947073d48cc67c3eb4901692d1643 /indoteknik_custom/views/sale_order.xml
parent01f308991afffaff5eda1b758dbb98d0f3ba8396 (diff)
parentd324fdd8ea3b14c966510bde610a96c8f5c3e3c5 (diff)
Merge branch 'production' of bitbucket.org:altafixco/indoteknik-addons into production
Diffstat (limited to 'indoteknik_custom/views/sale_order.xml')
-rwxr-xr-xindoteknik_custom/views/sale_order.xml19
1 files changed, 18 insertions, 1 deletions
diff --git a/indoteknik_custom/views/sale_order.xml b/indoteknik_custom/views/sale_order.xml
index 69771844..a0b5e779 100755
--- a/indoteknik_custom/views/sale_order.xml
+++ b/indoteknik_custom/views/sale_order.xml
@@ -92,7 +92,7 @@
<field name="note_procurement" optional="hide"/>
<field name="vendor_subtotal" optional="hide"/>
<field name="amount_voucher_disc" string="Voucher" readonly="1" optional="hide"/>
- <field name="program_line_id" optional="1" />
+ <field name="order_promotion_id" string="Promotion" readonly="1" optional="hide"/>
</xpath>
<xpath expr="//form/sheet/notebook/page/field[@name='order_line']/tree/field[@name='product_id']" position="before">
<field name="line_no" readonly="1" optional="hide"/>
@@ -113,6 +113,7 @@
<field name="effective_date" position="after">
<field name="carrier_id"/>
<field name="estimated_arrival_days"/>
+ <field name="picking_iu_id"/>
</field>
<page name="customer_signature" position="after">
@@ -135,6 +136,22 @@
</group>
</group>
</page>
+ <page string="Promotion" name="page_promotion">
+ <field name="order_promotion_ids" readonly="1">
+ <tree options="{'no_open': True}">
+ <field name="program_line_id" />
+ <field name="quantity" />
+ <field name="is_applied" />
+ </tree>
+ <form>
+ <group>
+ <field name="program_line_id" />
+ <field name="quantity" />
+ <field name="is_applied" />
+ </group>
+ </form>
+ </field>
+ </page>
</page>
</field>