I have a one2many field which has an editable tree view inside the parent object's form view. Each new entry should by default copy values from the last entry. I tried to update the context on the create method and call it as default, but no success. Something similar is implemented in the v5 and v7 of the account entry lines, where when a move is recorded, the reverse entry is generated...but have not been able to do so
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
1
Reply
4661
Views
use default get method you will get it