summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/purchase_order.xml
diff options
context:
space:
mode:
authorIndoteknik . <it@fixcomart.co.id>2025-08-06 13:52:21 +0700
committerIndoteknik . <it@fixcomart.co.id>2025-08-06 13:52:21 +0700
commit7ebcf1675e55dae39f769466e5bf5ef064646f27 (patch)
treec7fccfb7e36678b9b5ee4145dee85b37dcbcd94d /indoteknik_custom/views/purchase_order.xml
parent09032d721277221730efa3db7a2d8353524d509c (diff)
parentab11c9455c6e125195ec5004adfd855058d46f5f (diff)
Merge branch 'odoo-backup' of https://bitbucket.org/altafixco/indoteknik-addons into reminder-tempo-v2
Diffstat (limited to 'indoteknik_custom/views/purchase_order.xml')
-rwxr-xr-xindoteknik_custom/views/purchase_order.xml20
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