Here in ref=" " if we want to put id of menu defined of same model, how to put that?
<record id="server_action_pos_credit_update" model="ir.actions.server">
<field name="name">Confirm</field>
<field name="model_id" ref="point_of_sale.menu_point_config_product"/>
<field name="state">code</field>
<field name="code">records.do_confirm()</field>
</record>
Could anyone help me out or suggest me anything?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Бухгалтерия
- Склад
- PoS
- Project
- MRP
Этот вопрос был отмечен
2
Ответы
3180
Представления
Hello Mansi,
model_id fields is a Many2one of "ir.model" model. Hence you cannot use a menu_id in "ref" field.
Hope this helps.
Thank You
Thank you Burhan. It really contributed to get things clear. Can you let me know alternative for it?
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
РегистрацияRelated Posts | Ответы | Просмотры | Активность | |
---|---|---|---|---|
|
2
авг. 24
|
1428 | ||
|
2
июл. 24
|
2496 | ||
|
1
июн. 24
|
4986 | ||
|
0
янв. 25
|
1314 | ||
|
1
окт. 23
|
10674 |