Commit Graph

183 Commits

Author SHA1 Message Date
P. Christeas a62f0bede4 ir.model: mutable argument fix
bzr revid: p_christ@hol.gr-20101123154032-tuoe1aiy9wpnjp2y
2010-11-23 17:40:32 +02:00
P. Christeas c8f52b8c98 ORM, ir_*: convert standard constraint messages to callables
Also, fix way that callable constraints are passed with the context so
that they can have translatable strings inside (but not on the results
of the callable).

Conflicts:

	bin/addons/base/ir/ir_model.py
	bin/addons/base/module/module.py
	bin/tools/translate.py

bzr revid: p_christ@hol.gr-20101118164721-19rgx43d3p96b2lf
2010-11-18 18:47:21 +02:00
Olivier Dony 973af690b5 [IMP] base: improve some error messages/translations (modified patch from P. Christeas)
bzr revid: odo@openerp.com-20101020171739-2uc9a6fechrl5iaj
2010-10-20 19:17:39 +02:00
Olivier Dony 88117959b5 [REM] base, workflow: removed res.roles object, replaced by dedicated res.groups
bzr revid: odo@openerp.com-20101013215340-jaiihef9chsym48z
2010-10-13 23:53:40 +02:00
Anup (OpenERP) bce8ba79ae [REF] base : Corrections
bzr revid: ach@tinyerp.com-20101012061115-mlr5laakmficmoal
2010-10-12 11:41:15 +05:30
Anup (OpenERP) 69147e278f [FIX] base : Translations Corrected
bzr revid: ach@tinyerp.com-20101012052702-qrka8uld1apdpwg0
2010-10-12 10:57:02 +05:30
Anup (OpenERP) 1cb3e4e099 [REF] base: Refactored Code
bzr revid: ach@tinyerp.com-20101011064948-ust4ovsiy9tyjs85
2010-10-11 12:19:48 +05:30
fp 18c3f9511d useability
bzr revid: fp@fp-laptop-20101010190942-d5wo2tilixnzj7yx
2010-10-10 21:09:42 +02:00
jas b4779a1bd3 [IMP/FIX]: base : Improvement in User,Security menu
bzr revid: jas@tinyerp.com-20100929111200-fs00cbqhpo4uzz3z
2010-09-29 16:42:00 +05:30
jas 55bec50ff0 [IMP]: base : Improvements in base module
bzr revid: jas@tinyerp.com-20100929075801-l569rvj9tiq2ha9w
2010-09-29 13:28:01 +05:30
Anup (OpenERP) 245ace0a3b [FIX] _read_flat mehthod corrected
bzr revid: ach@tinyerp.com-20100909110211-6sbl74zfnca0hlpf
2010-09-09 16:32:11 +05:30
Olivier Dony 6cb0f0c23b [REVERT] incorrect patch to tools.translate - not yet reviewed
bzr revid: odo@openerp.com-20100908172708-vgqbwc8e2an30hxw
2010-09-08 19:27:08 +02:00
Anup (OpenERP) 7c3e6a6ed6 [FIX] message of _sql_constraint is being translated now
bzr revid: ach@tinyerp.com-20100908162403-pcau9acjq0xhhxu0
2010-09-08 21:54:03 +05:30
uco (Open ERP) cfbdd091ea [REVERT]: Reverted wrong commit
bzr revid: uco@tinyerp.com-20100826091046-vkn84n6iqxt8qpe4
2010-08-26 14:40:46 +05:30
rpa (Open ERP) b7183b5725 [IMP]: base: Improvement in view as per piratepad
bzr revid: rpa@tinyerp.com-20100823134151-u3yjgx9c1xwxv39r
2010-08-23 19:11:51 +05:30
rpa (Open ERP) 03bc10f188 [IMP,ADD]: base: Improvement in views of ir.model
bzr revid: rpa@tinyerp.com-20100823120047-smqicsknkioqqjmj
2010-08-23 17:30:47 +05:30
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
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
Olivier Dony da08ca7756 [ADD] ir.model.data: added get_object_reference() and get_object() convenience methods to make target object easier to obtain
bzr revid: odo@openerp.com-20100709110252-fwn0osdcgnk5f88g
2010-07-09 13:02:52 +02:00
Ferdinand Gassauer, Olivier Dony a439ae096b [IMP] ir_model_*: added some missing database indices
lp bug: https://launchpad.net/bugs/572848 fixed

bzr revid: odo@openerp.com-20100705175805-tld1s0crm68otsq4
2010-07-05 19:58:05 +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 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
Olivier Dony 569af073c1 [IMP] ir_model: name_search working on model description *and* model name
bzr revid: odo@openerp.com-20100602111826-v3qbiv65t1mq3np8
2010-06-02 13:18:26 +02:00
Anup (OpenERP) aed8e4e957 [FIX] Ir_model : Made an offensive check of context
bzr revid: ach@tinyerp.com-20100512115933-b3f3ti4g3epjrw8z
2010-05-12 17:29:33 +05:30
Anup (OpenERP) d05d9bccc4 [FIX] Raise a detailed exception if the record does not exist in the ir_model_data object
bzr revid: ach@tinyerp.com-20100511115355-9kdfpqaupsb718jj
2010-05-11 17:23:55 +05:30
Anup (OpenERP) 2d69e871a3 [FIX] Copy() of ir_model_fields corected
bzr revid: ach@tinyerp.com-20100511105508-n4png61qm0w8ctot
2010-05-11 16:25:08 +05:30
Anup (OpenERP) d8672f0f3a [FIX] Groups if removed, should remove relavent access rights too
bzr revid: ach@tinyerp.com-20100511083033-gbpbgiaopyesfzvv
2010-05-11 14:00:33 +05:30
Rvo (Open ERP) c9720d28f5 [IMP+ADD]:improved ir.rule code, added constraint on ir.rule for osv_memory objects
bzr revid: rvo@tinyerp.co.in-20100429120158-rt4p9t1o6kkj78fh
2010-04-29 17:31:58 +05:30
Fabien Pinckaers f2f2bde0f3 [FIX] Custom Objects with x_name field
bzr revid: fp@tinyerp.com-20100419210117-2cuj8jdgrnh11pze
2010-04-19 23:01:17 +02:00
Julien Thewys 3f8b66799f [REF] Cleanup ir_model_data._unlink
bzr revid: jth@openerp.com-20100402081546-deiqbx40q2hkucck
2010-04-02 10:15:46 +02:00
Xavier Morel ca39947d11 [fix] for some addons, multiple toplevel menus with the same name are created, generating a single ir.ui.menu entry but multiple ir.model.data for the (ir.ui.menu, @id) specified. Ensure that we remove all ir.model.data matching a given ir.ui.menu, not just a random one or upgrade fails when we try to go from the leftover ir.model.data to the (now missing) ir.ui.menu
lp bug: https://launchpad.net/bugs/530835 fixed

bzr revid: xmo@tinyerp.com-20100303154041-37hzymi7e5ur9yb6
2010-03-03 16:40:41 +01:00
HDA (OpenERP) a0ba43d800 Merged with stable
bzr revid: hda@tinyerp.com-20100216063114-d2crv3zayarq2vk6
2010-02-16 12:01:14 +05:30
Jay (Open ERP) ba22f3edfa [FIX] Custom fields won't disturb anything while updating server
lp bug: https://launchpad.net/bugs/493657 fixed

bzr revid: jvo@tinyerp.com-20100209091328-sllcv1fjo4qq59a3
2010-02-09 14:43:28 +05:30
Jay (Open ERP) abc44a50cb [FIX] Custom fields should be removed from _columns too
lp bug: https://launchpad.net/bugs/490125 fixed

bzr revid: jvo@tinyerp.com-20100201114605-6klss5f5bqw5yb6o
2010-02-01 17:16:05 +05:30
HDA (OpenERP) a922f46615 Merge
bzr revid: hda@tinyerp.com-20100113073118-m55980m261js142f
bzr revid: hda@tinyerp.com-20100113073301-p8efntdkv1yanf8a
2010-01-13 13:03:01 +05:30
HDA (OpenERP) 8a887ad4e0 Merged
bzr revid: hda@tinyerp.com-20100112104830-x35l4g08og2gacwo
2010-01-12 16:18:30 +05:30
RGA(OpenERP) 131355606c [FIX] Manual object and field creation with searchable
lp bug: https://launchpad.net/bugs/489573 fixed

bzr revid: hda@tinyerp.com-20091229130841-88yee2x111ymw0cd
2009-12-29 18:38:41 +05:30
Xavier Morel a0a6b7df53 [imp] remove apparently unused ir_model_config
bzr revid: xmo@tinyerp.com-20091210132211-7kr2lari765mhdly
2009-12-10 14:22:11 +01:00
Harry (Open ERP) 3ac7d15820 [merge] merge from lp:~openerp/openobject-server/5.0/
bzr revid: hmo@tinyerp.com-20091128104436-nryf42nmutq0s2ig
2009-11-28 16:14:36 +05:30
HDA (OpenERP) 5ea54704ea Merge and bugfixes from jvo
bzr revid: hda@tinyerp.com-20091105063915-kju1oce56t9g20g5
2009-11-05 12:09:15 +05:30
Harry (Open ERP) c436917517 [Merge] merge stable/5.0 branch
bzr revid: hmo@tinyerp.com-20091104064434-fijc4n2motwgsu13
2009-11-04 12:14:34 +05:30
pap(openerp) 251b6720ca Changed encoding to coding ref: PEP: 0263
bzr revid: hda@tinyerp.com-20091020105223-2o94yr2iv2v10axr
2009-10-20 16:22:23 +05:30
Fabien Pinckaers 012fd8d624 [FIX] recursive calls
bzr revid: fp@tinyerp.com-20091019182609-bkowmclnyfon4jeo
2009-10-19 20:26:09 +02:00
PSO(OpenERP) 4d7134cd99 Changed licencing
bzr revid: hda@tinyerp.com-20091014123215-nuyqs18090whzt5o
2009-10-14 18:02:15 +05:30
Fabien Pinckaers be09477845 [IMP] default value for module
bzr revid: fp@tinyerp.com-20091013175813-vlqi304leu84x0wx
2009-10-13 19:58:13 +02:00
HDA (OpenERP) c6f5c91a96 Merged with stable
bzr revid: hda@tinyerp.com-20091009095236-2m1dt7sz4mr6iw0e
2009-10-09 15:22:36 +05:30
Jay (Open ERP) f590b74318 [FIX] Import : Context of the action/screen passed,taken into consideration while importing
bzr revid: jvo@tinyerp.com-20091005121029-6sy1k3uvkpi2i8of
2009-10-05 17:40:29 +05:30
HDA (OpenERP) c68600cc53 [Merged]
bzr revid: hda@tinyerp.com-20090917072712-l7220bbv1gq4uckc
2009-09-17 12:57:12 +05:30
Christophe Simonis 088410f069 [FIX] pass the context to check method of 'ir.model.access'
bzr revid: christophe@tinyerp.com-20090810162409-jhl8imt25vw92mmy
2009-08-10 18:24:09 +02:00