diff options
| author | FIN-IT_AndriFP <andrifebriyadiputra@gmail.com> | 2025-12-15 13:21:47 +0700 |
|---|---|---|
| committer | FIN-IT_AndriFP <andrifebriyadiputra@gmail.com> | 2025-12-15 13:21:47 +0700 |
| commit | eac7f6b944c0b9f434cd70a558c5aa184f83d8fa (patch) | |
| tree | 3266263c634240b1696706510ebbfe4ec6aa84e4 /indoteknik_custom/views | |
| parent | 8c0acd970dfdb463717ae6c4a2bc67a7b32238ab (diff) | |
| parent | 52066bed7e68757247e17ec89d31959247991595 (diff) | |
Merge branch 'odoo-backup' of https://bitbucket.org/altafixco/indoteknik-addons into magento-solr-v1
Diffstat (limited to 'indoteknik_custom/views')
| -rw-r--r-- | indoteknik_custom/views/stock_picking.xml | 25 | ||||
| -rw-r--r-- | indoteknik_custom/views/tukar_guling.xml | 3 |
2 files changed, 27 insertions, 1 deletions
diff --git a/indoteknik_custom/views/stock_picking.xml b/indoteknik_custom/views/stock_picking.xml index e1d9bd1f..1bb7174e 100644 --- a/indoteknik_custom/views/stock_picking.xml +++ b/indoteknik_custom/views/stock_picking.xml @@ -20,6 +20,8 @@ <field name="sj_return_date" optional="hide"/> <field name="date_reserved" optional="hide"/> <field name="state_reserve" optional="hide"/> + <field name="linked_out_picking_id" optional="hide"/> + <field name="linked_manual_bu_out" optional="hide"/> <field name="state_packing" widget="badge" decoration-success="state_packing == 'packing_done'" decoration-danger="state_packing == 'not_packing'" optional="hide"/> <field name="final_seq"/> @@ -171,6 +173,8 @@ <field name="invoice_status"/> <field name="is_bu_iu"/> <field name="is_so_fiktif" readonly="1"/> + <field name="is_rev_tg" invisible="1" /> + <field name="tukar_guling_id" invisible="1" /> <field name="approval_status" attrs="{'invisible': [('is_bu_iu', '=', False)]}"/> <field name="date_doc_kirim" attrs="{'readonly':[('invoice_status', '=', 'invoiced')]}"/> <field name="summary_qty_operation"/> @@ -356,6 +360,27 @@ title="FIKTIF" bg_color="bg-danger" attrs="{'invisible': [('is_so_fiktif', '=', False)]}"/> + <widget name="web_ribbon" + title="Administrasi" + bg_color="bg-danger" + attrs="{ + 'invisible': [ + '|','|', + ('tukar_guling_id', '=', False), + ('is_rev_tg', '=', False), + ('picking_type_id', 'not in', [29, 30]) + ]}"/> + + <widget name="web_ribbon" + title="Perlu Dikirim" + bg_color="bg-success" + attrs="{ + 'invisible': [ + '|','|', + ('tukar_guling_id', '=', False), + ('is_rev_tg', '=', True), + ('picking_type_id', 'not in', [29, 30]) + ]}"/> </xpath> </field> </record> diff --git a/indoteknik_custom/views/tukar_guling.xml b/indoteknik_custom/views/tukar_guling.xml index 9dd31905..8cfb5680 100644 --- a/indoteknik_custom/views/tukar_guling.xml +++ b/indoteknik_custom/views/tukar_guling.xml @@ -85,6 +85,7 @@ attrs="{'readonly': [('state', 'not in', 'draft')]}"/> <!-- <field name="origin" readonly="1"/>--> <field name="origin_so" readonly="1"/> + <field name="rev_tukar_guling" attrs="{'invisible': [('return_type', '!=', 'tukar_guling')]}"/> <field name="is_has_invoice" readonly="1"/> </group> <group> @@ -133,4 +134,4 @@ </field> </record> </data> -</odoo>
\ No newline at end of file +</odoo> |
