Commit Graph

193 Commits

Author SHA1 Message Date
Denis Ledoux 67866db5b6 [MERGE] Forward-port of latest saas-2 bugfixes, up to rev. 5015 dle@openerp.com-20140221104908-7ytdg6xkxaza05o4
bzr revid: dle@openerp.com-20140220132700-hhc1nsu25j1ye257
bzr revid: mat@openerp.com-20140220150028-p6l0vnwa5q18uxiu
bzr revid: dle@openerp.com-20140221105500-t7jg037uusdloigl
2014-02-21 11:55:00 +01:00
Christophe Simonis 958ecb84b0 [FIX] ir.model.data: correct cache clearing
bzr revid: chs@openerp.com-20140129172949-tmwd17c2ofsqj94t
2014-01-29 18:29:49 +01:00
Antony Lesuisse 9aed30381e [FIX] ir.model.data more faithful backward compatibilty
bzr revid: al@openerp.com-20140129032053-nb5x1oll6mkpw86h
2014-01-29 04:20:53 +01:00
Antony Lesuisse 928f25a4f1 [IMP] ir.model.data clean up xmlid lookup mess
- introduce a new xmlid_ set of function with a single cache and raise_on_not_found=False
- implement backward compatible api based on the new one

bzr revid: al@openerp.com-20140129030256-pqj3eay9vf4w2m14
2014-01-29 04:02:56 +01:00
Raphael Collet 9518e6c323 [IMP] in ir_model_data.get_object(), rename parameter 'check' into 'raise_exception'
bzr revid: rco@openerp.com-20140127151726-if92mwiu3xawr8ge
2014-01-27 16:17:26 +01:00
Raphael Collet d68bb48e44 [IMP] ir.model.data: get_object() never raises an exception when check=False
bzr revid: rco@openerp.com-20140123103306-tilma2dahgfsm70t
2014-01-23 11:33:06 +01:00
Fabien Meghazi a859a53e72 [FIX] ir.model.data#_update() should honor the noupdate flag
In `init` mode, a record can still be filled with multiple record
nodes with the first node being in a data@noupdate="1" and the other
nodes without @noupdate attribute but this won't be the case anymore in
`update` mode

bzr revid: fme@openerp.com-20131216144304-2e8b9xvoks2fvlj9
2013-12-16 15:43:04 +01:00
Thibault Delavallée fea975aaa4 [IMP] ir_model: get_object: re-introduce old behavior controlled by a new argument. This allows to have a method allowing the new behavior without breaking compatibility with all addons that are based on receiving a ValueError.
bzr revid: tde@openerp.com-20131206095853-6waq2v2ajbgv02vp
2013-12-06 10:58:53 +01:00
Christophe Matthieu 8460122209 [MERGE] sync with trunk
bzr revid: chm@openerp.com-20131202150856-fzrfcoa8pmsjutau
2013-12-02 16:08:56 +01:00
Fabien Pinckaers 4a3529afdf [IMP] Performance improvement: improved cache with context, better get_object
bzr revid: fp@tinyerp.com-20131130154723-05r90b2yhwwovpx4
2013-11-30 16:47:23 +01:00
Fabien Meghazi 5f197f25c5 [IMP] raise AccessError for acl errors
bzr revid: fme@openerp.com-20131125154504-v3tfppa7mkjm5ksr
2013-11-25 16:45:04 +01:00
Christophe Simonis ab386c0f5f [MERGE] forward port of branch saas-2 up to revid 4984 chs@openerp.com-20131125151017-lmj53bxg1pfrr4a7
bzr revid: chs@openerp.com-20131125154140-cpbk4tcdml2a3b9n
2013-11-25 16:41:40 +01:00
Olivier 426a643c4f [BACKPORT] backport from saas-2 (r4976): ir.model: during garbage collection of obsolete records in _process_end, do it in anti-chronological order
bzr revid: olt@openerp.com-20131125144649-mib0vqic0nppziew
2013-11-25 15:46:49 +01:00
Olivier Dony 4921167d74 [FIX] ir.model: during garbage collection of obsolete records in _process_end, do it in anti-chronological order
Just like for the uninstallation process, records should be
deleted with last created first, as an attempt to reverse
the operations in the right order (to avoid errors due to
dependencies between records).

bzr revid: odo@openerp.com-20131118125640-kdo3t34uszqggu13
2013-11-18 13:56:40 +01:00
Denis Ledoux 0a42a9dec9 [FIX]base: remove unnecessary field sizes from all relateds of ir_model. Size limits prevented some database models customization (like selection fields with selection options longer than 128 chars)
bzr revid: dle@openerp.com-20131108130208-srt5gzlxbk890htf
2013-11-08 14:02:08 +01:00
Thibault Delavallée 97f164ba99 [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20131028163325-2hpks3hp23zop40n
2013-10-28 17:33:25 +01:00
Xavier Morel a622a5ad55 [FIX] remove handling of parameters in ormcache clearing
It's completely broken in case of optional parameters
e.g. (ir.translation)._get_source, as a call with the optional
parameter won't be matched by a clear without, and the other way
around. This becomes even more problematic in the website branch as
_get_source now has *two* optional parameters (source and res_id).

After discussion with odo and discovery that in multiprocess only the
current node will use any granularity (other nodes not only clear all
of the current method cache, but all caches of all models), simplify
cache clearing, ignore parameters and just blow the current method's
cache entirely.

bzr revid: xmo@openerp.com-20131024132956-4tl3prum8za47igy
2013-10-24 15:29:56 +02:00
niv-openerp 5696282656 [MERGE] saas2
bzr revid: nicolas.vanhoren@openerp.com-20131018103501-sns9zca0nmpm9efn
2013-10-18 12:35:01 +02:00
Olivier Dony 54f740960e [MERGE] Forward-port of latest saas-1 bugfixes, up to rev. 4912 rev-id: odo@openerp.com-20131016110621-36vvlpn8dgsabyt1
bzr revid: odo@openerp.com-20131016111800-jjybreg62bwz61zn
2013-10-16 13:18:00 +02:00
Olivier Dony 8ac110c4dd [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 5098 rev-id: odo@openerp.com-20131011123914-7zuvd9mch21yxgj8
bzr revid: dle@openerp.com-20131009131902-a93nsbou4w8y0vlx
bzr revid: chs@openerp.com-20131009175454-j06y1ngylfbqyrpj
bzr revid: dle@openerp.com-20130918160049-fo88fl7uyhfoofkv
bzr revid: dle@openerp.com-20130924130544-kmkyr0d73cusvdav
bzr revid: odo@openerp.com-20131011134433-nyfjipvlql4xu127
2013-10-11 15:44:33 +02:00
Olivier Dony dafa12d92c [FIX] ir.model: FK constraints for custom m2o fields were never created, creating possible data integrity errors
bzr revid: odo@openerp.com-20131010170718-lwoxkqc1tx7i8vhg
2013-10-10 19:07:18 +02:00
Antony Lesuisse 6e2e77beec fix res_group rename, move files to clean up res
bzr revid: al@openerp.com-20131006150309-fg8vuvaq9hmvi9oh
2013-10-06 17:03:09 +02:00
Antony Lesuisse a32bf724f2 [IMP] ir_actions cleanups.
Remove deprecated old style wizards.
Remove unsed get_model() function.
Move crons into Actions menuitem.
Move todos into Actions menuitem.

bzr revid: al@openerp.com-20131006102404-s46md70ahydihiih
2013-10-06 12:24:04 +02:00
Christophe Simonis 208b697239 [MERGE] forward port of branch saas-1 up to revid 4899 chs@openerp.com-20130821094758-1ae0d1ml5obufzxv
bzr revid: odo@openerp.com-20130820160346-qcdy4kavgm5cb9t6
bzr revid: chs@openerp.com-20130821103139-zqqbrt8dq6iixrny
2013-08-21 12:31:39 +02:00
Olivier Dony fbd0758cb5 [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 5054 rev-id: odo@openerp.com-20130820091157-e5brwlxuhujf8rrd
bzr revid: chs@openerp.com-20130724085026-525l9apggc9yzx0h
bzr revid: odo@openerp.com-20130730140644-1xih0as5jsks4pub
bzr revid: dle@openerp.com-20130801130723-khgwjkglgsdn34fj
bzr revid: odo@openerp.com-20130820091638-jpbcmh653bpa29em
2013-08-20 11:16:38 +02:00
Olivier Dony d2ce7b4120 [FIX] ir.model: during creation of custom models, the _auto_init call should also take care of custom fields created on-the-fly
The _auto_init call in ir.model.fields creation will not
do it because it happens before the insertion of the model
in the registry. It will only work for later addition of
fields.

bzr revid: odo@openerp.com-20130730114645-185kbupcrbtnv1tf
2013-07-30 13:46:45 +02:00
Quentin (OpenERP) 31d05360b2 [REF] fields: removed deprecated view_load attribute and removed useless first argument in property fields definition
bzr revid: qdp-launchpad@openerp.com-20130619091332-29pisdnyfemn1u3d
2013-06-19 11:13:32 +02:00
Christophe Simonis 6f170ec732 [MERGE] forward port of branch 7.0 up to revid 5006 chs@openerp.com-20130612151912-m19okjsdkjo12qnt
bzr revid: chs@openerp.com-20130612152826-j9sj42ten9mic8s0
2013-06-12 17:28:26 +02:00
Christophe Matthieu de9777bf56 [IMP] Improve typos in warning (Grammar mistake, Capitalize title, Typos)
bzr revid: chm@openerp.com-20130607090251-2ym7dx73jdigq93w
2013-06-07 11:02:51 +02:00
ggh-openerp 058c816a8e [IMP] Improved code
bzr revid: ggh@tinyerp.com-20130429105849-2peih2y8kknt65tu
2013-04-29 16:28:49 +05:30
Quentin (OpenERP) 6aee197c4b [IMP] ir_model_data: docstring of check_object_reference updated to reflect what it is really doing
bzr revid: qdp-launchpad@openerp.com-20130424120108-d10vqn51hk4djaj1
2013-04-24 14:01:08 +02:00
Quentin (OpenERP) 4ca68886bf [IMP] ir_model_data: added raise_on_access_error as argument to check_object_reference()
bzr revid: qdp-launchpad@openerp.com-20130424101155-1lu2jgceb022oc8u
2013-04-24 12:11:55 +02:00
Quentin (OpenERP) 01a3c67183 [REV] revert of commit 4953 that was not appropriate for a stable version. Will be back in trunk
bzr revid: qdp-launchpad@openerp.com-20130424093403-9dk8yap427kbndzi
2013-04-24 11:34:03 +02:00
Christophe Simonis 261dea6fec [MERGE] forward port of server v7 up to revision 4954
bzr revid: qdp-launchpad@openerp.com-20130422093655-txqmbalod6qmw1s6
bzr revid: chs@openerp.com-20130423183723-9kiexdyzdew8iuzm
2013-04-23 20:37:23 +02:00
Quentin (OpenERP) a98ae1d753 [IMP/FIX] ir_model_data: added check_object_reference() in order to return a value only if the uid has read access on the targeted object. It avoids raising access rights errors further in the process and prevents duplicating that same code in all addons
bzr revid: qdp-launchpad@openerp.com-20130423103706-u4wk2y65kam587c6
2013-04-23 12:37:06 +02:00
Raphael Collet 05851d21ba [MERGE] from trunk
bzr revid: rco@openerp.com-20130411073017-x6e4h8xbvmy3ofdw
2013-04-11 09:30:17 +02:00
Vo Minh Thu 307ca374d6 [MERGE] forward merge 7.0 until revision 4919.
bzr revid: vmt@openerp.com-20130404130704-24vsmczw34cssytd
2013-04-04 15:07:04 +02:00
Raphael Collet 09be864f1d [IMP] replace all tests like 'registry.get(X)' by 'X in registry' where X is non static
bzr revid: rco@openerp.com-20130329140723-dnrl02saky570xg0
2013-03-29 15:07:23 +01:00
Vo Minh Thu 4ed7ec95b7 [MERGE] removed LocalService("workflow"), Logger class, and TEST log level.
bzr revid: vmt@openerp.com-20130327170639-uamgg7shlmtxgpxv
2013-03-27 18:06:39 +01:00
Vo Minh Thu 5134bf4b94 [REF] registry: the new_registry() helper is not useful enough, we do not need it at the top-level.
bzr revid: vmt@openerp.com-20130327152322-1bsslx8jicjh26eq
2013-03-27 16:23:22 +01:00
Chris Biersbach 15bd42f5e5 [FIX] Removes the limit of 64 characters from additional text fields added via the interface
lp bug: https://launchpad.net/bugs/1053511 fixed

bzr revid: cbi@openerp.com-20130327132335-tro1p1n5at042jfb
2013-03-27 14:23:35 +01:00
Vo Minh Thu 1e7e2ca753 [REF] no longer use openerp.pooler.
Either use openerp.modules.registry.RegistryManager when the full
new() signature is needed, or use openerp.registry().

Replaced also some pool.get() with pool[] because KeyErrors
are better than AttributeErrors on None.

bzr revid: vmt@openerp.com-20130327111014-2i0hlvpy5y5ku7hm
2013-03-27 12:10:14 +01:00
Vo Minh Thu a4fbd26541 [REF]: use openerp.workflow instead of LocalService("workflow").
bzr revid: vmt@openerp.com-20130326162040-kkq46wrur3pgn6eh
2013-03-26 17:20:40 +01:00
Vo Minh Thu 067cd7d15a [FIX] ir_model_data: create the _inherits parent external ID prior to the child.
This is needed so the uninstall process can simply go through
the installed data by using the ir_model_data entries in reverse
order (when ordered by IDs), so that parents are deleted before
children.

bzr revid: vmt@openerp.com-20130321133202-igea1vxlszfpk6pe
2013-03-21 14:32:02 +01:00
Olivier Dony 9770caedf3 [FIX] registry: another pass of cleanup for registry signaling
Some important points to consider:
 - signaling should be done after any schema alteration (including module [un]installation),
   service registration (e.g. reports)
 - the changes need to be committed to the database *before* signaling, otherwise an
   obvious race condition occurs during reload by other workers
 - any call to restart_pool() must be considered a possible candidate for
   signaling, and the 2 above conditions must be checked

The number of explicit calls was reduced by forcing the signaling at the end of
Registry.new() in case `update_module` was passed as True. In that situation
we always want to signal the changes - so all the redundant signaling calls
can be centralized. We can also assume that the relevant changes have already
been committed at that point, otherwise the registry update would not
have worked in the first place.
This means that there is no need for explicit signaling anymore everytime
`restart_pool` is called with `update_module=True`.

Some missing cr.commit() and explicit signaling calls were added or
moved to the right place. As a reminder: signaling must be done
*after* committing the changes, and usually *after* reloading the
registry on the current worker.

bzr revid: odo@openerp.com-20130301143203-e2csf5pkllwhmwqs
2013-03-01 15:32:03 +01:00
Vo Minh Thu c0d302ae0e [FIX] ir.model: uninstall should not drop LOG_ACCESS_COLUMNS columns.
bzr revid: vmt@openerp.com-20130301110730-8mlnj9emjo3ifdq1
2013-03-01 12:07:30 +01:00
Olivier Dony b762551211 [FIX] ir.model: properly signal registry change for multi-process mode after altering model/db schema
bzr revid: odo@openerp.com-20130228113736-8novcpf3ibw7386s
2013-02-28 12:37:36 +01:00
dle@openerp.com dd91a1c94a [FIX]Uninstall : Savepoint before unlink
bzr revid: dle@openerp.com-20130121102245-dkha32uistm3hgca
2013-01-21 11:22:45 +01:00
Fabien Pinckaers aa86fb2bc1 [IMP] custom model allowed
bzr revid: fp@tinyerp.com-20121227172825-lny2fobb5g89edca
2012-12-27 18:28:25 +01:00
Xavier Morel 5155f30303 [REM] unused local variables
bzr revid: xmo@openerp.com-20121214132533-aafgbov19ckb9ksp
2012-12-14 14:25:33 +01:00
Xavier Morel 3ee178ab2c [FIX] unnecessary backslashes
bzr revid: xmo@openerp.com-20121214132113-1ofmm5x0ua3l2q5d
2012-12-14 14:21:13 +01:00
Xavier Morel 91f441d0cd [FIX] mutable default argument values
bzr revid: xmo@openerp.com-20121214131720-jll2i2y0ph7aexox
2012-12-14 14:17:20 +01:00
Xavier Morel 1954c7ae2b [FIX] unresolved reference: 'model' not available inside test body if generator used
bzr revid: xmo@openerp.com-20121214130507-qc1fqzbdttb2a0n2
2012-12-14 14:05:07 +01:00
Xavier Morel c6079dd6bb [REM] unnecessary parens
bzr revid: xmo@openerp.com-20121214123803-6xu2s1ndnoyj4i3e
2012-12-14 13:38:03 +01:00
Vo Minh Thu a1e2fdb69c [MERGE] fix the serialized field domain in the model view.
bzr revid: vmt@openerp.com-20121204150004-lq8t7qgeimeskysf
2012-12-04 16:00:04 +01:00
Olivier Dony 7f5ad72429 [MERGE] Forward-port 6.1 bugfixes up to rev. 4307
rev.4307 = rev-id launchpad_translations_on_behalf_of_openerp-20121125065030-g5if5pybr61la4yj

bzr revid: odo@openerp.com-20121126160320-t2suuik6lhk6wl0x
bzr revid: odo@openerp.com-20121126161836-mv8yymzgbnmif4ve
bzr revid: odo@openerp.com-20121126162023-ejvsapwouyudw6c6
bzr revid: odo@openerp.com-20121126181527-d4yx15372bis77qj
2012-11-26 19:15:27 +01:00
Xavier Morel 4a4fc38d5e [FIX] nuke ir.model.data caches before starting imports
Otherwise a previous validation (or 2) will poison the cache and the
import itself will fail even though the validation succeeeded (and
importing with no validation would have succeeded), as the orm cache
doesn't take DB rollbacks in account.

bzr revid: xmo@openerp.com-20121109113951-p3qgg6m5g7poay5e
2012-11-09 12:39:51 +01:00
Xavier Morel 5bd939f0ac [REM] useless intermediate lambdas in default values
bzr revid: xmo@openerp.com-20121102094705-6vcutz0bv4dc0jkl
2012-11-02 10:47:05 +01:00
Antony Lesuisse 8fa8551f01 [FIX] cleanup ir.xml mess, ir.ui.view name is now optional in xml files
bzr revid: al@openerp.com-20121013120924-xix9cbozm8kda7rj
2012-10-13 14:09:24 +02:00
Raphael Collet 5a971eca90 [FIX] ir: small fix to handle missing models when upgrading
bzr revid: rco@openerp.com-20121005102003-16vbr0aive2mbtid
2012-10-05 12:20:03 +02:00
Fabien Pinckaers f6ff157ca5 [MERGE] active of ACLs, courtesy of akretion
bzr revid: fp@tinyerp.com-20120929114236-lru7p4ibuclbn5nr
2012-09-29 13:42:36 +02:00
Vo Minh Thu 0b464f0882 [FIX] custom models: avoid calling twice __init__, use a correct _rec_name (calling twice __init__ caused the _rec_name to be `name` which does not exist on a custom model, and caused the assert on the _rec_name to fail.
bzr revid: vmt@openerp.com-20120824104242-wa5jq8h47im79ayd
2012-08-24 12:42:42 +02:00
Vo Minh Thu 33e9e66f71 [FIX] uninstall: pass IDs instead of names to _module_data_uninstall().
bzr revid: vmt@openerp.com-20120823161008-is5xqfe4et8xx51k
2012-08-23 18:10:08 +02:00
Xavier Morel 76f885299f [IMP] code style improvements
* Remove unused variables
* Simplify dict.get call in conditionals (default is None)
* Simplify dict.update calls (use kwargs)
* Merge dict.copy() with dict.update() as dict()
* Use isinstance instead of type() equality tests
* Simplify deeply nested code: merge conditionals and remove useless
  conditional, use dict.iteritems()
* Log traceback in exception handler logging

bzr revid: xmo@openerp.com-20120806071249-heh32pi1v0qd3m2j
2012-08-06 09:12:49 +02:00
Alexis de Lattre c28e975ee7 [IMP] add an 'active' field on ir.model.access and ir.rule objects
bzr revid: alexis@via.ecp.fr-20120713173734-2m7496qzm82gko5j
2012-07-13 19:37:34 +02:00
Sanjay Gohel (Open ERP) 6934080a3c [IMP]rename translate into translateble in ir model
bzr revid: sgo@tinyerp.com-20120703065321-atmoxi4i262jeayq
2012-07-03 12:23:21 +05:30
DBR (OpenERP) 3ca22fe02b [Merge]with :lp:openobject-server
bzr revid: dbr@tinyerp.com-20120629061344-jpncsl5q2p9kk1td
bzr revid: dbr@tinyerp.com-20120702101037-ffm5ac0ct3xudyjm
2012-07-02 15:40:37 +05:30
Hardik 350159c394 [IMP]Technical Database Structure Models :Form View Improved
bzr revid: hsa@tinyerp.com-20120628070358-djd63wemuc7x3ei9
2012-06-28 12:33:58 +05:30
Antony Lesuisse 453a1350fe [MERGE] trunk
bzr revid: vmt@openerp.com-20120620122005-2rghps6qjjkozt3n
bzr revid: al@openerp.com-20120627103900-0kgtskgipdazmgy9
2012-06-27 12:39:00 +02:00
Fabien Pinckaers a139c6fc6c [IMP] clean UI for ir.model.data form and tree view
bzr revid: fp@tinyerp.com-20120622141222-ddizks1sz66nqxgw
2012-06-22 16:12:22 +02:00
Vo Minh Thu 575e234cd4 [FIX] res.partner.category: the relation table name was manually chosen, which breaks under _inherit, so we use the automatic one.
bzr revid: vmt@openerp.com-20120619151626-2xho611icmq7e1ky
2012-06-19 17:16:26 +02:00
Vo Minh Thu 877ec2d7a8 [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20120619132718-ag1j3itm69u8h419
2012-06-19 15:27:18 +02:00
Olivier Dony 34965058ec [IMP] access rights: improve error messages for ACLs and record rules
bzr revid: odo@openerp.com-20120615153414-w4p4iczhl6lli50u
2012-06-15 17:34:14 +02:00
Vo Minh Thu eadd5e0a0a [IMP] uninstall: use a dedicated table for many2many relationships instead of overlaoding ir.model.data.
bzr revid: vmt@openerp.com-20120601153449-uj2sl7qjzz3s7xnj
2012-06-01 17:34:49 +02:00
Vo Minh Thu d790650bfb [IMP] uninstall: use dedicated table instead of overloading ir.model.data.
bzr revid: vmt@openerp.com-20120601131414-880vmpctmjfxl84f
2012-06-01 15:14:14 +02:00
Purnendu Singh (OpenERP) b26f2b5790 [MERGE] merge with mma branch
bzr revid: psi@tinyerp.com-20120424062906-b8wi1xwj9vkx86gt
2012-04-24 11:59:06 +05:30
Mayur Maheshwari (OpenERP) 6f2b8821e3 [IMP]all: Improve all typos
bzr revid: mma@tinyerp.com-20120424061128-1hy6izu39i56wvwb
2012-04-24 11:41:28 +05:30
Thibault Delavallée 77a569df69 [DOC] Added some comments.
bzr revid: tde@openerp.com-20120406081726-uusbqse1ty7o2yet
2012-04-06 10:17:26 +02:00
Thibault Delavallée ecad81b881 [IMP] Added a variable in context for install mode
bzr revid: tde@openerp.com-20120403074735-6gv0d64xb6dq7fzu
2012-04-03 09:47:35 +02:00
Thibault Delavallée 5959157cc5 [REM] Removed res.log feature in ORM. However, the res.log table stays, because it is still used notably in publisher_warranty, that must be checked to see how it should be updated with OpenChatter.
bzr revid: tde@openerp.com-20120402114746-unxkhxutivx2hp7f
2012-04-02 13:47:46 +02:00
Olivier Dony 8b100dd1bc [IMP] ir.model: cleanup/de-duplicate code
bzr revid: odo@openerp.com-20120331212515-qoic9kaysswurxnf
2012-03-31 23:25:15 +02:00
Olivier Dony 0904700aaa [IMP] users,ir.model: cleanup - ondelete does not exist on m2m + rem old comment
bzr revid: odo@openerp.com-20120331203710-k2w8txhz2p9njj0d
2012-03-31 22:37:10 +02:00
Olivier Dony f2272f6ecc [IMP] ir.model: avoid name clash between dummy vars and translation function _()
bzr revid: odo@openerp.com-20120331013455-4wt4utj470gyrtmd
2012-03-31 03:34:55 +02:00
Olivier Dony 74ed36e416 [IMP] orm,ir.model: improve registration and deletion of schema ext_ids
Also handle the very common cases of inheriting classes
that must *not* trigger deletion of the m2m tables and
constraints of their parent classes!

bzr revid: odo@openerp.com-20120331004215-413lcxaxvg0u6oxw
2012-03-31 02:42:15 +02:00
Olivier Dony 5f4b3c9bd3 [IMP] module,ir.model: improve name choices
bzr revid: odo@openerp.com-20120330214948-xnmbqugke1o1j3uz
2012-03-30 23:49:48 +02:00
Olivier Dony eb9b0021ff [IMP] Move uninstall behavior in modules.loading where it belongs
bzr revid: odo@openerp.com-20120330163422-jkatnkpw0cl8hd8t
2012-03-30 18:34:22 +02:00
Olivier Dony 8bd0cf42f3 [IMP] ir.model: safeguards to prevent dropping vital data
bzr revid: odo@openerp.com-20120326231829-6y8nsog1pdtbmaqt
2012-03-27 01:18:29 +02:00
olt@tinyerp.com 775a3bca89 [FIX] fixes AttributeError NoneType object has no attribute is_transient (lp:908875)
lp bug: https://launchpad.net/bugs/908875 fixed

bzr revid: olt@tinyerp.com-20120323095511-3uswje6nqnzciqtm
2012-03-23 10:55:11 +01:00
Olivier Dony 0102e40253 [IMP] ir.model: lint cleanup
bzr revid: odo@openerp.com-20120321151523-vy01phnlz1zinldo
2012-03-21 16:15:23 +01:00
Atul Patel (OpenERP) 258722cc1c [MERGE]: Merge with lp:openobject-server
bzr revid: atp@tinyerp.com-20120316042909-gb2e5cmrilyyhsef
bzr revid: atp@tinyerp.com-20120320050251-bgk9xhsfmb1fws1p
2012-03-20 10:32:51 +05:30
Atul Patel (OpenERP) 7cf78f08db [FIX]: FIX query groupby problem for string
bzr revid: atp@tinyerp.com-20120312084217-jixwo97b30qht158
2012-03-12 14:12:17 +05:30
Atul Patel (OpenERP) 4d3849b108 [FIX]: Minor fix for null value in fetchall
bzr revid: atp@tinyerp.com-20120312070445-t9u9dowz5j2mhzmd
2012-03-12 12:34:45 +05:30
Atul Patel (OpenERP) 180a23c7cc [FIX]: uninstall module.
Remove foreign key references.
Remove sql constraint .
Remove workflow activity and transition based on deleted cascade.
Drop ir model fields columns and drop table.

bzr revid: atp@tinyerp.com-20120309124753-c4yzeoij5p2fmhgg
2012-03-09 18:17:53 +05:30
Atul Patel (OpenERP) 9d8b51afc3 [FIX]: remove unused code
bzr revid: atp@tinyerp.com-20120301041444-jksnjci0ozaly28a
2012-03-01 09:44:44 +05:30
Atul Patel (OpenERP) 3465869df7 [FIX]: Remove workflow activity and drop constraint during uninstalling module.
bzr revid: atp@tinyerp.com-20120229135343-g0v04jb5nc723w9q
2012-02-29 19:23:43 +05:30
Olivier Dony a43f7940dc [FIX] ir.model: workaround for broken Python 2.6 implementations
Apparently on some RedHat/CentOS version certain
Python 2.6 version do not support more than
4 nested levels of boolean filters.

lp bug: https://launchpad.net/bugs/939653 fixed

bzr revid: odo@openerp.com-20120227100953-2wgr0l621tpu1x4x
2012-02-27 11:09:53 +01:00
Raphael Collet ddf38fa38b [FIX] revert rev 4018 (revid:rco@openerp.com-20120208162334-ziccpi3yczp3r5z5)
bzr revid: rco@openerp.com-20120209083828-hoojows5zsg0xrif
2012-02-09 09:38:28 +01:00
Antony Lesuisse 94145b2982 [FIX] ir.model filter out link that occurs when using the ir.model web form view
lp bug: https://launchpad.net/bugs/912769 fixed

bzr revid: al@openerp.com-20120208221706-o45t6h3zgmz3ezny
2012-02-08 23:17:06 +01:00
Raphael Collet 4027d619eb [FIX] ir_model: do not call is_transient on None
bzr revid: rco@openerp.com-20120208162334-ziccpi3yczp3r5z5
2012-02-08 17:23:34 +01:00
Vo Minh Thu 876c61b052 [MERGE] merged logging changes: use a top-level `openerp` name space. Similar changes for the addons will be done after 6.1.
bzr revid: vmt@openerp.com-20120208105913-habqxas406osaz9z
2012-02-08 11:59:13 +01:00