Commit Graph

4919 Commits

Author SHA1 Message Date
Launchpad Translations on behalf of openerp 352bb205aa Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101126044921-9446pqhg2fetkj9v
bzr revid: launchpad_translations_on_behalf_of_openerp-20101126045439-w5rxmd2f3eukcno6
2010-11-26 04:54:39 +00:00
qdp-launchpad@tinyerp.com 5e35a7d806 [MERGE] merged the report server branch
bzr revid: qdp-launchpad@tinyerp.com-20101125181426-dk8asryszl0mqytu
2010-11-25 19:14:26 +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
Olivier Dony 2a99340541 [IMP] tools.translate: more lenient with malformed PO entries
bzr revid: odo@openerp.com-20101125172236-son3382958xbds8y
2010-11-25 18:22:36 +01:00
Olivier Dony 727b9d7e55 [IMP] tools.translate: use consistent logging API
bzr revid: odo@openerp.com-20101125172144-3z0rs97u50q142vx
2010-11-25 18:21:44 +01:00
Olivier Dony 6bbcab6df2 [IMP] module: no warning about missing english translation
bzr revid: odo@openerp.com-20101125171927-j68orn14dagff22r
2010-11-25 18:19:27 +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
Xavier Morel 918c258dd4 [IMP] have res.widget.wizard return its initial act_window itself to avoid hardcoding it in the client
bzr revid: xmo@openerp.com-20101125144834-jblj68hf1hsso6vt
2010-11-25 15:48:34 +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
Xavier Morel 4f9212ee2f [ADD] a few demo widgets
bzr revid: xmo@openerp.com-20101125140336-w51ae3sewvdfbcwu
2010-11-25 15:03:36 +01:00
Olivier Dony ad490bdcf5 [IMP] orm.write: ignore unknown fields, more consistent with rest of API
bzr revid: odo@openerp.com-20101125135800-dzad2x864bn8p1ah
2010-11-25 14:58:00 +01:00
Xavier Morel eb3f4bdb25 [FIX] res_widget: use context correctly
bzr revid: xmo@openerp.com-20101125124834-daf5p22of6r9unvc
2010-11-25 13:48:34 +01:00
Xavier Morel 1da6f30f2b [FIX] res_widget: improve some labels/names
bzr revid: xmo@openerp.com-20101125124811-mrw9xa99bjurwm0h
2010-11-25 13:48:11 +01:00
Xavier Morel ec4644c6f1 [ADD] some more twitter widget for demo
bzr revid: xmo@openerp.com-20101125110900-6utcye5hs2p3zpx0
2010-11-25 12:09:00 +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
Launchpad Translations on behalf of openerp 958bd383b7 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101125045216-6u4oqrvi5hr8i6pz
2010-11-25 04:52:16 +00:00
OpenERP GTK R&D Team a5327f27f9 [MERGE] read_group: now returns count information for the groups
bzr revid: odo@openerp.com-20101124184433-eo54itrejuak0exp
2010-11-24 19:44:33 +01:00
Olivier Dony 30cb4b8891 [IMP] orm.orm: cleaned up comments after previous patches
bzr revid: odo@openerp.com-20101124184108-iw1up4jomysfoh85
2010-11-24 19:41:08 +01:00
Olivier Dony 0fa9b15868 [IMP] yaml_import: improved resolution of XML IDs
bzr revid: odo@openerp.com-20101124173222-177ra54gh0t5z0uy
2010-11-24 18:32:22 +01:00
Olivier Dony 7505e7d822 [FIX] websrv_lib: Darwin webdav workaround
bzr revid: odo@openerp.com-20101124173028-iumdj77clfhsnsuj
2010-11-24 18:30:28 +01:00
Olivier Dony 475667d384 [FIX] orm.import_data: also translate SQL constraints error messages that are not callable
bzr revid: odo@openerp.com-20101124172819-33ahiq3aacgwt8f2
2010-11-24 18:28:19 +01:00
Olivier Dony 03f3100346 [FIX] ir_actions: minor typo
bzr revid: odo@openerp.com-20101124164135-6qemb2nof0uzx2f2
2010-11-24 17:41:35 +01:00
Olivier Dony c34d2ae6d4 [FIX] res.user: code cleanup after merging previous patches
bzr revid: odo@openerp.com-20101124164105-xsd2nkit09g29gjl
2010-11-24 17:41:05 +01:00
Olivier Dony 276a54b0af [FIX] osv.osv: code cleanup after merging previous patches
bzr revid: odo@openerp.com-20101124164041-760b4zoidv0omu6c
2010-11-24 17:40:41 +01:00
Olivier Dony 458d7c7dea [FIX] addons.__init__: fixed mismatching logger API usage
bzr revid: odo@openerp.com-20101124163840-eyctlqtgjfq9h1u0
2010-11-24 17:38:40 +01:00
Olivier Dony af506691a3 [MERGE] merged second batch of fixes from xrg-pg84 branch
bzr revid: odo@openerp.com-20101124152707-ksfaru7en81x8xn2
2010-11-24 16:27:07 +01:00
vda (Open ERP) 097340e9a7 [FIX] Changed wizard field to many2many.
bzr revid: vda@tinyerp.com-20101124134814-0sm2ovho7uhglew7
2010-11-24 19:18:14 +05:30
vda (Open ERP) 4716280311 [FIX] proper function name.
bzr revid: vda@tinyerp.com-20101124133501-tda7mokabltu8gmr
2010-11-24 19:05:01 +05:30
vda (Open ERP) b676fca5e3 [FIX] Minor changes for wizard view action.
bzr revid: vda@tinyerp.com-20101124133205-puhsrloz66y96hbz
2010-11-24 19:02:05 +05:30
vda (Open ERP) 6de2cd6324 [FIX] Add openERP favourites global widget for all user.
bzr revid: vda@tinyerp.com-20101124120230-f4stb8s372dubkti
2010-11-24 17:32:30 +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
apa-tiny f1817dae8d [IMP]:Improved internal and internal landscape report header for good alignment.
bzr revid: apa@tinyerp.com-20101124101030-h5qhqjfknsqhl8iy
2010-11-24 15:40:30 +05:30
P. Christeas 12f4f6232c sql_db: only do frame inspection when debugging
This affects the "Cursor not closed explicitly..." message.
The message is at a "warning" level, but the frame inspection added
some expensive overhead to each cursor open. So, avoid that unless we
are at debug mode.

bzr revid: p_christ@hol.gr-20101124094853-0ljr6nebkyya0eui
2010-11-24 11:48:53 +02:00
apa-tiny 5e6bc10216 [MERGE]
bzr revid: apa@tinyerp.com-20101124043000-7ldthiwx1eze1ss7
bzr revid: apa@tinyerp.com-20101124050445-3o2szdqh6ys7xens
2010-11-24 10:34:45 +05:30
Launchpad Translations on behalf of openerp cb34b3f368 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101124045811-vl5c0cch1o2gl9o5
2010-11-24 04:58:11 +00:00
apa-tiny 219edf4cab [MERGE]
bzr revid: apa@tinyerp.com-20101124043258-wp0uz522nvw398b7
2010-11-24 10:02:58 +05:30
P. Christeas 5d53dcc700 websrv_lib: update copyright and remove bogus note
The reference to the "ganeti" project has always been totally arbitrary
and false. It is true that some parts of "websrv_lib" have been based
on Python's BaseHTTPServer and SimpleHTTPServer classes, but not more
than that. Overriding and perhaps resembling to parent classes is the
most common thing in OO programming. But never copied or knew about
any "ganeti" project whatsoever. (actually, the code mentioned at the
url admits itself that it copies the BaseHTTPServer, a common
denominator)

Git history to your help, all the code evolution is clearly recorded.

bzr revid: p_christ@hol.gr-20101123183357-fjroqywizql2qdkk
2010-11-23 20:33:57 +02:00
P. Christeas 597a871470 misc: import warnings, needed for earlier patch
bzr revid: p_christ@hol.gr-20101123180824-sk28lwc298v89rr4
2010-11-23 20:08:24 +02:00
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 a2ee48478a websrv_lib: add quirk for Darwin 9.x.x webdav clients.
They will report "HTTP/1.0" to us, while they support (and need) the
authorisation features of HTTP/1.1 .

This makes WebDAV work for some Mac OSX versions.

bzr revid: p_christ@hol.gr-20101123154448-0z7s5o77256cj1tu
2010-11-23 17:44:48 +02:00
P. Christeas c2c264467f fields: conform some default arguments to the coding standards
Side-effects may appear, let us test.

bzr revid: p_christ@hol.gr-20101123154408-qlkittdb7ogrqq2s
2010-11-23 17:44:08 +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 0c1061e4de module: improve over previous commit, fix mutable args
Conflicts:

	bin/addons/base/module/module.py

bzr revid: p_christ@hol.gr-20101123154306-j88k617evep9napa
2010-11-23 17:43:06 +02:00
Ferdinand Gassauer 09099f1ed8 module: sorted Features
returns alphabetically sorted Menu,Views,Reports to make these lists
readable for humans.

bzr revid: p_christ@hol.gr-20101123154255-4iazp4ec7wisn2sq
2010-11-23 17:42:55 +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 04c05faf9b yaml-import: fix working with deleted data
At some cases, ir.model.data is left with orphan entries, so ensure that
the message below is used (rather than "bool has no get()" exception).

Conflicts:

	bin/tools/yaml_import.py

bzr revid: p_christ@hol.gr-20101123153936-0cc4t4e2xwat70q1
2010-11-23 17:39:36 +02:00
P. Christeas 1fed78619f websrv_lib: abort request on partial headers.
While searching for the KTHML bug, noticed that partial http requests
would falsely be honoured. Instead, we must check if the full headers
(including the blank line) have been parsed before we dispatch the
request to the virtual handler class.

Conflicts:

	bin/service/websrv_lib.py

bzr revid: p_christ@hol.gr-20101123153558-oh44mjkhwjaebwow
2010-11-23 17:35:58 +02:00