when i duplicate an instance of an object the button discard don't work and registration takes effect without using the save button. please can you give me one exemple using copy methode to correct this error.
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
2
Replies
3009
Views
The object is first duplicated in the database (i.e. the record is duplicated and created in database) and then new created record will be displayed in an edit mode to let use to change anything.
"Discard" button discards any subsequent changes done by use.
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 | |
---|---|---|---|---|
|
2
Jan 23
|
23781 | ||
|
4
Jun 21
|
37398 | ||
|
1
Dec 20
|
1488 | ||
|
1
Apr 18
|
6458 | ||
Why Odoo is so successful
Solved
|
|
3
Sep 15
|
8481 |
This is the default working mechanism of COPY/DUPLICATE in Odoo. def copy() will create the record and then it shows the user interface.