Hello,
on a one2many widget in a parent form I can specify the view that will be opened setting the "form_view_ref" and "tree_view_ref" variables in the context. Is it possible to use different forms depending on the parent form mode? For example if the parent form is in edit mode I would like to open a special edit-form cliking on "add an item". If the parent is only viewing data, not in edit mode, then clicking on an entry on the one2many widget should open another form view of the child element. Thank you for any suggestions.
nero
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
3367
Views