Cédric Krier
2e8ec5f5df
Replace SPLIT_PART by SUBSTR and POSITION
...
SPLIT_PART is not a standard SQL function (it is not supported by MySQL).
SUBSTR is used even if it is not standard SQL because SUBSTRING is not
supported by SQLite. This will change once we will migrate to python-sql.
review784002
2013-04-14 23:17:55 +02:00
Cédric Krier
a95ae0dad9
Remove _inherits
...
review670002
2013-03-20 22:49:16 +01:00
Cédric Krier
5e01f5c068
Fix flake8
2013-02-27 22:50:31 +01:00
Cédric Krier
690c066c35
Add documentation for Dict field and standardize options
...
review672003
2013-02-23 18:26:01 +01:00
Cédric Krier
d49fb4318d
Add selection_change_with on Selection and Reference fields
...
review587002
2013-02-05 19:06:16 +01:00
Cédric Krier
fd01a724f8
Add Dict fields
...
review501007
2013-01-26 15:18:41 +01:00
Albert Cervera i Areny
30b1403cdc
Use a list of dictionaries in create().
...
issue2358
review266002
2013-01-06 22:18:13 +01:00
Cédric Krier
0c577dd660
Improve getattr lookup in fields.Function.get
...
review612003
2012-12-23 22:58:13 +01:00
Cédric Krier
290791e0df
Use instance in One2Many.get to re-use cache
...
review585007
2012-11-28 23:12:39 +01:00
Cédric Krier
10f28ebdec
Set lazy loading on Reference field
2012-11-22 22:39:22 +01:00
Cédric Krier
0fe1b93864
Active Record
2012-09-24 22:16:53 +02:00
Cédric Krier
f5068bec10
Set default loading of Char depending on translate
...
review473002
2012-08-27 09:49:47 +02:00
Cédric Krier
5a0fd034cb
Fix reading from cache in field one2many
...
issue2706
review419001
2012-07-19 09:55:09 +02:00
Cédric Krier
6858187fc8
Add dynamic size limit on the One2Many, Many2Many and Char
...
review396001
2012-06-20 18:12:40 +02:00
Cédric Krier
1aae951f92
Allow to use Reference field in One2Many & Many2Many
...
review378002
2012-06-08 19:27:19 +02:00
Cédric Krier
3ebda5c8ee
Add time format validation
...
review342002
2012-05-16 13:04:36 +02:00
Cédric Krier
abb44d5703
Fix usage of None in search clause
...
review353002
2012-05-05 09:32:24 +02:00
Cédric Krier
ee3be37a36
Fix pep8 and pyflakes
2012-04-01 23:08:15 +02:00
Nicolas Évrard
584d516067
Integer, Numeric and Float allow None as value
...
NULL value is None and not False
issue2022
review237004
2012-03-23 17:52:36 +01:00
Max Holtzberg
f23f3b5525
Enable False search on property fields by domain inversion
...
issue2345
review203002
2012-02-28 12:51:01 +01:00
Max Holtzberg
250e37f88c
Passing false to SQL query on property field search as parameter
...
issue2351
review206002
2011-12-28 16:03:31 +01:00
Cédric Krier
ad17611e3e
Remove change_default on fields
...
issue2249
review211002
2011-12-22 22:03:15 +01:00
Nicolas Évrard
6ba18631e8
Use relative imports
2011-12-14 17:00:13 +01:00
Nicolas Évrard
0a471486e0
correct pyflake errors
...
review164003
2011-11-02 15:49:38 +01:00
Cédric Krier
cc48eb8532
New search widget
...
- Change select on fields into Boolean
- Change format of search_value on ir.action.act_window
review95002
2011-10-03 09:45:21 +02:00
Cédric Krier
4f4c4b92ad
Allow to use negative id in reference as unknown record
2011-09-20 15:40:48 +02:00
Cédric Krier
48ec29ab70
Reference id could be 0
2011-09-20 14:43:17 +02:00
Cédric Krier
fefd67c3a5
Improve Binary fields
...
* Support size format in context for Binary fields
* Use buffer for Binary fields
* No more store Binary fields in base64
review74006
2011-09-17 14:43:05 +02:00
Nicolas Évrard
470c1f9d5d
Correctly compute if argument is a condition
...
review100001
2011-09-06 12:00:15 +02:00
Cédric Krier
852f04dc51
Remove support of Python2.5 and fix py3 warnings
2011-07-12 00:16:15 +02:00
Cédric Krier
550aae8351
Change Pool into a Singleton
...
review42001
2011-07-03 13:20:58 +02:00
Nicolas Évrard
81faae9373
Preserve order of Many2Many.get
...
review40005
2011-06-14 18:29:08 +02:00
Nicolas Évrard
792410f277
Added autocompletion on fields.Char
2011-03-30 17:20:31 +02:00
Nicolas Évrard
7b62b8465e
Added support for file name to BinaryField
2011-02-16 17:50:09 +01:00
Cédric Krier
c259187ab7
Add loading attribute on fields
2011-01-07 10:58:43 +01:00
Cédric Krier
cd7ce92be9
Remove priority attribute on fields
2011-01-03 12:39:29 +01:00
Cédric Krier
c1a67a61d7
Boolean fields should not have "required" attribute for issue1760
2010-12-27 16:43:50 +01:00
Cédric Krier
0d1c43b6ed
Add One2One field
2010-12-03 18:01:46 +01:00
Cédric Krier
400817acbb
Improve speed for ir.property and reference fields for issue1623 and issue1631
2010-10-06 20:09:01 +02:00
Cédric Krier
df1fd283ac
New transaction management
...
Remove cursor, user and context from methods and use Transaction instead
2010-08-19 22:01:12 +02:00
Cédric Krier
483afed26a
Catch only Exception according to PEP 352
2010-07-08 19:53:39 +02:00
Cédric Krier
4513a8f8b9
Documentation refactoring
2010-05-08 14:22:26 +02:00
Cédric Krier
fef5ee826c
Enforce that every fields have a non-empty string
2010-03-25 12:52:05 +01:00
Cédric Krier
e36c70ce3b
searcher on Function fields take only one domain clause as argument
2010-03-23 11:22:31 +01:00
Cédric Krier
84b0c7ebbf
Allow to have boolean as states value
2010-03-17 17:54:16 +01:00
Cédric Krier
8ec67b1eba
merge
2010-03-17 11:51:34 +01:00
Cédric Krier
2e2227d795
Improve search on translatable fields for issue1442
2010-03-17 11:50:52 +01:00
Cédric Krier
aed753e21c
Don't raise error message about required Integer or Float
...
Integers and Floats have 0 as default value at the database level
2010-03-16 13:35:13 +01:00
Cédric Krier
dd6918994f
New interface for Function/Property fields
...
Function field takes an other field in parameters
set/get function on Fields take a list of ids
2010-03-11 16:42:50 +01:00
Cédric Krier
b5fb4d1ef3
Refactoring by validation with pylint
2010-02-18 18:50:35 +01:00