Hello odooers
when I use compute method and onchange mehtod that time I did not get ID.
but I got self = sale.order(<NewId 0x7f5dec30b2b0>,) & self.id = <NewId 0x7f5dec30b2b0>.
I used _origin but got sale.order().
So, How can I get ID??
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
8893
Views
You cannot have ID of the record until it is saved.