Commit Graph
995 Commits
Author SHA1 Message Date
Fabien Pinckaers 3df9607a60 fix
bzr revid: fp@tinyerp.com-20101221201517-286g910bux4jas0o
2010-12-21 21:15:17 +01:00
Fabien Pinckaers 78a2174db1 merge
bzr revid: fp@tinyerp.com-20101221091005-zctt5bwplj0txipc
2010-12-21 10:10:05 +01:00
Fabien Pinckaers 83d46bac4c [IMP] import / export cleaned
bzr revid: fp@tinyerp.com-20101220231743-9vswez6tg198cyco
2010-12-21 00:17:43 +01:00
P. Christeas 91a0d108bf workflow.instance: remove excess indices
It is a table with 4 columns, doesn't worth 5 indices! I hope that these
combined indexed plus the wkf_id one will allow Postgres to always come
up with a good plan.

bzr revid: p_christ@hol.gr-20101219200842-4vr72wqal2t8k2xq
2010-12-19 22:08:42 +02:00
P. Christeas 1dbaae147b ir.ui.menu: We don't need a "many2many_unique" class any more
The parent many2many has been improved to avoid duplicate records.

bzr revid: p_christ@hol.gr-20101219200751-0umvepzgtgjhnw78
2010-12-19 22:07:51 +02:00
Olivier Dony 96075073d1 [FIX] ir.translation: typo in previous commit, sorry
bzr revid: odo@openerp.com-20101215121143-f1hgn5cp92alzdvx
2010-12-15 13:11:43 +01:00
Olivier Dony 650490d61d [IMP] ir.translation,tools.translate._(): cleanup and speedup if translations via _()
- Removed expensive inspect.stack() (courtesy of xrg)
- Improved heuristics for detection of context/lang and cursor
- Switch to using ir.translation when possible instead of direct DB hit to benefit from cache
- Cleanup

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

bzr revid: odo@openerp.com-20101215114019-psrsu998inw6cksu
2010-12-15 12:40:19 +01:00
Olivier Dony 4b6f70ec5a [FIX] ir.ui.view: fix search view according to guidelines
lp bug: https://launchpad.net/bugs/687289 fixed

bzr revid: odo@openerp.com-20101211003125-1125npnm8yj6ktx0
2010-12-11 01:31:25 +01:00
Olivier Dony 6961047414 [IMP] base: default _order for most internal data models (courtesy of Ferdinand Gassauer) + sorted fields in technical module guide
This should give a more consistent output in most lists involving those objects, as well as in the technical guide report.

lp bug: https://launchpad.net/bugs/655075 fixed
lp bug: https://launchpad.net/bugs/676990 fixed

bzr revid: odo@openerp.com-20101210224258-ljubjit2nl4d28vy
2010-12-10 23:42:58 +01:00
Olivier Dony 498a04ae2d [FIX] ir.ui.menu: menu items should be filtered only in tree view
The normal list view should display them all, otherwise menus without children are invisible for example
Also ensured that create() clears the menu cache, otherwise adding children to an invisible menu
may not cause it to appear until the server is restarted.

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

bzr revid: odo@openerp.com-20101210161708-txdxidrr3k4c6hk5
2010-12-10 17:17:08 +01:00
Olivier Dony aeed07950c [FIX] ir.ui.view.*: added missing simple and combined indices (suggestion from Ferdinand Gassauer)
lp bug: https://launchpad.net/bugs/580852 fixed

bzr revid: odo@openerp.com-20101210124716-okrkdqato09utpvx
2010-12-10 13:47:16 +01:00
Olivier Dony 9daa68e67c [IMP] orm,base: added context to _constraints functions + use generic osv.osv.check_recursion()
lp bug: https://launchpad.net/bugs/525808 fixed

bzr revid: odo@openerp.com-20101209105733-j3uffwp4rl07nzc4
2010-12-09 11:57:33 +01:00
Nicolas Vanhoren 2c3cee033d [MERGE] refactor maintenance.contract into publisher_warranty.contract + add system logs scheduler
bzr revid: odo@openerp.com-20101208170350-p8tek7dk7wdtnzvb
2010-12-08 18:03:50 +01:00
Olivier Dony cfa513123a [FIX] base,release: updated some remaining source files to AGPLv3 license
lp bug: https://launchpad.net/bugs/531401 fixed

bzr revid: odo@openerp.com-20101208141707-toesbs33sf71srlh
2010-12-08 15:17:07 +01:00
nvi-openerp 38569b7754 [merge]
bzr revid: nicolas.vanhoren@openerp.com-20101206091222-miwtrvjkfh8hy8ec
bzr revid: nicolas.vanhoren@openerp.com-20101206174010-f819dzx7vyw2jntk
bzr revid: nicolas.vanhoren@openerp.com-20101207132443-z0wabhbh0ruzwoo2
bzr revid: nicolas.vanhoren@openerp.com-20101208105249-qfjalxkboqpi9xr0
2010-12-08 11:52:49 +01:00
Olivier Dony 9b25bd6eb4 [FIX] ir_values: revert GTK-specific hack for search_view_id after GTK client was fixed
bzr revid: odo@openerp.com-20101206131928-2ew6lqe1lz55vwh1
2010-12-06 14:19:28 +01:00
Olivier Dony 988cd41e54 [MERGE] fix for search view bug 681479 + improved support for images in RML, both courtesy of P. Christeas
lp bug: https://launchpad.net/bugs/681479 fixed

bzr revid: odo@openerp.com-20101206121935-e5xkk685rj2e12ev
2010-12-06 13:19:35 +01:00
P. Christeas ee07fda232 ir.values: do return the search_view_id of action windows [Bug 681479]
Partially revert cadc172a2cd09, that prevented both that field and
"search_view" from being read. While the latter one is expensive to
compute, the "search_view_id" is pretty harmless. GTK client (at least)
depends on that to select the appropriate search view.

bzr revid: p_christ@hol.gr-20101203164606-qdjfg0o7ybe0h2i1
2010-12-03 18:46:06 +02:00
Olivier Dony c744e55ffc [ADD] base: support alphabet-specific languages as in Rosetta + enabled Serbian@Latin
bzr revid: odo@openerp.com-20101203160907-59ytzsl8ah2ebtxa
2010-12-03 17:09:07 +01:00
Olivier Dony f1cfc436a7 [MERGE+FIX] fixes for translations,sequence,copy,error messages - some patches courtesy of Margarita Manterola and Don Kirkby
lp bug: https://launchpad.net/bugs/672130 fixed
lp bug: https://launchpad.net/bugs/663775 fixed
lp bug: https://launchpad.net/bugs/673194 fixed
lp bug: https://launchpad.net/bugs/663977 fixed

bzr revid: odo@openerp.com-20101130110940-0tf6ra0uwhiptieb
2010-11-30 12:09:40 +01:00
Olivier Dony ec9d236589 [IMP] ir_model,ir_module,tools: tweaks for improving module install/loading time
bzr revid: odo@openerp.com-20101127030450-m44krmwbnpd57omf
2010-11-27 04:04:50 +01:00
nvi-openerp edf4981ded [merge]
bzr revid: nicolas.vanhoren@openerp.com-20101126134609-vyspfsb42t36s2wq
2010-11-26 14:46:09 +01:00
P. Christeas, O. Dony c14af86177 [MERGE] many improvements regarding translations, logging, reports, http, speed, ...
bzr revid: odo@openerp.com-20101125175328-pmu07gj694r5n2es
2010-11-25 18:53:28 +01:00
Xavier Morel 8e06458e9d [ADD] base: method to fetch an act_window from its xml_id on ir.actions.act_window
Also used it to replace the corresponding code in ir.attachment and res.widget.wizard

bzr revid: xmo@openerp.com-20101125165720-62qphqpmt4fl2xcl
2010-11-25 17:57:20 +01:00
P. Christeas, O. Dony 6a69f37cf0 [MERGE] many improvements regarding translations, logging, reports, http, speed
bzr revid: odo@openerp.com-20101125142219-8bkqfboyuslzpvyo
2010-11-25 15:22:19 +01:00
GPA (OpenERP) f4c509bcfb [MERGE] ir.ui.menu,rng: support for embedded web icons for menuitems
bzr revid: odo@openerp.com-20101125105002-o6pbzql6lsqhx60w
2010-11-25 11:50:02 +01:00
gpa 9de5e301e1 Improvement for the transformation of the icon file paths inside
bzr revid: gpa@tinyerp.com-20101125052729-bajcewtj468rhcjx
2010-11-25 10:57:29 +05:30
Olivier Dony 03f3100346 [FIX] ir_actions: minor typo
bzr revid: odo@openerp.com-20101124164135-6qemb2nof0uzx2f2
2010-11-24 17:41:35 +01:00
Yogesh Sakhreliya 6063442399 ir_sequece now compatible with multicompany and improve get_id method of ir_sequece objects.
bzr revid: ysa@tinyerp.com-20101124113628-9tppvqpfp00h4olg
2010-11-24 17:06:28 +05:30
gpa 1a6ab82f7b Improvement for the web client dash board
bzr revid: gpa@tinyerp.com-20101124104936-rk38vyhz7bll6f9r
2010-11-24 16:19:36 +05:30
Olivier Dony 6ff627d275 [IMP] ir.model.data,res.log: allow marking res.log entries as read upon creation via context + do it during module install to avoid useless log spam
bzr revid: odo@openerp.com-20101123160506-qsxa7gm5j8scphdz
2010-11-23 17:05:06 +01:00
P. Christeas 7165010fd6 ir.translate: revert some pg84 argument from the cherry-picks
bzr revid: p_christ@hol.gr-20101123155820-ltqymky8482k8l9l
2010-11-23 17:58:20 +02:00
P. Christeas ec2c32e2fe ir.model: simplify some defaults
bzr revid: p_christ@hol.gr-20101123154335-tl2jm6litwx3ysro
2010-11-23 17:43:35 +02:00
P. Christeas c5b99753ea ir.attachment: revise the access control code, let it be overriden
There was a fundamental problem when a user, through the 'document' module
would try to write into his personal folder; the res.users model won't be
writable by normal users. So, have all this code in a _single_ function,
which will be redefined by document.

Also follow the v6 API for access control, don't just lookup at ir.model.access.

Conflicts:

	bin/addons/base/ir/ir_attachment.py

bzr revid: p_christ@hol.gr-20101123154212-pphsnyp2rsmbjf72
2010-11-23 17:42:12 +02:00
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 f9f0d929e7 ir.attachment: mark 'type' and 'company_id' with change_defaults
Other fields of attachments (like the directories, in document) should
have their default properties depending on these.

bzr revid: p_christ@hol.gr-20101123153159-wpus8bxls1q03ks9
2010-11-23 17:31:59 +02:00
P. Christeas 49dc2ec5ec ir.ui.menu: Fix default args, no need for lambda in _defaults.
bzr revid: p_christ@hol.gr-20101123152551-dr7dov1fip2r7jet
2010-11-23 17:25:51 +02:00
P. Christeas 1aa8aad95e ir_actions: Cleanup code, use pythonic logging.
Conflicts:

	bin/addons/base/ir/ir_actions.py

bzr revid: p_christ@hol.gr-20101123135224-190hp303ipjncml8
2010-11-23 15:52:24 +02:00
nvi-openerp ca18012c17 [IMP] Improved res_log handling
bzr revid: nicolas.vanhoren@openerp.com-20101123095738-tm5pkm6d81t8i6iv
2010-11-23 10:57:38 +01:00
nvi-openerp f434e3c4d3 [FIX] Fixed bug in crons that made the crons to launch in the current thread
each time the ir.cron table was modified.

bzr revid: nicolas.vanhoren@openerp.com-20101119093812-dq14n1qaxd0kz750
2010-11-19 10:38:12 +01:00
nvi-openerp d61adb56be [merge]
bzr revid: nicolas.vanhoren@openerp.com-20101119081721-tf8qbh9gpm0mjw38
2010-11-19 09:17:21 +01:00
Harry (OpenERP) 061a71aef8 [MERGE]
bzr revid: hmo@tinyerp.com-20101119072750-ii5127c3olbl0zzv
2010-11-19 12:57:50 +05:30
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
nvi-openerp d5debf686f [IMP] wip
bzr revid: nicolas.vanhoren@openerp.com-20101118093412-czjcmcqupngfqjnt
2010-11-18 10:34:12 +01:00
nvi-openerp b8551a5fcc [IMP] wip
bzr revid: nicolas.vanhoren@openerp.com-20101117171754-ay58hnzhsq56iq3s
2010-11-17 18:17:54 +01:00
Vir (Open ERP) cc0d270bab [ADD] Tooltip added for menus
bzr revid: vir@tinyerp.com-20101112110842-ullxl4irgdcv0xvg
2010-11-12 16:38:42 +05:30
Vir (Open ERP) 0a25c19e16 [ADD] Tooltip added for menus
bzr revid: vir@tinyerp.com-20101112064418-5s3k5okwpzvytuya
2010-11-12 12:14:18 +05:30
Christophe Simonis f331f33049 [IMP] base: add cron job to autovacuum osv_memory objects
bzr revid: chs@openerp.com-20101110150448-chvand3pl617r2rr
2010-11-10 16:04:48 +01:00
Ferdinand @ Camptocamp e15d5e4722 [IMP] ir.exports: added missing sql index
lp bug: https://launchpad.net/bugs/665697 fixed

bzr revid: olivier@olivier-donys-macbook-pro.local-20101110003219-l7380et3m3aqa10w
2010-11-10 01:32:19 +01:00
Xavier Morel bc156c64e4 [IMP] remove redundancy in ir_values.set
bzr revid: xmo@openerp.com-20101109132137-nmkg6uc5sdqovu1o
2010-11-09 14:21:37 +01:00