This post will help you to add an action window in Odoo.
Odoo13:
<act_window id="action_make_bank_payment"
name="Do Bank Payment"
res_model="account.ob.payment"
binding_model="account.move"
view_mode="form"
target="new"
binding_views="list,form"
domain="[('type','=', 'in_invoice')]"
groups="account.group_account_user" />
Odoo12:
<act_window id="action_make_bank_payment"
name="Do Bank Payment"
res_model="account.ob.payment"
view_mode="tree,form"
domain="[('type','=', 'in_invoice')]"
groups="account.group_account_user" />
Thanks!!! Enjoy Programming!! :)
Reference:
https://www.odoo.com/es_ES/forum/ayuda-1/question/add-an-extra-action-in-the-tree-view-action-button-127691
<act_window id="action_make_bank_payment"
name="Do Bank Payment"
res_model="account.ob.payment"
binding_model="account.move"
view_mode="form"
target="new"
binding_views="list,form"
domain="[('type','=', 'in_invoice')]"
groups="account.group_account_user" />
Odoo12:
<act_window id="action_make_bank_payment"
name="Do Bank Payment"
res_model="account.ob.payment"
view_mode="tree,form"
domain="[('type','=', 'in_invoice')]"
groups="account.group_account_user" />
Thanks!!! Enjoy Programming!! :)
Reference:
https://www.odoo.com/es_ES/forum/ayuda-1/question/add-an-extra-action-in-the-tree-view-action-button-127691
thanks
ReplyDelete