diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2022-11-15 17:36:32 +0700 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2022-11-15 17:36:32 +0700 |
| commit | 5102c2a866daec248e3903fbfb7b8bd87bb0ef52 (patch) | |
| tree | 71c2d34088308a67d43b9780b9d3a94ee870ffab /indoteknik_custom/views/stock_picking.xml | |
| parent | f6671dd4595af3c1075b27925f10c457854cecf8 (diff) | |
| parent | 9d0dbdfe0e08ecab850860fa2b23ffb64fa6dae1 (diff) | |
Merge branch 'master' of bitbucket.org:altafixco/indoteknik-addons
Diffstat (limited to 'indoteknik_custom/views/stock_picking.xml')
| -rw-r--r-- | indoteknik_custom/views/stock_picking.xml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/indoteknik_custom/views/stock_picking.xml b/indoteknik_custom/views/stock_picking.xml index d53bf5b5..ce70fdd8 100644 --- a/indoteknik_custom/views/stock_picking.xml +++ b/indoteknik_custom/views/stock_picking.xml @@ -10,6 +10,12 @@ <button name="ask_approval" string="Ask Approval" type="object" + attrs="{'invisible': [('is_internal_use', '=', False)]}" + /> + <button name="ask_return_approval" + string="Ask Return/Acc" + type="object" + attrs="{'invisible': ['|', ('state', '=', 'draft'), ('state', '=', 'cancel'), ('approval_return_status', '=', 'pengajuan1')]}" /> </button> <div class="oe_title" position="after"> @@ -34,7 +40,8 @@ <field name="real_shipping_id"/> </field> <field name="origin" position="after"> - <field name="approval_status"/> + <field name="approval_status" attrs="{'invisible': [('is_internal_use', '=', False)]}"/> + <field name="approval_return_status" attrs="{'invisible': [('approval_return_status', '=', False)]}"/> <field name="summary_qty_operation"/> <field name="count_line_operation"/> <field name="account_id" |
