odoo/openerp/addons/base/ir
P. Christeas 49fbcdb70a ir.translation: select restriction must be an SQL constraint
select fields validate themselves in ORM, through _check_selection_field_value(),
which /retrieves/ the .selection list and checks if value to be written
is among possible ones. This, however, is very expensive for models that
have variable selection lists (eg. ones that require an SQL query).

In fact, for ir.translation, the query would be repeat for every single
write() to ir.translation. The 'lang' field is actually a reference for
res.lang.code (not the .id, sadly), so let SQL implement the constraint
for us.

bzr revid: xrg@linux.gr-20110608093254-ua66p5co6dc203zs
2011-06-08 12:32:54 +03:00
..
report [IMP] openerp python module. 2011-02-07 13:57:23 +01:00
wizard [IMP] openerp python module. 2011-02-07 13:57:23 +01:00
workflow [MERGE] merge 6.0 branch. 2011-03-03 14:30:11 +01:00
__init__.py [IMP] openerp python module. 2011-02-07 13:57:23 +01:00
ir.xml [IMP] @editable on forms and fields is nonsense, on trees it should only be able to take the values 'top' and 'bottom' 2011-05-31 12:15:18 +02:00
ir_actions.py [FIX] ir.actions: fixed and documented a bit the function field computing views for actions 2011-04-01 14:48:52 +02:00
ir_attachment.py [MERGE] merged latest fixes from 6.0, up to revision 3420 2011-05-06 11:39:20 +02:00
ir_board.py [IMP] openerp python module. 2011-02-07 13:57:23 +01:00
ir_config_parameter.py [IMP] openerp python module. 2011-02-07 13:57:23 +01:00
ir_cron.py [MERGE] ir_cron: expose the method (that can be extended) called when an exception occurs on a callback. 2011-05-24 13:07:07 +02:00
ir_default.py [IMP] openerp python module. 2011-02-07 13:57:23 +01:00
ir_exports.py [IMP] openerp python module. 2011-02-07 13:57:23 +01:00
ir_filters.py [IMP] openerp python module. 2011-02-07 13:57:23 +01:00
ir_model.py [FIX] osv/ir_model: forgot to remove the module arg in ir_model. 2011-05-27 14:40:51 +02:00
ir_rule.py [MERGE] merge 6.0 branch. 2011-03-03 14:30:11 +01:00
ir_sequence.py [IMP] openerp python module. 2011-02-07 13:57:23 +01:00
ir_translation.py ir.translation: select restriction must be an SQL constraint 2011-06-08 12:32:54 +03:00
ir_ui_menu.py [REF] consistent, grepable ir.values object naming. 2011-05-16 17:05:34 +02:00
ir_ui_view.py [IMP] ir.ui.view.custom: order by create_date descending 2011-06-01 12:52:09 +02:00
ir_values.py [MERGE] merged trunk 2011-05-25 17:17:22 +02:00
osv_memory_autovacuum.py [IMP] openerp python module. 2011-02-07 13:57:23 +01:00