Cédric Krier
0fe1b93864
Active Record
2012-09-24 22:16:53 +02:00
Cédric Krier
b99bb170c6
Fix read related values of reference fields
...
By using just only the id to store the related values, it could result a mixing
of different model with the same id. So now, it uses the reference value.
2012-09-24 11:36:39 +02:00
Nicolas Évrard
c151646644
merge.
2012-09-21 16:04:02 +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
4dcb7b6dd3
Merge all kind of buttons
...
review483002
2012-09-10 15:26:34 +02:00
Cédric Krier
ae5d192d2a
merge
2012-08-29 23:43:07 +02:00
Cédric Krier
f5068bec10
Set default loading of Char depending on translate
...
review473002
2012-08-27 09:49:47 +02:00
Pierre-Louis Bonicoli
9967b197f1
sql query: don't add another 'id' column when it's already here
...
issue2758
review484003
2012-08-24 17:29:29 +02:00
Cédric Krier
4dc94980b1
NULL value for boolean fields should be considered like False
...
issue2755
review476002
2012-08-23 23:17:15 +02:00
Cédric Krier
507358c4e8
Allow to use tuple for Reference
...
review437001
2012-07-25 21:01:29 +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
2188fc3c6c
An empty string is not a valid required value
...
review411001
2012-06-28 15:19:21 +02:00
Cédric Krier
234c3aa403
Fix comparison of BrowseRecord when other is not a BrowseRecord
...
review395002
2012-06-28 14:59:53 +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
97fc27a825
Factorize the required test
...
issue2587
review370001
2012-06-13 23:24:47 +02:00
Cédric Krier
49aabfc610
Allow state change inside Workflow.transition
...
review361001
2012-06-08 22:35:04 +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
e4dd1a25d0
Remove hexmd5 from ModelView.fields_view_get
...
review366001
2012-06-08 19:04:41 +02:00
Cédric Krier
b33288c141
Allow client to manage model access
...
review346001
2012-05-19 15:47:43 +02:00
Cédric Krier
94d45d8755
Fix table selection in search on inherited field
2012-05-19 15:28:12 +02:00
Emmanuelle Delescolle
6cd2e51aa3
Multi-level inherits search fix
...
Trytond now looks at the whole inherits hierarchy for fields when creating
search domain on ModelSQL objects instead of just looking at the direct parent.
issue1860
review369001
2012-05-16 15:48:00 +02:00
Cédric Krier
3ebda5c8ee
Add time format validation
...
review342002
2012-05-16 13:04:36 +02:00
Cédric Krier
3a42c2ef49
Remove ModelSQL.default_sequence
...
review348001
2012-05-14 15:34:53 +02:00
Cédric Krier
0485538910
Add relation fields to auto-generated view
...
review368001
2012-05-14 15:27:06 +02:00
Cédric Krier
b0e8bc0081
Add missing quote on order field
...
review340005
2012-05-12 16:50:11 +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
04a5c76902
Fix nested order_calc tables_args manipulation
...
issue2572
review340003
2012-05-05 09:28:41 +02:00
Cédric Krier
8b77ba7d88
Missing quote arround table name in order clause
2012-04-25 17:50:01 +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
1a5b2aacd7
Fix usage of None in "in" clause
2012-04-12 17:51:50 +02:00
Cédric Krier
7a356c8197
Remove unused code
2012-04-09 17:48:28 +02:00
Cédric Krier
f90818931c
Remove hack for MPTT default values, left/right must have a default to 0
...
review315001
2012-04-02 11:38:46 +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
d059ebb792
Don't allow rpc call on ModelStorage without ModelView
...
CVE-2012-0215
issue2476
review303001
2012-03-28 19:02:41 +02:00
Cédric Krier
be0e5c54a9
Simplify workflow engine
...
- Remove workflow module
- Add ir.model.button for access rights
review256001
2012-03-25 00:15:17 +01:00
Cédric Krier
e403cae912
Fix import_data to always have a boolean value for boolean fields
2012-03-24 09:36:46 +01: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
Cédric Krier
27f8cd68db
Fix field access for inherited Models
...
Use root user to create/write inherited records and check access fields in the
base record.
issue2333
review289002
2012-03-20 19:01:14 +01: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
af6e212aa5
Add missing sql_format in "like" clauses
...
issue2478
review270002
2012-03-05 11:45:51 +01:00
Nicolas Évrard
61521a0f7b
Do not search for deleted history records
...
review250003
2012-03-04 16:07:16 +01:00
Cédric Krier
b81d596e1f
Add missing space before AS
...
issue2345
2012-03-03 12:25:27 +01:00
Cédric Krier
585ca06b1d
Keep the mode of the field even if view_ids are defined
...
We must have a full mode list otherwise the client skip the missing when
switching view.
2012-03-01 17:07:05 +01:00
Cédric Krier
641681523f
No need to use keys() to check if rec_name is in _inherit_fields
2012-03-01 10:32:02 +01:00
Cédric Krier
a4066f6ce5
Make search_rec_name doesn't fail if _rec_name doesn't exist
...
issue2191
review247002
2012-03-01 10:31:28 +01:00