Nicolas Évrard
d4e3b605ef
Add 'where' operator to xxx2many
...
issue4507
review12951002
2016-01-21 10:48:32 +01:00
Cédric Krier
a61474274a
Add parent_of operator
...
issue5037
review15711002
2015-11-05 23:22:26 +01:00
Cédric Krier
808580e2ea
Improve domain queries of xxx2Many
...
Avoid using double select of ids and origin.
issue4821
review15521002
2015-07-09 15:37:03 +02:00
Cédric Krier
375cde4422
Remove unecessary join in Many2Many getter
...
The target Many2One can be directly used now.
issue4799
review15471002
2015-06-15 01:09:18 +02:00
Cédric Krier
c144f8c349
Fix most flake8 errors
...
review8771002
2014-12-02 12:54:01 +01:00
Robin Baumgartner
8b3557921e
Use Null constant from python-sql for comparisons
...
issue4143
review13701003
2014-11-24 13:57:12 +01:00
Cédric Krier
9108f66d81
Ensure xxx2Many field are always tuple to be immutable
...
issue4327
review8701002
2014-11-19 21:37:22 +01:00
Cédric Krier
6765a12e5a
Add add_remove alias on Many2Many for compatibility with One2Many
...
issue4112
review5511002
2014-09-01 12:53:32 +02:00
Sergi Almacellas Abellana
fd7c510ce4
Add grouped_slice helper and use it.
...
issue3516
review10301002
2014-07-17 18:53:05 +02:00
Cédric Krier
814b1d2ea5
Ensure ids clause is a list for concatenation
...
issue3949
review11281006
2014-06-08 00:18:55 +02:00
Cédric Krier
c08724f2ef
Don't stop setting Many2Many if first values is empty
2014-04-11 15:41:55 +02:00
Cédric Krier
6d1be2574b
Allow to customize field column and fix numeric search for SQLite
...
issue3733
issue3648
review4421002
2014-03-18 19:59:04 +01:00
Cédric Krier
2680d1b746
Use a sequence of ids, values to set fields
...
review3331003
2014-02-24 19:15:57 +01:00
Cédric Krier
472b7e5d57
Rationalize relation actions
...
* Remove relation field actions:
- delete_all
- unlink_all
- set
* Rename relation field action unlink into remove
issue3457
review2271002
2013-12-20 12:32:07 +01:00
Cédric Krier
f52fe8e45f
Use a sequence of records, values in write
...
issue3499
review1641003
2013-12-19 14:44:01 +01:00
Laurent Defert
d143acdd0a
Add a 'copy' action to One2Many and Many2Many's set method
...
issue3341
review1271002
2013-11-19 11:04:33 +01:00
Cédric Krier
fc6c6cfdda
Migration to python-sql
...
* Use python-sql
* Add convert_domain method on Fields
* Add sql_format and sql_type methods on Fields
* Allow to return a full domain for Function.searcher
* Replace static backend by dynamic get method
* Replace order_field by order_<field name> method
review1001002
2013-09-06 22:32:37 +02:00
Cédric Krier
a95ae0dad9
Remove _inherits
...
review670002
2013-03-20 22:49:16 +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
0fe1b93864
Active Record
2012-09-24 22:16:53 +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
ee3be37a36
Fix pep8 and pyflakes
2012-04-01 23:08:15 +02:00
Cédric Krier
ad17611e3e
Remove change_default on fields
...
issue2249
review211002
2011-12-22 22:03:15 +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
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
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
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
2e2227d795
Improve search on translatable fields for issue1442
2010-03-17 11:50:52 +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
Bertrand Chenal
862986e9b2
Use itertools.chain to improve get on xxx2many
2010-01-14 15:29:33 +01:00
Cédric Krier
106419b26e
Fix create on many2many
...
Create the target record before creating the relation record
2010-01-05 14:07:33 +01:00
Cédric Krier
92fab4e81b
Add datetime_field on xxx2Many to use a specific _datetime when reading the
...
related record
2009-10-05 15:41:10 +02:00
Gour
486d46a405
fix typos for documentation (Model chapter)
2009-09-13 15:37:11 +02:00
Cédric Krier
a50899cb56
Use read instead of browse in Many2Many for performence
2009-04-02 00:37:05 +02:00
Cédric Krier
40f8c7553d
Modify Many2Many to use a model to store relations instead of a named table.
2009-03-05 14:50:44 +01:00
Cédric Krier
65d0a9494b
Update model documentation.
...
Use autodoc in sphinx
Add missing and fix docstring
2009-03-01 13:37:31 +01:00
Cédric Krier
e28edc4d99
Add model.fields
...
Use better naming of field attributes
2009-02-03 18:58:25 +01:00