Cédric Krier
b04bf99e46
Follow isort formatting
...
issue10928
2021-12-11 17:58:42 +01:00
Cédric Krier
7925dab37d
Set all fields readonly for inactive records
...
issue3747
review295061011
2020-03-17 20:08:12 +01:00
Cédric Krier
20a820802d
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:52 +01:00
Cédric Krier
b184b5996b
Add ir.message and use custom exceptions
...
issue3672
2018-12-29 14:20:29 +01:00
Cédric Krier
c9136ab84d
Add __table_handler__ to ModelSQL
...
issue7581
review48531002
2018-07-24 22:01:08 +02:00
Cédric Krier
a5fc9bbeb8
Use tree mixin
...
issue7383
review45021002
2018-05-12 00:48:48 +02:00
Sergi Almacellas Abellana
c2059a2d60
Use deactivable mixin
...
issue4341
review38401002
2018-03-26 14:10:40 +02:00
Cédric Krier
11fbeb58a9
Replace unique by exclude constraint on category name
...
issue7173
review35981002
2018-03-19 17:17:02 +01:00
Cédric Krier
0ab856f728
Add help text
...
issue6309
review26201002
2017-03-16 18:32:07 +01:00
Cédric Krier
16783d0472
Use Constraint instance in ModelSQL._sql_constraints
...
issue4814
review15491002
2015-06-22 16:59:29 +02:00
Cédric Krier
3ef205ec3a
Really order categories by name
...
issue4433
review6781003
2015-01-02 15:48:40 +01:00
Cédric Krier
1e0b4b0f3b
Fix most flake8 errors
...
review8771002
2014-12-02 12:55:24 +01:00
Cédric Krier
2939697fd3
Improve search_rec_name of category
...
Directly return the domain instead of the "id in" form.
2014-11-02 16:14:16 +01:00
Udo Spallek
a8483ea835
Add missing Active Record migration.
...
issue3094
review743002
2013-03-26 09:27:04 +00:00
Albert Cervera i Areny
04732ae2b0
Replace _constraints with validate in ModelStorage and improve user messages.
...
issue2616
review371002
2013-03-07 16:55:03 +01:00
Jean Cavallo
4d84501fef
Active Record
2012-09-24 22:10:20 +02:00
Cédric Krier
fa48b6315c
Fix pep8 and pyflakes
2012-04-03 20:07:11 +02:00
Cédric Krier
a9b0fe85a3
default_active must return a boolean
2012-03-24 09:28:06 +01:00
Mathias Behrle
4ce8a4b54e
Change select=1|2 to select=True
...
issue2305
review269003
2012-03-05 10:53:03 +01:00
Cédric Krier
d566d24514
Make PYSON more Pythonic
2011-08-21 11:20:44 +02:00
Cédric Krier
99b3466dfb
Add test for depends
2011-08-04 16:57:31 +02:00
Cédric Krier
ebb2f727db
Allow to translate category name
...
issue2036
review48003
2011-06-23 12:20:03 +02:00
Cédric Krier
a3ad703265
Fix domain concatenation between list and tuple
2011-06-23 12:18:51 +02:00
Phillip Heller
8c5fe32a66
Update for new Transaction
2010-08-10 11:59:01 -04:00
Cédric Krier
f35a371b64
searcher on Function fields take only one domain clause as argument
2010-03-23 11:24:23 +01:00
Cédric Krier
dc8e4a6ea0
New interface for Function/Property fields
2010-03-11 16:48:37 +01:00
Mathias Behrle
07dbc54f88
Make category name of party unique by parent for issue 1407.
2010-02-21 16:21:17 +01:00
Cédric Krier
d23b7e85ae
Use PySON
2010-01-20 11:00:56 +01:00
Cédric Krier
addb410334
Improve search_rec_name of category to take care of separator for issue1369
2010-01-13 00:37:34 +01:00
Bertrand Chenal
98b6c69806
Fix get_rec_name on category when there are more than two level of categories
2009-07-29 13:15:24 +02:00
Bertrand Chenal
50e509f136
Typo: childs > children
2009-03-19 19:44:48 +01:00
Cédric Krier
ec31cc51b5
merge
2009-03-01 01:39:31 +01:00
Bertrand Chenal
04b458864f
Fix get_rec_name for issue 830
2009-02-28 22:37:08 +01:00
Cédric Krier
9d86c9f9a2
Remove OSV and WizardOSV
2009-02-28 17:00:12 +01:00
Cédric Krier
99008b586d
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:46:00 +01:00
Cédric Krier
4882f10f5f
Remove state on function field and fix guidelines
2009-01-06 22:36:38 +01:00
Cédric Krier
c182100fd2
Remove size constraints
2008-10-23 14:04:22 +02:00
Cédric Krier
c52a18e5bb
Rename module into party
...
Move country into his own module
Add full_name on party
Add full_address on address
2008-10-22 20:07:32 +02:00
Cédric Krier
3fc047157b
Add translation of _constraints
2008-08-05 11:36:25 +02:00
Cédric Krier
0cb4a76fe4
Remove _parent_name
2008-07-09 13:51:40 +02:00
Cédric Krier
c453285f97
Guidelines for field strings
2008-07-04 18:44:36 +02:00
Cédric Krier
267e36268f
Improve test in ids
2008-07-02 12:25:25 +02:00
Cédric Krier
875ad5f0a7
Fix COPYRIGHT
2008-06-23 21:00:15 +02:00
Cédric Krier
8dff3b24c2
Remove order on parent for new behavior of order
2008-06-11 10:33:24 +02:00
Bertrand Chenal
6eb87f8ca5
Fix method signature for get_complete_name.
2008-06-03 13:24:25 +02:00
Cédric Krier
f18db8e82e
Rename partner into party
2008-05-21 18:12:20 +02:00
Cédric Krier
9501b46964
Change _order for new dict implementation
2008-04-22 17:48:57 +02:00
Bertrand Chenal
9008d6b8a5
Guidelines
2008-03-07 15:47:43 +01:00
Cédric Krier
b63a19ee85
New _sql_constraints definition
2008-03-04 11:50:22 +01:00
Cédric Krier
5a4243bd71
Change _defaults dict to function
2008-02-26 16:23:30 +01:00