diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2024-11-12 11:29:07 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2024-11-12 11:29:07 +0700 |
| commit | 16cb40e0a943af1679fca60ff8cc4e6a683bd883 (patch) | |
| tree | 4240f8d05a5cd9bb1261a99c4c5ce6904c58cdd7 /indoteknik_custom/views | |
| parent | 1f42c0b0adf937e238e68fc2f7307234fff51952 (diff) | |
| parent | d9d9159e43aaabcc88661d0f23d362ed2e0128f6 (diff) | |
Merge branch 'production' into feature/max_plafon_order_qty
# Conflicts:
# indoteknik_custom/security/ir.model.access.csv
Diffstat (limited to 'indoteknik_custom/views')
| -rw-r--r-- | indoteknik_custom/views/approval_retur_picking.xml | 27 | ||||
| -rw-r--r-- | indoteknik_custom/views/requisition.xml | 8 |
2 files changed, 31 insertions, 4 deletions
diff --git a/indoteknik_custom/views/approval_retur_picking.xml b/indoteknik_custom/views/approval_retur_picking.xml new file mode 100644 index 00000000..5ce28e20 --- /dev/null +++ b/indoteknik_custom/views/approval_retur_picking.xml @@ -0,0 +1,27 @@ +<odoo> + <!-- Form View for Stock Return Note Wizard --> + <record id="view_stock_return_note_form" model="ir.ui.view"> + <field name="name">approval.retur.picking.form</field> + <field name="model">approval.retur.picking</field> + <field name="arch" type="xml"> + <form string="Add Return Note"> + <group> + <span>Ask Approval Retur?</span> + </group> + <footer> + <button name="action_confirm_note_return" string="Confirm" type="object" class="btn-primary"/> + <button string="Cancel" class="btn-secondary" special="cancel"/> + </footer> + </form> + </field> + </record> + + <!-- Action to Open the Wizard --> + <record id="action_stock_return_note_wizard" model="ir.actions.act_window"> + <field name="name">Add Return Note</field> + <field name="res_model">approval.retur.picking</field> + <field name="view_mode">form</field> + <field name="view_id" ref="view_stock_return_note_form"/> + <field name="target">new</field> + </record> +</odoo> diff --git a/indoteknik_custom/views/requisition.xml b/indoteknik_custom/views/requisition.xml index 16373912..957113a7 100644 --- a/indoteknik_custom/views/requisition.xml +++ b/indoteknik_custom/views/requisition.xml @@ -52,10 +52,10 @@ <form> <header> <button name="button_approve" - string="Approve" - type="object" - class="mr-2 oe_highlight" - /> + string="Approve" + type="object" + class="mr-2 oe_highlight" + /> </header> <sheet string="Requisition"> <div class="oe_button_box" name="button_box"/> |
