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
2011-06-06 16:29:27 +02:00
2011-05-25 16:59:09 +02:00
2011-05-25 17:11:49 +02:00
2011-05-27 11:16:49 +02:00
2010-12-21 21:27:27 +01:00
2008-11-03 12:16:02 -05:00
2009-01-26 22:27:21 +02:00
2011-05-11 12:34:55 +02:00
2011-03-28 14:29:58 +02:00
2011-05-13 13:42:28 +02:00
2010-09-28 20:53:49 +02:00
2010-10-19 00:00:03 +02:00

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



S
Description
No description provided
Readme LGPL-3.0
3.4 GiB
Languages
Python 49.6%
JavaScript 47.8%
SCSS 2%
CSS 0.3%
HTML 0.2%