Commit Graph

724 Commits

Author SHA1 Message Date
Olivier Dony 497518057d [FIX] orm: fix search() with sorting by inherited field
Also did some cleanup and renaming of variables for readability.

bzr revid: odo@openerp.com-20100809125917-44a48fef7jn081x3
2010-08-09 14:59:17 +02:00
Olivier Dony 5fe9188615 [FIX] osv_memory: fixed access rights for osv_memory: a user always has full access, but only to her own records, except the superuser
bzr revid: odo@openerp.com-20100805181458-gaq8f8rbp0xwyoy9
2010-08-05 20:14:58 +02:00
Julien Thewys 6eff548f0b [FIX] Fixed previous fix: where clause might be empty.
bzr revid: jth@openerp.com-20100804155117-gazy6gibbyk01wqz
2010-08-04 17:51:17 +02:00
Julien Thewys b6823a7378 [FIX] Where clause with one element was not properly serialized.
Guideline: please don't modify the type of a variable within its scope, create a new variable instead.

bzr revid: jth@openerp.com-20100804153707-9wolx4of6ymjl5pq
2010-08-04 17:37:07 +02:00
Olivier Dony f682ecd4f9 [IMP] orm: docstring improvements: fixed incorrect RST indentation + improved doc a bit + some cleanup
bzr revid: odo@openerp.com-20100803173825-eixbk1sp2d78i4g8
2010-08-03 19:38:25 +02:00
Jay (Open ERP) b29d4306c0 [FIX] Previous commit corrected
bzr revid: jvo@tinyerp.com-20100729173958-4eoucw31qitl3lxw
2010-07-29 23:09:58 +05:30
Jay (Open ERP) a828eea725 [FIX] Sorting : Server side sorting should allow fields of _inherits
lp bug: https://launchpad.net/bugs/603900 fixed

bzr revid: jvo@tinyerp.com-20100729130451-wie19hlk21ltfxu4
2010-07-29 18:34:51 +05:30
nch@tinyerp.com 5023186293 [FIX]:*_view_ref should execute only if there is no view_id provided
bzr revid: nch@tinyerp.com-20100721133727-6kmwn65grzjrc4ig
2010-07-21 19:07:27 +05:30
Jay (Open ERP) 51ebb43210 [FIX] ORM.read() : property of type binary should not crash due to quotes
bzr revid: jvo@tinyerp.com-20100714192056-q1ygezb8c7gna2dh
2010-07-15 00:50:56 +05:30
Olivier Dony 472693f703 [IMP] orm.read(): properly support ir.rules using fields inherited from _inherits + cleanup
bzr revid: odo@openerp.com-20100713131631-w1dvsbcm8a78d5dc
2010-07-13 15:16:31 +02:00
Olivier Dony a967c6e21f [IMP] orm.fields_get: renamed read_access parameter to write_access, reflecting its real usage. Also cleaned up some mess leftover by commit 1338 in orm.field_get_keys() + other cleanup
bzr revid: odo@openerp.com-20100712141513-akwx4gcujoboia1y
2010-07-12 16:15:13 +02:00
nch@tinyerp.com e80e8d7d3c [IMP]:Object Information, on tooltip should be visible if client started in debug mode.
it should display:
* char - size, name
* one2many - related object and field name
* any2many - related object, 3rd table, and both related columns
* many2one - related object
* function - Store, type, callable function (search, compute)
* etc...

bzr revid: nch@tinyerp.com-20100708133153-g1fbn3idev3tkx4b
2010-07-08 19:01:53 +05:30
Fabien Pinckaers b9f86b3de2 [IMP] removed price_accuracy options
bzr revid: fp@tinyerp.com-20100704125727-nywaqszkgyft233z
2010-07-04 14:57:27 +02:00
Olivier Dony 594338f9df [FIX] osv_memory: vaccuum as superuser
bzr revid: odo@openerp.com-20100702165328-aywvyubsu6pczf75
2010-07-02 18:53:28 +02:00
nch@tinyerp.com 506cd4a2af [FIX]:<type 'exceptions.TypeError'>:cannot marshal None unless allow_none is enabled
bzr revid: nch@tinyerp.com-20100629060033-5sqy9a2bximjofdz
2010-06-29 11:30:33 +05:30
Fabien Pinckaers 5e17f915dd [IMP] automated migration
bzr revid: fp@tinyerp.com-20100628175637-2ymrhowinjyqql0e
2010-06-28 19:56:37 +02:00
Fabien Pinckaers 992d24a69e fix
bzr revid: fp@tinyerp.com-20100628162627-eqekwvhu8234kl4i
2010-06-28 18:26:27 +02:00
qdp-launchpad@tinyerp.com c4da7a2c7c [FIX] osv_memory objects have to receive a default value for each existing field, not only the ones that are not readonly
bzr revid: qdp-launchpad@tinyerp.com-20100628120010-kk2b7v94om0kpam1
2010-06-28 14:00:10 +02:00
nch@tinyerp.com 7f3254ab27 [FIX]:groupby many2one passed tuple(ID,value) instead of value
bzr revid: nch@tinyerp.com-20100628061425-qcbithsh53kjwgfd
2010-06-28 11:44:25 +05:30
Fabien Pinckaers 9584b1b468 [FIX] ir_rule
bzr revid: fp@tinyerp.com-20100625210850-wv0gf7alwc8b1yqz
2010-06-25 23:08:50 +02:00
Fabien Pinckaers fd7f773827 merge
bzr revid: fp@tinyerp.com-20100625092256-na0ckfu8znn2g55p
2010-06-25 11:22:56 +02:00
Olivier Dony 09297baccf [IMP] osv_memory: disabled regular ir_model_access access rights and switched to per-user access only. also did some cleanup
bzr revid: odo@openerp.com-20100624155602-noiat5i91uyeyy5t
2010-06-24 17:56:02 +02:00
vra 7ed648ce88 [MERGE] merge the changes from main trunk branch.
bzr revid: vra@tinyerp.com-20100624084539-ne1e1tscqn1z3jw5
bzr revid: vra@tinyerp.com-20100624084650-svala4jb0dnf7aal
2010-06-24 14:16:50 +05:30
Olivier Dony 77264e3ba7 [FIX] orm: correct computation of parent_store for specific cases with duplicate/copy()
bzr revid: odo@openerp.com-20100623151535-hsqhjzmkgrr1q87t
2010-06-23 17:15:35 +02:00
Olivier Dony, Jay Vora 39e866ce70 [FIX] orm: proper recursive copy of translations through one2many relationships during copy()
lp bug: https://launchpad.net/bugs/524424 fixed

bzr revid: odo@openerp.com-20100623151439-evc74f1a3so382z0
2010-06-23 17:14:39 +02:00
Borja López Soilán (Pexego) 86b55a1b3e [MERGE] orm: port of 5.0 fix for parent_store computation when previous parent is NULL
lp bug: https://launchpad.net/bugs/581137 fixed

bzr revid: odo@openerp.com-20100622155719-a6g6udc6p2s6cp0v
2010-06-22 17:57:19 +02:00
vra 1cf10a7daa [FIX][IMP] SQL-Injection ,minor improvement.
bzr revid: vra@tinyerp.com-20100618140537-mjbviu7sxxwn83x8
2010-06-18 19:35:37 +05:30
Anup (OpenERP) e0d94956c1 [IMP] SQL injection Refactored
bzr revid: ach@tinyerp.com-20100618101641-84cdea9n1pzx36v2
2010-06-18 15:46:41 +05:30
Anup (OpenERP) 253c7786a3 [MERGE] Merged from the main trunk server
bzr revid: ach@tinyerp.com-20100615133947-xmf38gf47ljnb00l
bzr revid: ach@tinyerp.com-20100616112927-8ecwh6n270tkp6gp
bzr revid: ach@tinyerp.com-20100618093614-7wtc8cw3korg3280
2010-06-18 15:06:14 +05:30
Antony Lesuisse a63aee23ee improve write to many2many documentation
bzr revid: al@openerp.com-20100616175837-jzjkc5gy6c0on7fa
2010-06-16 19:58:37 +02:00
Fabien Pinckaers ebb2a2b364 bugfix
bzr revid: fp@tinyerp.com-20100616113427-3xzh1hn1xho0ieus
2010-06-16 13:34:27 +02:00
Anup (OpenERP) 6b90ca82c5 [IMP] removed the possible SQL injection server.
bzr revid: ach@tinyerp.com-20100615132722-zbua6ciz3dz43qd8
2010-06-15 18:57:22 +05:30
nch@tinyerp.com 3028443022 [FIX]:print screen report for group_by_no_leaf and group_by method date formatting when group_by_no_leaf in context should pass date domain in full
bzr revid: nch@tinyerp.com-20100615130452-qlckqpnw0eqfh48o
2010-06-15 18:34:52 +05:30
Fabien Pinckaers 211d9c1d79 fix
bzr revid: fp@tinyerp.com-20100612215945-06lxwldfydl8djkj
2010-06-12 23:59:45 +02:00
Stephane Wirtel cb04fd589e [MERGE] lp:~stephane-openerp/openobject-server/call_method_inherits_objects
bzr revid: stephane@openerp.com-20100611133255-o3891oty6nra3l24
2010-06-11 15:32:55 +02:00
Fabien Pinckaers 85cebae10a [FIX] store fields
bzr revid: fp@tinyerp.com-20100610202914-tb3g1hi3hrpic21y
2010-06-10 22:29:14 +02:00
Stephane Wirtel 3aca2aea6b [FIX] Add the docstring for the __getattr__ method in the ORM
[IMP] If the object has a non-callable attribute, just return it

bzr revid: stephane@openerp.com-20100609154330-ulwlthtqfcnexkdt
2010-06-09 17:43:30 +02:00
Stephane Wirtel 03bdb06026 [FIX] Allow to call the methods defined in the _inherits objects
bzr revid: stephane@openerp.com-20100609140802-ln5p45v1437obdkc
2010-06-09 16:08:02 +02:00
Olivier Dony 0961c0f5cd [ADD] safe_eval: final round of adjustments, seems stable AFAICT (please be careful if you notice any error due to it - contact me if on doubt on how to fix properly)
bzr revid: odo@openerp.com-20100604003940-e32elbetzxop8c3b
2010-06-04 02:39:40 +02:00
Olivier Dony b020dc8363 [IMP] work-in-progress: initial version of safe_eval implementation -- still need fixing
bzr revid: odo@openerp.com-20100503234953-qgbk64bmir95jvzd
2010-05-04 00:49:53 +01:00
Xavier Morel 50e605771f [FIX] imports in orm, remove unneeded imports and pointlessly (and incorrectly) defensive garbage
bzr revid: xmo@openerp.com-20100527075350-5m1eaajzoshprxx8
2010-05-27 09:53:50 +02:00
olt@tinyerp.com 3f71dc76c6 [FIX] orm: raise NotImplementedError instead of strings
bzr revid: olt@tinyerp.com-20100527061830-jlc6xwh12gec82ym
2010-05-27 08:18:30 +02:00
olt@tinyerp.com b04e81c95e [FIX] orm: raise NotImplementedError instead of strings
bzr revid: olt@tinyerp.com-20100527061245-u34xdr1she27xbbk
2010-05-27 08:12:45 +02:00
Olivier Dony a6d7630bac [ADD] osv.osv, base: added generic xml_id getter + added xml_id to views on ir.ui.views + minor fine-tuning of admin views
bzr revid: odo@openerp.com-20100526230409-s88mp2gma1li8n9t
2010-05-27 01:04:09 +02:00
Anup (OpenERP) 67277f6f3d [MERGE] Merged from the main trunk server branch.
bzr revid: ach@tinyerp.com-20100520050727-zdkp6mp65kmfm66o
2010-05-20 10:37:27 +05:30
Fabien Pinckaers a527812316 [FIX] Improve logging system
bzr revid: fp@tinyerp.com-20100519200214-rvl5gnb02a6utpau
2010-05-19 22:02:14 +02:00
Fabien Pinckaers fd6eb4e4dd [IMP] logs background activities
bzr revid: fp@tinyerp.com-20100519183210-vyo63jvfs22mpxhg
2010-05-19 20:32:10 +02:00
Quentin De Paoli 60234cf878 [IMP] improved constraints: can now pass a callable message function instead of hardcoded message
bzr revid: odo@openerp.com-20100518170023-h6t203f3ik8j46vq
2010-05-18 19:00:23 +02:00
Christophe Simonis e54441409e [IMP] orm: allow import and record creation to defer the computation of parent_left/right,[IMP] orm: do not update parent_left/right if the parent haven't been changed
bzr revid: jvo@tinyerp.com-20100514091143-sl731yzxbw12c058
2010-05-14 14:41:43 +05:30
Anup (OpenERP) 9f1015621b [FIX] Export : Correction made when selection field value if False.
bzr revid: ach@tinyerp.com-20100513090241-6gyslly3fleii1tf
2010-05-13 14:32:41 +05:30