Cédric Krier
f72b983c0f
Check relation access in fields_get and for default fields in read
...
issue3750
review4261002
2014-03-15 11:01:14 +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
729aaa8a00
Better guess "selection_change_with" attribute
...
Testing on the instance for Selection field is not enough because some field
selection could come from a Function field.
So it is better to use a duck typing style in this case.
issue3649
review3451002
2014-02-14 00:04:31 +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
3f5dba2235
Add relation_field for many2one
...
issue3173
review1201002
2013-10-27 19:31:36 +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
58c81ee328
Add rich comparison methods on Model
...
review1027002
2013-08-21 18:02:30 +02:00
Cédric Krier
56fc82d954
Set correct instanciate for selection_change_with
...
issue3223
review886002
2013-06-01 00:10:30 +02:00
Cédric Krier
8710f2fd99
Fix Pool.setup to re-allow extra_depends behavior
...
review898002
2013-05-27 18:47:00 +02:00
Jean CAVALLO
25fea393a8
Fix model.fields_get for Function(Dict) fields
...
issue3147
review792002
2013-04-16 15:58:03 +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
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
Cédric Krier
8e248e9922
Fix wrong access check read -> write
...
Typo introduced in changeset cc8493263998
2013-01-21 12:46:24 +01:00
Cédric Krier
cf0636e095
Add ModelFieldAccess.get_access
...
review598002
2012-11-28 22:42:51 +01:00
Cédric Krier
b57f044ba8
Fix pep8 and pyflakes
2012-10-19 12:29:05 +02:00
Bertrand Chenal
2a97cd8017
Fix model name when the docstring starts with an empty line
...
review565002
2012-10-16 18:26:37 +02: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
Nicolas Évrard
a06af6f557
use None instead of False as default value
...
review351003
2012-09-21 16:03:48 +02:00
Cédric Krier
9d0d689b67
Add create/delete field access
...
review398002
2012-06-28 14:46:47 +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
b33288c141
Allow client to manage model access
...
review346001
2012-05-19 15:47:43 +02:00
Cédric Krier
3ebda5c8ee
Add time format validation
...
review342002
2012-05-16 13:04:36 +02:00
Cédric Krier
0ed77b30e2
Activate search on xxx2many fields
2012-04-25 13:11:02 +02:00
Cédric Krier
621ef764b1
Still search for res_id = 0 for model description translation
...
The translation of model description is loaded at early stage before the
migration of ir.translation.
2012-04-14 21:49:50 +02:00
Cédric Krier
e41d330541
Fix model description translation
...
res_id is null now instead of 0
2012-04-14 13:37:40 +02:00
Cédric Krier
ee3be37a36
Fix pep8 and pyflakes
2012-04-01 23:08:15 +02:00
Nicolas Évrard
184b4bcd91
resetting columns should also reset defaults
...
review290001
2012-03-29 12:19:43 +02:00
Cédric Krier
d6c0ad5e6c
Remove xxx2many clean cache
...
Since xxx2many are no more stored in the cursor cache, it is no more needed to
clean it.
review285001
2012-03-16 10:54:48 +01:00
Cédric Krier
6e88e99aae
Add grouped calls to on_change_with
...
review251001
2012-03-05 23:39:58 +01:00
Cédric Krier
a94ceb4321
Add default database language code
...
The configuration option defines which translated value will be stored in the
main field.
The methods of ir.translation which were already publicly used are now public.
Setting the main translation mark translations of other languages fuzzy.
review198001
2012-01-27 21:11:06 +01:00
Cédric Krier
c0bb74366b
Let's translate create and write fields
...
issue2278
review176002
2012-01-27 00:31:24 +01:00
Cédric Krier
3007ef260b
Reset columns and update rpc for inherting models
...
review206008
2012-01-11 01:22:32 +01:00
Cédric Krier
ad17611e3e
Remove change_default on fields
...
issue2249
review211002
2011-12-22 22:03:15 +01:00
Cédric Krier
8ef837eb25
Ensure to always have the field name in the dictionary definition
2011-10-20 12:58:02 +02: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
Nicolas Évrard
3ad685e892
Add function to get object base URL
2011-07-20 19:04:52 +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
Cédric Krier
54e6a8c2fe
Use md5 hash for indexing translation for issue1898
2011-04-09 12:36:01 +02:00
Nicolas Évrard
792410f277
Added autocompletion on fields.Char
2011-03-30 17:20:31 +02:00
Cédric Krier
2fad5e05de
Remove ir.default
2011-03-30 14:13:35 +02:00
Nicolas Évrard
6be61ac243
Transmit name of missing attribute
2011-03-28 13:36:45 +02:00
Cédric Krier
2d0d765b9d
Test if attribute is callable before added as default method for issue1895
2011-03-15 10:48:38 +01:00
Nicolas Évrard
1766b36764
Add warning to wizards
2011-03-08 18:44:35 +01:00
Nicolas Évrard
7b62b8465e
Added support for file name to BinaryField
2011-02-16 17:50:09 +01:00
Cédric Krier
2b4098f1d2
Add model field access
2011-01-22 23:56:13 +01:00