when searching in Odoo doc ,I found that:
Imagine 2 models A and B
if B has a related field from A like A.age ,why does odoo store in the B.age the link to A.age not the actual value . the link costs more memory than the actual value
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
when searching in Odoo doc ,I found that:
Imagine 2 models A and B
if B has a related field from A like A.age ,why does odoo store in the B.age the link to A.age not the actual value . the link costs more memory than the actual value
It's related so there must be a link somewhere in case the record get updated. Depending on the type of data, the link would not necessarily be more memory expensive compared to the value: such as an image, a big html content. My wife used to write her meeting schedule on a postit and put it on the fridge as reminder and she doesn't want to listening to my lecturing on single version of truth only to find out sometimes the meetings are rescheduled and she misses them. In ERP systems like Odoo, data consitency is of crucial values compared to be economical saving a few kb here and there.
Thanks for clarification ,but the question if I have a bool or Int value ,Is storing links more memory expensive and that means that the data type of related fields is something else rather than the actual value type ?
Create an account today to enjoy exclusive features and engage with our awesome community!
RegistráciaRelated Posts | Replies | Zobrazenia | Aktivita | |
---|---|---|---|---|
|
5
máj 24
|
13515 | ||
|
1
feb 24
|
1951 | ||
|
7
júl 16
|
5894 | ||
|
0
jún 24
|
1048 | ||
|
3
feb 21
|
16373 |