summaryrefslogtreecommitdiff
path: root/addons/analytic_user_function/analytic_user_function.py
diff options
context:
space:
mode:
authorRaphael Collet <rco@openerp.com>2014-11-03 16:00:50 +0100
committerRaphael Collet <rco@openerp.com>2014-11-04 13:47:57 +0100
commitf2e4a10e1a58c932f9a989e642771f5ae75d756a (patch)
treeb5d933afe79088ecf5b8a5bc9eae957fb8898b0b /addons/analytic_user_function/analytic_user_function.py
parent0f52e22906a969a8ca3b2c38acddf5bf8a6386be (diff)
[IMP] use model._fields instead of model._all_columns to cover all fields
The old-api model._all_columns contains information about model._columns and inherited columns. This dictionary is missing new-api computed non-stored fields, and the new field objects provide a more readable api... This commit contains the following changes: - adapt several methods of BaseModel to use fields instead of columns and _all_columns - copy all semantic-free attributes of related fields from their source - add attribute 'group_operator' on integer and float fields - base, base_action_rule, crm, edi, hr, mail, mass_mailing, pad, payment_acquirer, share, website, website_crm, website_mail: simply use _fields instead of _all_columns - base, decimal_precision, website: adapt qweb rendering methods to use fields instead of columns
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function.py')
0 files changed, 0 insertions, 0 deletions