Commit Graph

275 Commits

Author SHA1 Message Date
Quentin (OpenERP) 760471863a [FIX] fields.py: reading and writing on ir.property fields
bzr revid: qdp-launchpad@openerp.com-20110707140359-mxj1or10gzvde3te
2011-07-07 16:03:59 +02:00
Quentin (OpenERP) 1e57f21cb7 [IMP] openerp/osv/fields.py: reading a property field is now using the function get() of ir.property object.
bzr revid: qdp-launchpad@openerp.com-20110707133733-aua4dygdjjmhryap
2011-07-07 15:37:33 +02:00
niv-openerp f7851b64ae [merge]
bzr revid: nicolas.vanhoren@openerp.com-20110705085322-9maq2605k6dvnfho
2011-07-05 10:53:22 +02:00
niv-openerp 708855467f [imp] changed meaning of operation 3 on o2m to behave like operation 5
bzr revid: nicolas.vanhoren@openerp.com-20110705085106-xepnebw12sbq8s9b
2011-07-05 10:51:06 +02:00
Olivier Dony ce0d89e7e7 [IMP] fields.function: removed method=True param, added docstring
The 'method' param was quite useless, as 100% of functions
fields were using method=True. In addition, there is no need
to distinguish methods and functions, as methods are unbound
and passed as function objects in the declaration of a function
field, so they only need a proper signature.
Finally, docstring was added for fields.function class,
based on current doc from developer book (in preparation of
future API doc).
(A fix in addons follows, getting rid of all the useless
method=True params there too).

bzr revid: odo@openerp.com-20110701232328-flgxulxva70vnyxr
2011-07-02 01:23:28 +02:00
P. Christeas 7c8665bb69 [MERGE] docstrings improvements and preparation for api-doc structure
bzr revid: odo@openerp.com-20110701231956-93zu7xtibpo06eqm
2011-07-02 01:19:56 +02:00
niv-openerp 4dcc76071e [imp] small bug in o2m 5 improvement
bzr revid: nicolas.vanhoren@openerp.com-20110630100404-5tkdsafuf9ju4xcw
2011-06-30 12:04:04 +02:00
niv-openerp 350de710c4 [merge]
bzr revid: nicolas.vanhoren@openerp.com-20110630100025-fdjv3f9rsa10u47d
2011-06-30 12:00:25 +02:00
niv-openerp fa19ca6e47 [imp] modified meaning of operation 5 on o2m to delete the pointed rows if on delete cascade
bzr revid: nicolas.vanhoren@openerp.com-20110629162746-dn0tosycss4a0cne
2011-06-29 18:27:46 +02:00
Vo Minh Thu 027d082936 [MERGE] some refactoring in fields_view_get.
bzr revid: vmt@openerp.com-20110627132601-qw6ejx2v4xywq4ai
2011-06-27 15:26:01 +02:00
Vo Minh Thu 82a3dca2d7 [FIX] fields: pass around the context in the create case of the many2many (thankks to rco).
bzr revid: vmt@openerp.com-20110624140103-z7t3c029mc4uq5wu
2011-06-24 16:01:03 +02:00
Yogesh (OpenERP) b505076369 [FIX] add get method in refrence field and check if refrence id not exists then return false.
lp bug: https://launchpad.net/bugs/783961 fixed

bzr revid: ysa@tinyerp.com-20110624084656-c2jd3xskk10fwt35
2011-06-24 14:16:56 +05:30
P. Christeas b0f06f7e52 orm, tools, addons: Doc strings improvements
bzr revid: xrg@linux.gr-20110623090228-4gn6xoyykcvfhv13
2011-06-23 12:02:28 +03:00
Vo Minh Thu f3b7293c2e [REF] orm: add a column_info class to represent entries in _inherit_fields,
code comes from the trunk-sharing-features branch (by odo).

bzr revid: vmt@openerp.com-20110621155342-8a3o153rkpsd5s12
2011-06-21 17:53:42 +02:00
Olivier Dony 66b4f6fbcd [FIX] fields: function/property fields should perform their name_get() calls for m2o as uid 1
This is because the permissions for reading the display name
of a m2o record does not depend on access to the target table,
but depends on the user access to the current table.
Users that are denied read access to the target table may still
see the names of the records linked to the documents they can
read

bzr revid: odo@openerp.com-20110619171102-sh0derdj50epea7b
2011-06-19 19:11:02 +02:00
Vo Minh Thu ccca7e938a [REF] orm: fields_get in pieces, now with docstring.
bzr revid: vmt@openerp.com-20110617072608-5tmwf2g2qb0pwrhk
2011-06-17 09:26:08 +02:00
Vo Minh Thu e4d8e91c4a [MERGE] `multi` support for function fields.
bzr revid: vmt@openerp.com-20110615152659-1g2s5vc3outecd71
2011-06-15 17:26:59 +02:00
Yogesh (OpenERP) 45e8ba8474 [IMP] improve code.
bzr revid: ysa@tinyerp.com-20110615102551-np3mfev3eq5z4iwp
2011-06-15 15:55:51 +05:30
Yogesh (OpenERP) 2f635092d2 Improve code.
bzr revid: ysa@tinyerp.com-20110615084717-ya7v52ngikwn4zy8
2011-06-15 14:17:17 +05:30
Yogesh (OpenERP) a0eba446d9 [IMP] improve get method of function field.
bzr revid: ysa@tinyerp.com-20110613111949-u71pez6qpdfwk1iy
2011-06-13 16:49:49 +05:30
Yogesh (OpenERP) 110483e93d [FIX] fix problem of ir.property created if same value exists then record not create in ir.property object.
lp bug: https://launchpad.net/bugs/726592 fixed

bzr revid: ysa@tinyerp.com-20110608104128-7mdykmk0ovqenz6u
2011-06-08 16:11:28 +05:30
Vo Minh Thu 823abab958 [MERGE] merged changes from 6.0
bzr revid: vmt@openerp.com-20110525151149-78gkoolppmjekrl6
2011-05-25 17:11:49 +02:00
Yogesh (OpenERP) 1fc19ec86c [FIX] fields.function work in multi mode for binary type. return field name with size on multi mode in get_nice_size method.
bzr revid: ysa@tinyerp.com-20110523090113-tryh2f1c760sf8er
2011-05-23 14:31:13 +05:30
Olivier Dony ad2967d350 [MERGE] merged fix for osm_memory.read() of m2o fields with name - pending addons fix
bzr revid: odo@openerp.com-20110315132628-uhhpf95b9iyin482
2011-03-15 14:26:28 +01:00
Vo Minh Thu f8572e5c60 [IMP] openerp python module.
- Some logging code moved from netsvc.py to loglevels.py
- Changed imports to use the new openerp module
- config and netsvc initialization calls move to openerp-server.py
- Moved openerp-server.py outside the old bin directory
- Some imports in tools moved inside the methods to break mutual-dependencies

bzr revid: vmt@openerp.com-20110207125723-ooee7d7ng5elmkso
2011-02-07 13:57:23 +01:00