diff options
| author | Mqdd <ahmadmiqdad27@gmail.com> | 2026-02-27 09:54:01 +0700 |
|---|---|---|
| committer | Mqdd <ahmadmiqdad27@gmail.com> | 2026-02-27 09:54:01 +0700 |
| commit | 3e08828c8e0238478a9b2575aa0705ab89124050 (patch) | |
| tree | 441834e5b1b19dda0b58d2d67936686aa3771cf8 /indoteknik_custom/views/purchase_order.xml | |
| parent | 687e462aaf3112d3b8a7dcecfc8c50582c531798 (diff) | |
| parent | 523491c16ccac66b2464654bdd1969b444459466 (diff) | |
Merge branch 'odoo-backup' of https://bitbucket.org/altafixco/indoteknik-addons into odoo-backup
Diffstat (limited to 'indoteknik_custom/views/purchase_order.xml')
| -rwxr-xr-x | indoteknik_custom/views/purchase_order.xml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/indoteknik_custom/views/purchase_order.xml b/indoteknik_custom/views/purchase_order.xml index 59e317d2..9651cdd6 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" @@ -76,6 +89,10 @@ </field> <field name="approval_status" position="after"> <field name="revisi_po"/> + <field name="soo_number" attrs="{'invisible': [('partner_id', '!=', 5571)]}"/> + <field name="soo_price" attrs="{'invisible': [('partner_id', '!=', 5571)]}"/> + <field name="soo_discount" attrs="{'invisible': [('partner_id', '!=', 5571)]}"/> + <field name="soo_tax" attrs="{'invisible': [('partner_id', '!=', 5571)]}"/> <field name="not_update_purchasepricelist"/> </field> <field name="approval_status" position="after"> @@ -153,8 +170,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"/> |
