Commit Graph
55 Commits
Author SHA1 Message Date
Cédric Krier a61b523904 Use Constraint instance in ModelSQL._sql_constraints
issue4814
review15491002
2015-06-22 17:00:12 +02:00
Cédric Krier 1e516b0d7c Fix most flake8 errors
review8771002
2014-12-02 12:56:15 +01:00
Cédric Krier 984cec121f New API for on_change
issue4203
review8581002
2014-10-29 20:40:34 +01:00
Cédric Krier 83b26fac40 Use fields.depends decorator
issue3487
review2301002
2014-01-26 14:29:44 +01:00
Robert Schöftner 0348676a28 check for same product in constraint for internal oderpoints
issue3591
review2721002
2014-01-22 15:00:29 +01:00
Cédric Krier abf4819d3d Fix usage of context company
Default value of company should be -1 to get the right cast and an impossible
value.
Replace False by None as other value in "in" clause.

issue3394
review1119002
2013-10-09 18:25:59 +02:00
Cédric Krier 41d599b492 Migration to python-sql
review1001002
2013-09-06 22:34:56 +02:00
Udo Spallek 1c5ecc5b2c Use class instead of instance variable.
issue3090
review721006
2013-03-25 20:55:25 +00:00
Albert Cervera i Areny a3f375c9d9 Replace _constraints with validate in ModelStorage and improve user messages.
issue2616
review371002
2013-03-07 16:56:07 +01:00
Cédric Krier 7a009b7ec4 Fix flake8 2013-02-28 22:59:23 +01:00
Cédric Krier bd2b9b72a1 Active Record 2012-09-24 22:18:24 +02:00
Cédric Krier 274acb75ad Fix pep8 and pyflakes 2012-04-03 20:07:50 +02:00
Cédric Krier 7cb6b421a8 Replace wrong usage of False by None
issue2512
2012-03-27 10:44:10 +02:00
Nicolas Évrard 4f7f4fc7d3 Integer, Numeric and Float allow None as value
NULL value is None and not False

issue2022
review237004
2012-03-23 18:38:55 +01:00
Cédric Krier 16d3832c59 New product types: Goods, Assets and Service
review260001
2012-03-16 12:42:05 +01:00
Mathias Behrle bc2a844a19 Change select=1|2 to select=True
issue2305
review269003
2012-03-05 10:53:09 +01:00
Nicolas Évrard 9328ee2cae fix pyflake errors
review162011
2011-11-02 16:13:58 +01:00
Nicolas Évrard 56fa34181b remove trailing spaces 2011-10-28 11:09:15 +02:00
Cédric Krier 07f0598cf8 Add test for depends 2011-08-04 16:57:45 +02:00
Cédric Krier ea7808a7e8 Change Pool into a Singleton 2011-07-03 13:19:17 +02:00
Phillip Heller 598a9d62a6 Update for new Transaction 2010-08-10 11:58:54 -04:00
Cédric Krier a27b70833e searcher on Function fields take only one domain clause as argument 2010-03-23 11:22:48 +01:00
Cédric Krier feb2834518 Remove ids from on_change* calls 2010-03-18 18:15:18 +01:00
Cédric Krier f155a414d7 New interface for Function/Property fields 2010-03-11 16:54:57 +01:00
Cédric Krier bd1fec2014 Use PySON 2010-01-20 11:05:20 +01:00
Cédric Krier 0e1acd03d3 Remove unused company_obj 2009-12-29 18:02:14 +01:00
Cédric Krier 06e2a482bd Fix company context domain when company is not in context 2009-11-02 19:21:45 +01:00
Cédric Krier b23dddb733 Change string domain into list 2009-06-23 18:49:38 +02:00
Cédric Krier 6e6623d094 Add domain on company according rules for issue965 2009-04-10 11:27:53 +02:00
Cédric Krier 6f9827f2ec Fix spell 2009-03-20 13:49:50 +01:00
Cédric Krier a692f08adf Add unit and unit_digits on order point 2009-03-12 19:02:45 +01:00
Cédric Krier 57fb32aec9 Remove OSV and WizardOSV 2009-02-28 17:06:35 +01:00
Cédric Krier 96b92dd87b Fix typo in get_rec_name of order_point for issue804 2009-02-22 18:35:51 +01:00
Cédric Krier 94f4d7f1de Replace name_get, name_search with get_rec_name and search_rec_name
Return only id for default value of many2one
2009-02-17 11:52:28 +01:00
Cédric Krier db781b520c Use more standard way for string domain 2009-01-13 23:03:40 +01:00
Bertrand Chenal 93743404e7 Fix product domain on order point (issue745) 2009-01-13 17:06:16 +01:00
Bertrand Chenal df34b976ac Fix check on order point uniqueness 2008-11-13 17:43:49 +01:00
Cédric Krier 6494122a2a Fix typo 2008-11-05 17:54:28 +01:00
Bertrand Chenal 691861a208 Fix type2field internal dict 2008-11-03 15:33:26 +01:00
Bertrand Chenal 0a58390192 Fix name_search when args contains sub-queries 2008-10-21 13:23:40 +02:00
Bertrand Chenal 9fdc9f89a4 Added name_search on order point 2008-10-21 12:49:04 +02:00
Cédric Krier 7e78b2b237 merge 2008-10-21 11:19:42 +02:00
Cédric Krier 91ba3771b5 Fix name_get of order_point if there is no ids 2008-10-21 11:19:17 +02:00
Bertrand Chenal 65ca8a8e05 Use _ prefix for private fct, use a dict for the type2field mapping 2008-10-20 13:05:09 +02:00
Bertrand Chenal bf4eb6c9ab Fix when searching for location across different type of order points 2008-10-20 12:35:04 +02:00
Bertrand Chenal 4da8e3f342 Use integer for select value on fields definitions 2008-10-20 12:33:48 +02:00
Bertrand Chenal 6c791e8c87 Added internal order point 2008-10-18 01:20:35 +02:00
Bertrand Chenal f985fdbea5 Added name_get on purchase request and oder point 2008-10-14 19:18:27 +02:00
Bertrand Chenal 8f09e8cb3a Added domain on location for order point. 2008-09-18 16:13:28 +02:00
Bertrand Chenal c475110d1c Use a one liner as model description. typo. 2008-09-08 14:56:13 +02:00