Commit Graph
16 Commits
Author SHA1 Message Date
Cédric Krier bd7cc190f7 Fix flake8 errors and warnings
We add the flake8 configuration used so we ensure everyone uses the same.
We remove the usage of __all__ for non public API.
When possible, we rationalize the class name according to its __name__ and module.

issue9082
review297061002
2020-03-01 12:33:53 +01:00
Cédric Krier 9550da40e0 Add __table_handler__ to ModelSQL
issue7581
review48531002
2018-07-24 22:01:08 +02:00
Cédric Krier f7d5c91801 Fix searcher methods for dot notation
issue6757
review40651002
2017-09-27 18:37:31 +02:00
Cédric Krier 951dc8ecb6 Ensure rec_name is a char, text type
Model.default_get with 'default_rec_name' context relies on the fact that
rec_name is a string base field.

issue6630
review36501002
2017-07-26 23:43:24 +02:00
Nicolas Évrard 37db296525 Follow PEP-0249 for Transaction and backends
issue4949
review19781002
2016-03-03 21:55:17 +01:00
Cédric Krier 1f68ed6a5f Fix most flake8 errors
review8771002
2014-12-02 12:55:44 +01:00
Sergi Almacellas Abellana 4ad1ab02d0 Add domain on allocation percentage
issue4094
review11391003
2014-09-10 21:02:53 +02:00
Sergi Almacellas Abellana 41f5f350c1 Add missing ondelete cascade on allocations
issue4093
review7461002
2014-08-01 17:56:28 +02:00
Cédric Krier 8f2bf9d7a2 Use a sequence of records, values in write
issue3499
review1641003
2013-12-19 14:45:18 +01:00
Albert Cervera i Areny 23881afc67 Use a list of dictionaries in create().
issue2358
review266002
2013-01-06 22:18:13 +01:00
Cédric Krier 1e2a508a21 Active Record 2012-09-24 22:18:07 +02:00
Sharoon Thomas f2dac3b377 Add constraint on percentage in allocation
The percentage field in allocations allowed zero and negative
values. This resulted in computational errors.

issue2729
review443001
2012-07-26 08:06:23 +05:30
Mathias Behrle a03994a548 Change select=1|2 to select=True
issue2305
review269003
2012-03-05 10:53:05 +01:00
Cédric Krier 5f5a799ac6 Change Pool into a Singleton 2011-07-03 13:19:07 +02:00
Korbinian Preisler cc5e006b3e Update for new Transaction 2010-08-16 19:28:32 +02:00
Bertrand Chenal 61c26119c9 Initial commit 2009-06-25 17:37:37 +02:00