Cédric Krier
4d58b3a720
Don't remove from context the format of Binary fields
...
The getter of the Binary field could be called many times in the same
transaction, so popping out the format from the context create a side effect
that changes the requested format.
issue3774
review19981002
2016-03-05 17:26:27 +01:00
Cédric Krier
493db9aa18
Instance method can also be used as selection method
...
review24691002
2016-01-13 21:25:26 +01:00
Sergi Almacellas Abellana
2a723f2e52
Only rebuild mptt tree if needed
...
The tree will be only rebuild if a record with the default value of left or right fields exists.
issue5118
review16921002
2016-01-11 15:33:08 +01:00
Cédric Krier
b5479332d9
Use instance context in translated descriptor of Selection field
...
It is more expected from the translated descriptor to return translation in the
language from the instance instead of the current context.
issue5028
review15701002
2015-11-03 12:20:49 +01:00
Cédric Krier
0c4725b891
Add target_search option on Many2One
...
The option allow to select between the subquery or the join format for target
search clause.
issue4798
review16341002
2015-06-15 01:10:59 +02:00
Cédric Krier
e406368f2e
Fix autocomplete documentation
...
autocomplete doesn't take a values argument anymore.
2015-03-23 15:05:12 +01:00
Cédric Krier
5cfde31ed2
Use bytes and bytearray for Binary
...
issue4637
review11091002
2015-03-16 19:28:34 +01:00
Cédric Krier
b1aaab4283
Fix spacing in fields.TimeDelta documenation
2015-03-11 09:12:19 +01:00
Cédric Krier
0991a552de
Add TimeDelta field
...
And remove float_time widget.
issue4026
review5911002
2015-02-09 22:58:56 +01:00
Cédric Krier
91cb6d2058
Add documentation about storage and display of DateTime
2015-01-06 16:33:54 +01:00
Cédric Krier
e8b10770e0
Fix documentation for new API of on_change
...
issue4203
review6741002
2014-12-04 17:17:01 +01:00
Cédric Krier
b379e32745
Add translated descriptor for Dict field
...
issue4343
review11641002
2014-11-27 22:20:43 +01:00
Cédric Krier
16aa948e3d
Add support for domain_<field name> method
...
issue4126
review6501002
2014-09-13 15:14:56 +02: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
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
88bd235c3d
Fix documentation warnings
2014-04-17 17:40:50 +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
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
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
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
Laurent Defert
33ba5ee26c
Documentation update about Binary's filenames attributes
...
issue3321
review998002
2013-08-19 11:06:20 +02: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
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
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
Cédric Krier
3ebda5c8ee
Add time format validation
...
review342002
2012-05-16 13:04:36 +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
Ian Wilson
a98d2a147f
Fix documentation build errors.
...
Shorten attribute to attr, shorten method to meth and fix Fields typo.
issue2042
review40004
2011-06-05 19:44:09 -07:00
Nicolas Évrard
792410f277
Added autocompletion on fields.Char
2011-03-30 17:20:31 +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
0d1c43b6ed
Add One2One field
2010-12-03 18:01:46 +01:00