summaryrefslogtreecommitdiff
path: root/fixco_custom/views
diff options
context:
space:
mode:
Diffstat (limited to 'fixco_custom/views')
-rw-r--r--fixco_custom/views/purchase_order.xml10
1 files changed, 7 insertions, 3 deletions
diff --git a/fixco_custom/views/purchase_order.xml b/fixco_custom/views/purchase_order.xml
index d81982e..d5e612c 100644
--- a/fixco_custom/views/purchase_order.xml
+++ b/fixco_custom/views/purchase_order.xml
@@ -23,12 +23,15 @@
type="object"
string="Create Order Altama"
class="oe_highlight"
- icon="fa-cloud-upload"/>
+ icon="fa-cloud-upload"
+ attrs="{'invisible': [('partner_id', '!=', 270)]}"
+ />
<button name="action_get_order_altama"
type="object"
string="Get Order Altama"
class="oe_highlight"
- icon="fa-cloud-download"/>
+ attrs="{'invisible': [('partner_id', '!=', 270)]}"
+ icon="fa-cloud-download"/>
</button>
<field name="fiscal_position_id" position="after">
<field name="soo_number" readonly="1"/>
@@ -37,6 +40,7 @@
<field name="soo_tax" readonly="1"/>
<field name="sale_order_id" readonly="1"/>
<field name="biaya_lain_lain"/>
+ <field name="discount_total"/>
<field name="shipping_cost"/>
<field name="source" readonly="1"/>
<field name="move_entry_id" readonly="1"/>
@@ -58,4 +62,4 @@
</field>
</record>
</data>
-</odoo> \ No newline at end of file
+</odoo>