49fbcdb70a590d566a635b83afd6ecc6d7763737
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
About OpenERP --------------- OpenERP is a free Enterprise Resource Planning and Customer Relationship Management software. It is mainly developed to meet changing needs. The main functional features are: CRM & SRM, analytic and financial accounting, double-entry stock management, sales and purchases management, tasks automation, help desk, marketing campaign, ... and vertical modules for very specific businesses. Technical features include a distributed server, flexible workflows, an object database, dynamic GUIs, customizable reports, NET-RPC and XML-RPC interfaces, ... For more information, please visit: http://www.openerp.com
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%