diff options
| author | Mqdd <ahmadmiqdad27@gmail.com> | 2026-01-02 09:51:05 +0700 |
|---|---|---|
| committer | Mqdd <ahmadmiqdad27@gmail.com> | 2026-01-02 09:51:05 +0700 |
| commit | 7c18662262af2041f18e0dd7890f88e72f066032 (patch) | |
| tree | 2ae4aacd8d55c7e1689ce42166237db9e5ab0f0f | |
| parent | 592570df7218f80d8622bfc52501c45440f9845a (diff) | |
<Miqdad> hide get order and create order altama for other vendor
| -rw-r--r-- | fixco_custom/views/purchase_order.xml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/fixco_custom/views/purchase_order.xml b/fixco_custom/views/purchase_order.xml index 2538081..b68da31 100644 --- a/fixco_custom/views/purchase_order.xml +++ b/fixco_custom/views/purchase_order.xml @@ -19,15 +19,18 @@ <button id="draft_confirm" position="after"> <button name="fixco_custom.action_view_uangmuka_pembelian" string="UangMuka" type="action" attrs="{'invisible': [('state', '!=', 'purchase')]}"/> - <!-- <button name="action_create_order_altama" + <button name="action_create_order_altama" 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" + attrs="{'invisible': [('partner_id', '!=', 270)]}" icon="fa-cloud-download"/> </button> <field name="fiscal_position_id" position="after"> |
