Tryton - Issues



Author ced
Recipients albertca, reviewbot
Date 2020-05-12.17:09:02
On 2020-05-12 16:59, Albert Cervera i Areny wrote:
> The proposal is an improvement because at least prevents corrupting data but at the same time what is the purpose of considering both configuration file and ir.configuration settings?

By design the field definition can not depend on a setting in the
database because the field define the database schema.
And for performance, we cannot read in the database each time we need
this value. It would be too expensive and slow. And using a Function
field would add a lot of code on many models for no benefit (as any way
the UI user can not modify it).
Date User Action Args
2020-05-12 17:09:03cedsetrecipients: + albertca, reviewbot
2020-05-12 17:09:03cedlinkissue9324 messages
2020-05-12 17:09:02cedcreate

Showing 10 items. Show all history (warning: this could be VERY long)