I am trying to dynamically change the user's form. In audio 9, a template was used for this purpose "web/static/src/xml/base.xml" , where, among others, the "field_boolean" class was defined. Version 17 does not have this definition. When I try to insert this definition directly into the inherited view, I get a message that this is not in the parent class. I have no experience using templates. Can you tell me how I can use the definition of the "field_boolean" class from the old version?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project
- MRP
This question has been flagged
Thanks Niyas! I am trying to organize the granting of access rights in a different way. In ODOO9, a table was formed, each record of which represented a combination of selection fields and boolean fields created dynamically using a template. These are not additional fields of the res.users model that could be inserted using the path expression. These are fields of a dynamically created class. An appropriate template was required to create it. But I do not know how to implement this in ODOO17. Without a template, I can insert the table header, but not the newly created fields.
Hi,
You can check in the user interface where your field has been added in the odoo 9, and you can locate the same position in odoo 17 and write the xpath expression to locate the needed node.
Thanks
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
1
Jul 24
|
1970 | ||
|
0
May 24
|
1333 | ||
|
1
Mar 24
|
1323 | ||
|
4
May 25
|
2411 | ||
|
2
May 25
|
5747 |