Hi,
Is it valid to test record equality (is record1 the same as record2) the following way:
record1 == record2
or should we do:
record1.id == record2.id
Which is the preferred way and why ? Thanks !
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi,
Is it valid to test record equality (is record1 the same as record2) the following way:
record1 == record2
or should we do:
record1.id == record2.id
Which is the preferred way and why ? Thanks !
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
2
Aug 23
|
1707 | ||
Count Related Records
Solved
|
|
1
Jan 21
|
2971 | |
|
7
Sep 20
|
5991 | ||
|
1
Dec 17
|
5587 | ||
|
1
Nov 17
|
2746 |