diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2025-08-05 15:21:56 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2025-08-05 15:21:56 +0700 |
| commit | c42bdba2996d85d328897e42e7a1d86001b3a14d (patch) | |
| tree | 710efdc71f124f8509f053159bed5506d38f5ef4 /indoteknik_custom/views/purchase_order.xml | |
| parent | 2d7aaf7fe387dd778731a2058dbe3210407ad803 (diff) | |
multi update receipt date
Diffstat (limited to 'indoteknik_custom/views/purchase_order.xml')
| -rwxr-xr-x | indoteknik_custom/views/purchase_order.xml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/indoteknik_custom/views/purchase_order.xml b/indoteknik_custom/views/purchase_order.xml index fedcb4f9..15cdc788 100755 --- a/indoteknik_custom/views/purchase_order.xml +++ b/indoteknik_custom/views/purchase_order.xml @@ -428,4 +428,24 @@ <field name="code">action = records.open_form_multi_cancel()</field> </record> </data> + <data> + <record id="action_update_receipt_date_po" model="ir.actions.server"> + <field name="name">Update Receipt Date</field> + <field name="model_id" ref="purchase.model_purchase_order"/> + <field name="binding_model_id" ref="purchase.model_purchase_order"/> + <field name="state">code</field> + <field name="binding_view_types">list</field> + <field name="code"> + action = { + 'type': 'ir.actions.act_window', + 'res_model': 'purchase.order.update.date.wizard', + 'view_mode': 'form', + 'target': 'new', + 'context': { + 'active_ids': env.context.get('active_ids', []), + }, + } + </field> + </record> + </data> </odoo>
\ No newline at end of file |
