summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/purchase_order.xml
diff options
context:
space:
mode:
Diffstat (limited to 'indoteknik_custom/views/purchase_order.xml')
-rwxr-xr-xindoteknik_custom/views/purchase_order.xml18
1 files changed, 18 insertions, 0 deletions
diff --git a/indoteknik_custom/views/purchase_order.xml b/indoteknik_custom/views/purchase_order.xml
index 59e317d2..e7741abd 100755
--- a/indoteknik_custom/views/purchase_order.xml
+++ b/indoteknik_custom/views/purchase_order.xml
@@ -46,6 +46,19 @@
</button>
</xpath>
<button id="draft_confirm" position="after">
+ <button name="action_create_order_altama"
+ type="object"
+ string="Create Order Altama"
+ class="oe_highlight"
+ icon="fa-cloud-upload"
+ attrs="{'invisible': [('partner_id', '!=', 5571)]}"
+ />
+ <button name="action_get_order_altama"
+ type="object"
+ string="Get Order Altama"
+ class="oe_highlight"
+ attrs="{'invisible': [('partner_id', '!=', 5571)]}"
+ icon="fa-cloud-download"/>
<button name="po_approve"
string="Ask Approval"
type="object"
@@ -153,8 +166,13 @@
</field>
<field name="price_unit" position="after">
<field name="price_vendor" attrs="{'readonly': 1}" optional="hide"/>
+ <field name="description" optional="hide"/>
+ <field name="docstatus_altama" optional="hide"/>
</field>
<field name="price_subtotal" position="after">
+ <field name="altama_ordered" optional="hide" readonly="1"/>
+ <field name="altama_delivered" optional="hide" readonly="1"/>
+ <field name="altama_invoiced" optional="hide" readonly="1"/>
<field name="so_item_margin" attrs="{'readonly': 1}" optional="hide"/>
<field name="so_item_percent_margin" attrs="{'readonly': 1}" optional="hide"/>
<field name="item_margin" attrs="{'readonly': 1}" optional="hide"/>