diff options
| author | Rafi Zadanly <zadanlyr@gmail.com> | 2024-03-07 14:05:08 +0700 |
|---|---|---|
| committer | Rafi Zadanly <zadanlyr@gmail.com> | 2024-03-07 14:05:08 +0700 |
| commit | 490eb81e704691df3e6d5c354837a08e4f982538 (patch) | |
| tree | 812379ef9b5b3de0033707fd9d46888a997424af /indoteknik_custom/views | |
| parent | 99946425a2a8c70c7f3e0344755504d8c9c3f717 (diff) | |
Add selected pricelist to calculate on purchase pricelist
Diffstat (limited to 'indoteknik_custom/views')
| -rwxr-xr-x | indoteknik_custom/views/purchase_pricelist.xml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/indoteknik_custom/views/purchase_pricelist.xml b/indoteknik_custom/views/purchase_pricelist.xml index 889fe2e0..5d8b84d6 100755 --- a/indoteknik_custom/views/purchase_pricelist.xml +++ b/indoteknik_custom/views/purchase_pricelist.xml @@ -60,6 +60,14 @@ </field> </record> + <record id="ir_actions_server_purchase_pricelist_calculate_pricelist" model="ir.actions.server"> + <field name="name">Calculate Pricelist</field> + <field name="model_id" ref="indoteknik_custom.model_purchase_pricelist"/> + <field name="binding_model_id" ref="indoteknik_custom.model_purchase_pricelist"/> + <field name="state">code</field> + <field name="code">model.action_calculate_pricelist()</field> + </record> + <menuitem id="menu_purchase_pricelist" name="Purchase Pricelist" |
