Cédric Krier
6765a12e5a
Add add_remove alias on Many2Many for compatibility with One2Many
...
issue4112
review5511002
2014-09-01 12:53:32 +02:00
Cédric Krier
349fc51a7f
Use the context of the relation field for instanciation
...
issue4098
review13461002
2014-08-29 16:49:09 +02:00
Cédric Krier
cd2ac5c1b1
Add translated descriptor for Selection field
...
issue3679
review10401002
2014-08-04 16:50:59 +02:00
Cédric Krier
68c34c203a
Add name to union_column to ease override
...
The current union_column uses the field.name to get the union_field, it works
correctly but prevent to implement by override a clean mapping transformation of
name between the union and the models. Indeed it is doable by passing an other
field but then we could potentially lost the automatic sharding.
issue3992
review13331003
2014-06-22 17:11:06 +02:00
Cédric Krier
e740b5f432
Remove on_change call from default_get
...
The on_change call doesn't work for xxx2many fields, so it is moved on the
client side where it is properly managed.
issue3923
review6301002
2014-06-08 00:33:31 +02:00
Cédric Krier
3f8d858c01
Add UnionMixin
...
issue3906
review8341002
2014-06-08 00:26:57 +02:00
Cédric Krier
03801d399a
Allow to disable sorting of dictionary field's selection
...
issue3605
review2821002
2014-05-30 16:31:17 +02:00
Cédric Krier
1abe24ce34
Add MachMixin
...
issue3867
review5271002
2014-05-09 23:16:19 +02:00
Cédric Krier
88bd235c3d
Fix documentation warnings
2014-04-17 17:40:50 +02:00
Cédric Krier
9dbc025011
Add restore_history to ModelSQL
...
issue3456
review1441003
2014-03-18 20:07:03 +01: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
335b0b6851
Add history revisions
...
issue3678
review3551002
2014-03-18 19:54:32 +01:00
Nicolas Évrard
4334efa2ee
Add index to one2many's on_change add
...
review2091002
issue3539
2014-03-16 20:49:42 +01:00
Cédric Krier
a130816cbd
Add support of domain for non-relation field
...
issue3743
review4181002
2014-03-15 10:44:45 +01:00
Cédric Krier
f0a4bbcff7
Remove Sha field and add password widget
...
issue3713
review3791003
2014-03-07 19:38:01 +01:00
Sergi Almacellas Abellana
e64751cf5b
Add docs about new action_id variable on wizards
...
issue3675
review3911002
2014-02-28 20:29:33 +01:00
Cédric Krier
76cd64e6f8
Add Len to PYSON
...
issue3692
review3661002
2014-02-27 12:36:53 +01:00
Cédric Krier
dce4d3f732
Client side actions on button and wizard
...
issue3343
review3231002
2014-02-15 18:34:22 +01:00
Cédric Krier
2e7c28d348
Add with_on_change switch to default_get
...
default_get should not call on_change when called in create because it could
modify values set by the caller.
issue3602
review2781002
2014-01-26 21:57:15 +01:00
Cédric Krier
905343c900
Add fields.depends decorator
...
issue3487
review2301002
2014-01-26 14:27:24 +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
Cédric Krier
c46a026c40
Refactore Transaction to add close and autocommit
...
review2151002
2013-12-18 18:09:43 +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
c194f230eb
Fix documentation about session in Wizard
2013-08-21 22:28:48 +02:00
Laurent Defert
33ba5ee26c
Documentation update about Binary's filenames attributes
...
issue3321
review998002
2013-08-19 11:06:20 +02:00
Cédric Krier
8710f2fd99
Fix Pool.setup to re-allow extra_depends behavior
...
review898002
2013-05-27 18:47:00 +02:00
Cédric Krier
305ab64504
Add documentation about type of PYSON
...
issue3137
review901002
2013-05-24 10:15:46 +02:00
Cédric Krier
ba94740d1f
Fix wrong reference to method
2013-04-17 17:40:23 +02:00
Cédric Krier
c87965cf61
Remove ModelSQL.default_sequence from the doc
...
ModelSQL.default_sequence was removed in 2.6
issue3143
2013-04-12 19:29:23 +02:00
Cédric Krier
a95ae0dad9
Remove _inherits
...
review670002
2013-03-20 22:49:16 +01:00
Albert Cervera i Areny
25463800c9
Replace _constraints with validate in ModelStorage and improve user messages.
...
issue2616
review371002
2013-03-07 16:53:19 +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
42186307bc
Fix documentation about unsupported names keyword on instance method getter
...
issue2987
review663002
2013-02-05 19:19:22 +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
aced0b1ad6
Fix doc of Function.getter for AR
...
review641002
2013-01-26 15:10:22 +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
3563cefecb
Fix on_change method signature for AR
...
issue2929
2012-12-15 22:28:08 +01:00
Cédric Krier
c1fd506f77
Add global search
...
review582002
2012-12-05 13:25:18 +01:00
Cédric Krier
4337ce2776
Add pre-validation
...
review536002
2012-09-29 14:39:59 +02:00
Cédric Krier
0fe1b93864
Active Record
2012-09-24 22:16:53 +02:00
Cédric Krier
4dcb7b6dd3
Merge all kind of buttons
...
review483002
2012-09-10 15:26:34 +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
6cbd42c37b
Fix typo in doc
2012-08-23 14:02:36 +02:00
Cédric Krier
507358c4e8
Allow to use tuple for Reference
...
review437001
2012-07-25 21:01:29 +02:00
Cédric Krier
d792ae61b2
merge
2012-06-24 15:24:37 +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
Pierre-Louis Bonicoli
cdd2cd6ecf
Add documentation for Model.default_<field name>
...
issue2594
review367001
2012-06-20 16:15:22 +02:00
Cédric Krier
1aae951f92
Allow to use Reference field in One2Many & Many2Many
...
review378002
2012-06-08 19:27:19 +02:00