Commit Graph
88 Commits
Author SHA1 Message Date
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 b4e1aac225 delete takes a list of instances 2013-04-17 19:43:52 +02:00
Cédric Krier 85d8c9e4bc Fix wrong import from PyWebDAV >= 0.9.8 2013-04-17 19:43:19 +02:00
Cédric Krier 28b25eb2e5 Fix get_data to return str instead of buffer 2013-04-17 19:42:39 +02:00
Cédric Krier bbd792937c Fix object_name comparison to ir.attachment
issue3130
2013-04-11 14:48:12 +02: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 5e01f5c068 Fix flake8 2013-02-27 22:50:31 +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 c43e19c3eb Fix naming collision in get_shares 2012-10-06 15:04:01 +02:00
Cédric Krier eb710faa4e Fix resource usage in webdav
Reference fields values are instance instead of strings

issue2810
2012-10-06 15:03:35 +02:00
Udo Spallek 93c7fdd2a4 Encode url parts to utf-8
issue2763
review502002
2012-10-05 06:30:52 +00:00
Cédric Krier 0fe1b93864 Active Record 2012-09-24 22:16:53 +02:00
Albert Cervera i Areny 0a6334b020 Remove duplicate 'name' entry on attachment creation.
issue2574
review340002
2012-04-29 13:19:52 +02:00
Cédric Krier ee3be37a36 Fix pep8 and pyflakes 2012-04-01 23:08:15 +02:00
Cédric Krier e7b1f97390 Replace wrong usage of False by None
issue2512
2012-03-27 10:41:40 +02:00
Cédric Krier 25e3621e9d Test if attachment has path before using it to construct the URL 2012-03-27 10:26:42 +02:00
Cédric Krier 8c36f59b86 Add support for shared WebDAV
review207003
2012-03-25 19:12:02 +02:00
Mathias Behrle ab54a71984 Change select=1|2 to select=True
issue2305
review269003
2012-03-05 10:54:32 +01:00
Nicolas Évrard 0a471486e0 correct pyflake errors
review164003
2011-11-02 15:49:38 +01: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
Cédric Krier 550aae8351 Change Pool into a Singleton
review42001
2011-07-03 13:20:58 +02:00
Cédric Krier 2ac833dc0a Add type, last user and last modification on ir.attachment
Rename datas into data on ir.attachment
Improve attachment views
2011-03-21 18:19:42 +01:00
Udo Spallek d79606153a Fix import for transaction for issue1883 2011-03-01 23:35:20 +01:00
Cédric Krier df1fd283ac New transaction management
Remove cursor, user and context from methods and use Transaction instead
2010-08-19 22:01:12 +02:00
Cédric Krier 483afed26a Catch only Exception according to PEP 352 2010-07-08 19:53:39 +02:00
Cédric Krier 62a3cdbd07 Convert str id into int 2010-06-01 20:21:01 +02:00
Cédric Krier 57cf3835eb Use a Reference field on ir.attachment to store resource informations
Improve the ir.attachment views to be usable on the client side
2010-03-23 10:58:24 +01:00
Cédric Krier e67d02a97f Handle displayname on webdav.collection 2009-11-10 16:04:05 +01:00
Cédric Krier bc69da34f7 Handle current-user-privilege-set on webdav.collection 2009-11-10 15:53:05 +01:00
Cédric Krier 5060aa16de Fix base64 encodeing if data is None or False for issue1272 2009-11-03 21:22:11 +01:00
Cédric Krier b427d21224 Add new tool safe_eval 2009-09-28 11:21:11 +02:00
Cédric Krier 1259ee9668 Add new tool reduce_ids 2009-09-08 13:03:57 +02:00
Cédric Krier 8061d6c204 Faster implementation of sub_ids '%s' 2009-08-26 14:09:31 +02:00
Cédric Krier 09bfd64387 Remove unuseful size constraints 2009-07-05 17:17:12 +02:00
Cédric Krier e9b6f88506 Update webdav to work with pywebdav 0.9.3 2009-07-02 19:37:02 +02:00
Cédric Krier d37ba1d82e Fix code to use pywebdav 0.9.2 2009-05-12 15:39:54 +02:00
Cédric Krier 9a1a976ed0 Use date only for attachment 2009-05-02 15:15:24 +02:00
Cédric Krier 732e6020da Fill cache with _collection_name as soon as possible 2009-05-02 15:14:59 +02:00
Cédric Krier 6a99bb9ca1 Use IN_MAX for query in get_creationdat and get_lastmodified 2009-05-02 15:14:16 +02:00
Cédric Krier 35f206d1ad Add missing cache initialisation 2009-05-02 15:13:05 +02:00
Cédric Krier 782bea734d Fix _uri2object when there is more than one attachment on the same record
Fix uninitialized variables
2009-05-01 16:07:30 +02:00
Cédric Krier e04f32e815 Fix lastmodified to use create_date if write_date is NULL 2009-04-30 17:38:39 +02:00
Bertrand Chenal 2d40d7350b Change output_format (One2Many) to extension (Selection) on ir.action.report.
This will ease future addition of new report extension.
2009-04-16 23:22:42 +02:00
Bertrand Chenal b6bfa3f030 French translation updated 2009-04-09 14:49:34 +02:00
Cédric Krier d63ba876cc Limit ondelete to 'CASCADE', 'RESTRICT' and 'SET NULL'
Change ondelete to upper case
2009-04-07 18:20:25 +02:00
Cédric Krier 5f93f1583c Fix spell 2009-03-23 14:56:36 +01:00
Bertrand Chenal 6cfeab5e9a Typo: childs > children 2009-03-19 19:25:35 +01:00
Cédric Krier c9992e11d2 Remove OSV and WizardOSV and move Cacheable into model 2009-02-28 16:56:54 +01:00
Cédric Krier 66f0ada474 Allow to use related fields (many2one and reference) in read
Use rec_name function field instead of name_get and name_search
Remove get function on many2one field
Don't put record name in reference field
Handle rec_name in default_get so default value for many2one are now only id
2009-02-17 11:40:31 +01:00
Cédric Krier b75d10cd20 Use a new pool for object
Move workflow method in ModelWorkflow
Move workflow service in workflow module
Remove Service and LocalService
Remove web_service and use a dispatcher in protocols
New netrpc/xmlrpc syntax to be easier to introspect
2009-02-11 14:52:22 +01:00