Cédric Krier
66e77d8ae6
Replace nested view by reference id
...
issue2401
review226004
2012-01-31 23:26:48 +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
537288cef7
Add cache on view_toolbar_get and get_keyword
...
review224003
2012-01-22 00:00:57 +01:00
Cédric Krier
54e3189fb6
Keep traceback as str as we don't know the encoding
...
issue2302
review225001
2012-01-17 13:54:08 +01:00
Cédric Krier
3007ef260b
Reset columns and update rpc for inherting models
...
review206008
2012-01-11 01:22:32 +01:00
Max Holtzberg
250e37f88c
Passing false to SQL query on property field search as parameter
...
issue2351
review206002
2011-12-28 16:03:31 +01:00
Cédric Krier
ad17611e3e
Remove change_default on fields
...
issue2249
review211002
2011-12-22 22:03:15 +01:00
Nicolas Évrard
6ba18631e8
Use relative imports
2011-12-14 17:00:13 +01:00
Cédric Krier
182e66f9de
Fix corruption of _local_data cache when switching language
...
issue2233
review181001
2011-11-21 22:09:52 +01:00
Nicolas Évrard
0a471486e0
correct pyflake errors
...
review164003
2011-11-02 15:49:38 +01:00
Nicolas Évrard
ccad89cea9
Add exception to except clause
2011-10-28 10:18:58 +02:00
Cédric Krier
8ef837eb25
Ensure to always have the field name in the dictionary definition
2011-10-20 12:58:02 +02:00
Pierre-Louis Bonicoli
03c968d5ce
add missing field name 'lang'
...
Fix NotSupportedError exception which appears when searching fields by
description:
NotSupportedError: input of anonymous composite types is not implemented
"LINE 1: ...ND ir_translation.res_id = 0 AND ir_translation = E'en_US' A..."
issue2210
review158001
2011-10-19 04:56:08 +02:00
Nicolas Évrard
bfb65a974c
Fix wrong indentation
2011-10-05 18:29:55 +02:00
Nicolas Évrard
ebe9e3faed
Search on Many2One fields include inactive records
...
review127001
2011-10-03 15:37:55 +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
Cédric Krier
0f025ba79d
Remove relation fields from view if no read access to the target Model
...
review125003
2011-09-30 17:07:59 +02:00
Cédric Krier
6d3da1ce94
Update Reference fields from 0 to -1
...
review116001
2011-09-21 12:25:04 +02:00
Cédric Krier
4f4c4b92ad
Allow to use negative id in reference as unknown record
2011-09-20 15:40:48 +02:00
Cédric Krier
48ec29ab70
Reference id could be 0
2011-09-20 14:43:17 +02:00
Cédric Krier
a33981ddc3
default_get in create should not override existing values
...
review112001
2011-09-20 12:53:25 +02:00
Cédric Krier
fefd67c3a5
Improve Binary fields
...
* Support size format in context for Binary fields
* Use buffer for Binary fields
* No more store Binary fields in base64
review74006
2011-09-17 14:43:05 +02:00
Nicolas Évrard
470c1f9d5d
Correctly compute if argument is a condition
...
review100001
2011-09-06 12:00:15 +02:00
Cédric Krier
1a84c04adf
Rational exceptions
...
review94001
2011-09-05 20:30:26 +02:00
Cédric Krier
8d8b11c13c
Fix typo in "add datetime_field" and iter on values intead of keys
2011-09-02 17:53:10 +02:00
Cédric Krier
61ca0dd92c
Don't try to detect rounding issue with MySQL
...
review74005
2011-08-27 16:04:36 +02:00
Cédric Krier
7e223fe1cc
Don't store BrowseRecord in cursor cache
...
review93001
2011-08-27 16:03:12 +02:00
Cédric Krier
0f3ba1f69f
Use RETURNING in INSERT if available
...
review21003
2011-08-21 10:20:23 +02:00
Cédric Krier
b24095ec3d
Fix export row with inherited fields
...
issue2102
2011-08-02 13:30:43 +02:00
Cédric Krier
5f3b457974
merge
2011-07-20 19:10:41 +02:00
Cédric Krier
79dd6c4e5a
Fix for new Pool singleton
2011-07-20 19:09:44 +02:00
Nicolas Évrard
3ad685e892
Add function to get object base URL
2011-07-20 19:04:52 +02:00
Nicolas Évrard
4293af5cef
merge.
2011-07-20 18:38:11 +02:00
Nicolas Évrard
2f8c6a48d1
Use new fields_view_get signature
...
review44001
2011-07-20 18:34:11 +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
884863b48d
Remove unnecessary test
2011-07-06 17:58:37 +02:00
Cédric Krier
566351406d
Add missing double quote on JOIN for field name
...
review48006
2011-07-06 13:53:28 +02:00
Cédric Krier
550aae8351
Change Pool into a Singleton
...
review42001
2011-07-03 13:20:58 +02:00
Cédric Krier
33d0ffbc82
Use rec_name instead of value of _rec_name when searching on Many2One
...
issue2079
2011-06-24 16:10:31 +02:00
Cédric Krier
b0611ac784
Fix index computation to select ids in BrowseRecord
...
review48001
2011-06-22 20:49:32 +02:00
Cédric Krier
881d74623a
Remove "return True" testing code
2011-06-22 20:48:54 +02:00
Cédric Krier
c6f31b3bc0
Better error message in order
...
Give the name of the Model on which the order failed
2011-06-15 11:39:20 +02:00
Nicolas Évrard
81faae9373
Preserve order of Many2Many.get
...
review40005
2011-06-14 18:29:08 +02:00
Cédric Krier
587567077f
Add LRUDict to use as cache
...
issue2033
review31005
2011-06-14 11:44:26 +02:00
Cédric Krier
73ef7801f2
Add threshold on number of fields prefetched
...
issue1889
review34004
2011-06-06 17:15:17 +02:00
Cédric Krier
175fb9cd0f
Get default value for inherited field only if there is a default method for issue2027
2011-05-31 10:49:38 +02:00
Bertrand Chenal
183d0047f9
Missing whitespace in sql query
2011-04-25 23:50:54 +02:00
Cédric Krier
f9e158b74c
Manage _timestamp when reading Singleton that has not yet a record
2011-04-20 14:27:52 +02:00
Cédric Krier
58dc14ff84
Use a set for field internally read but to be deleted for issue1950
2011-04-18 13:02:05 +02:00