Commit Graph
5095 Commits
Author SHA1 Message Date
Fabien Pinckaers e15952531b fix_lp_673696
bzr revid: fp@tinyerp.com-20101221202418-no013141bquj5k6z
2010-12-21 21:24:18 +01:00
Fabien Pinckaers 3df9607a60 fix
bzr revid: fp@tinyerp.com-20101221201517-286g910bux4jas0o
2010-12-21 21:15:17 +01:00
Fabien Pinckaers 7cd08c8bc3 index on res_request
bzr revid: fp@tinyerp.com-20101221200635-9qjowoftlsxcf9lf
2010-12-21 21:06:35 +01:00
Fabien Pinckaers 698584b477 merge
bzr revid: fp@tinyerp.com-20101221193940-k11n92v4sdnr78jf
2010-12-21 20:39:40 +01:00
Fabien Pinckaers 80b21b75d9 [FIX] import / export
bzr revid: fp@tinyerp.com-20101221193847-z9rkx9o4gc0o92dd
2010-12-21 20:38:47 +01:00
Olivier Dony 7964fd96f8 [MERGE] tools.translate, test_reports, res_config: several bugfixes (see buglinks)
lp bug: https://launchpad.net/bugs/692845 fixed
lp bug: https://launchpad.net/bugs/692598 fixed
lp bug: https://launchpad.net/bugs/692746 fixed

bzr revid: odo@openerp.com-20101221170809-zqusunjw2em9xz9y
2010-12-21 18:08:09 +01:00
Olivier Dony 12ba501178 [FIX] convert: module install should fail when CSV import fails
lp bug: https://launchpad.net/bugs/672669 fixed

bzr revid: odo@openerp.com-20101221164548-za2o4239tk0xnrww
2010-12-21 17:45:48 +01:00
Olivier Dony 033179095f [IMP] orm: improve error reporting when importing m2m in CSV (courtesy of Martin Collins)
lp bug: https://launchpad.net/bugs/672669 fixed

bzr revid: odo@openerp.com-20101221152340-5mp5c36357amsi8m
2010-12-21 16:23:40 +01:00
Olivier Dony 7cca938586 [FIX] publisher_warranty: avoid trying to safe_eval() an empty string
lp bug: https://launchpad.net/bugs/691892 fixed

bzr revid: odo@openerp.com-20101221151445-th3cfbjw104g6ie9
2010-12-21 16:14:45 +01:00
P. Christeas 1970c59234 translate: fix usage of TinyPoFile.warn() [Bug 692845]
as reported by Phong Nguyen, thanks.

bzr revid: p_christ@hol.gr-20101221144646-74a9qy43nbiepbxu
2010-12-21 16:46:46 +02:00
P. Christeas 15893e879d test_reports: fix creating objects with o2m/m2m fields.
bzr revid: p_christ@hol.gr-20101221144605-2a9wkz8d25h172uf
2010-12-21 16:46:05 +02:00
P. Christeas 08f568ec0f res_config: fix unicode help + msg for already-installed addons [Bug 692598]
As reported by TFR.

bzr revid: p_christ@hol.gr-20101221144456-uy8xz2ovjbbj1qsk
2010-12-21 16:44:56 +02:00
P. Christeas bc9611bd40 translate: fix skipping one translation per .po file in a .tgz
Thanks TFR for asking me to translate the *single* term that had been
missing due that bug!
The .po file loop skips the first line of the supplied rows, but the
calling was not consistent to always provide the redudant header row.

bzr revid: p_christ@hol.gr-20101221144354-chc9oz6r3to75pu1
2010-12-21 16:43:54 +02:00
Olivier Dony e5ecadeda7 [FIX] tools.translate: remove useless duplicate line
bzr revid: odo@openerp.com-20101221143718-ml2xg42yypn6b8fm
2010-12-21 15:37:18 +01:00
Olivier Dony 1ba2ff569f [FIX] read_group: better support for empty 'fields' or 'groupby' parameters
lp bug: https://launchpad.net/bugs/692259 fixed

bzr revid: odo@openerp.com-20101221143714-nvvmg2zmbkowbx60
2010-12-21 15:37:14 +01:00
Launchpad Translations on behalf of openerp a67d3a287b Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101221132741-3ciykbz935xctho7
2010-12-21 13:27:41 +00:00
Vo Minh Thu (OpenERP) 35b9fd82ff [FIX] re-commit previous merge broken by bzr-rebase:
translate,orm: simplify loading of field value translations and avoid ignoring them when string has changed (many issues with menus not loaded yet)

bzr revid: odo@openerp.com-20101221105843-myzlkd74tci3puer
2010-12-21 11:58:43 +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
Olivier Dony a2055b6d31 [FIX] addons.zip_directory: ZipFile.write() still expects binary strings for filenames in python 2.5
lp bug: https://launchpad.net/bugs/690559 fixed

bzr revid: odo@openerp.com-20101220191724-mvu1rsf3sup19s9m
2010-12-20 20:17:24 +01:00
P. Christeas 75db037508 [MERGE] EAN13 and QR support in RML, simpler indices on workflows, cleanup of ir_ui_menu.py
lp bug: https://launchpad.net/bugs/532559 fixed

bzr revid: odo@openerp.com-20101220175802-z4yh5dlad0oob5hm
2010-12-20 18:58:02 +01:00
P. Christeas 8adeacd146 [MERGE] test_reports: helper function for testing wizard-based reports
bzr revid: odo@openerp.com-20101220174051-nf2m3edwo06rh4oc
2010-12-20 18:40:51 +01:00
Jay (OpenERP) 0170649b71 [FIX] convert: correct default value for <act_window>'s domain attribute
lp bug: https://launchpad.net/bugs/691438 fixed

bzr revid: odo@openerp.com-20101220172656-i8cgliwnt7g1dyh6
2010-12-20 18:26:56 +01:00
Olivier Dony dc4d460d16 [MERGE] translate,orm: simplify loading of field value translations and avoid ignoring them when string has changed (many issues with menus not loaded yet)
bzr revid: odo@openerp.com-20101220171813-882waudb2grz81jo
2010-12-20 18:18:13 +01:00
Xavier Morel b56127a689 [IMP] return the module version (installed_version) during web modules queries
bzr revid: xmo@openerp.com-20101220164648-4n78ghbov1rruei5
2010-12-20 17:46:48 +01:00
Olivier Dony 0fedbb3215 [FIX] fields.reference: don't accept half-defined references - second part of fix, in create()
lp bug: https://launchpad.net/bugs/604604 fixed

bzr revid: odo@openerp.com-20101220162501-v0xag7nwdhfij14f
2010-12-20 17:25:01 +01:00
Olivier Dony afed2d47fe [FIX] fields.reference: don't accept half-defined references, and avoid crashing on previous bad ones
lp bug: https://launchpad.net/bugs/604604 fixed

bzr revid: odo@openerp.com-20101220160959-f6x2kik46btf0uol
2010-12-20 17:09:59 +01:00
OpenERP edcbf91f03 [FIX] orm, translate: unconditionally set the translation from .pot to db, lookup a translation by name, type, and lang only (no more source string)
lp bug: https://launchpad.net/bugs/682092 fixed

bzr revid: openerp@vmt-hp4520s-20101220151523-vy4xzvahz80tara7
2010-12-20 16:15:23 +01:00
olt@tinyerp.com 4236d93ba5 [FIX] tools.convert: logger.log: first argument needs to be an integer, not a string
bzr revid: olt@tinyerp.com-20101220150747-4ull8wjwf7ichu9l
2010-12-20 16:07:47 +01:00
Launchpad Translations on behalf of openerp e81905c7bc Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101218050151-7b2d211zmlho0nz5
bzr revid: launchpad_translations_on_behalf_of_openerp-20101219044527-usqaexey3l5mc7a8
bzr revid: launchpad_translations_on_behalf_of_openerp-20101220044920-a2cwkndd2s79fpc0
2010-12-20 04:49:20 +00:00
P. Christeas aaac6a602f trml2pdf: Support EAN13 and QRcode barcodes, fix unicode warning [Bug 532559]
Since ReportLab supports them, include it in our list, too.
Also, fix the warning that has been appearing in buildbot, about
"code128.py:257: UnicodeWarning ..."
The issue is that string-capable barcodes will only support ASCII chars,
not Unicode. So, cast to str() and let ReportLab's code be happy.

Code was based on patch by: Omar (Pexego), on 22-06-2010

bzr revid: p_christ@hol.gr-20101219201127-mmrsn206a9vldr43
2010-12-19 22:11:27 +02: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
P. Christeas 656cb5753b test_reports: aesthetic improvements for the test_report_action
bzr revid: p_christ@hol.gr-20101219200627-7pju2glqrs53631u
2010-12-19 22:06:27 +02:00
P. Christeas 480a3441f3 test_reports: rename res_model, res_ids to active_model, active_ids
Requested by Odo, for consistency

bzr revid: p_christ@hol.gr-20101219200620-0mldt3s19xg6j5w5
2010-12-19 22:06:20 +02:00
P. Christeas 5918f08733 test_reports: first draft of a full action/wizard/report tester
Use with a yaml test like:
-
   I will test the action reports
-
  !python {model: res.partner}: |
    from tools import test_reports
    reload(test_reports) # ;)
    test_reports.try_report_action(cr, uid, 'action_account_balance_menu', our_module='account')

bzr revid: p_christ@hol.gr-20101219200608-ffl2k3qiexjxvp48
2010-12-19 22:06:08 +02:00
Olivier Dony 966907eaeb [FIX] fields_view_get: ignore non-element nodes during view inheritance resolution
lp bug: https://launchpad.net/bugs/494969 fixed

bzr revid: odo@openerp.com-20101217150527-4mv740mppqimvsnd
2010-12-17 16:05:27 +01:00
OpenERP ff55f829ce [FIX] translate: correctly set the translation for menus indirectly named by their action and not visible in the simplified view.
bzr revid: openerp@vmt-hp4520s-20101217123822-0g5h04fz92fxfn42
2010-12-17 13:38:22 +01:00
olt@tinyerp.com a536adce04 [FIX] addons/__init__.py: wrong number of arguments for format string
bzr revid: olt@tinyerp.com-20101217110210-sxqhhvj7dh96h58q
2010-12-17 12:02:10 +01:00
Launchpad Translations on behalf of openerp 0c1e226ba0 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101217045436-40c3ybxz4w1upvxu
2010-12-17 04:54:36 +00:00
Olivier Dony 6c1ec1803a [FIX] safe_eval: support for allowing auto-loading of python submodules, such as _strptime
bzr revid: odo@openerp.com-20101216183839-7mor9xfzbor2s9r7
2010-12-16 19:38:39 +01:00
Olivier Dony 0da4773e14 [IMP] orm.read_group: raise if called with group_by being a non-database-stored field
lp bug: https://launchpad.net/bugs/689070 fixed

bzr revid: odo@openerp.com-20101216183708-o61idware1v6tyk3
2010-12-16 19:37:08 +01:00
Olivier Dony a86a432edf [FIX] res_config: made strings in compatibility install wizard translatable
bzr revid: odo@openerp.com-20101216150430-8tg06fpfubdac4py
2010-12-16 16:04:30 +01:00
Olivier Dony d33f6f2903 [FIX] report_sxw: workaround to prevent crash of reports launched from wizards that pass invalid IDs
bzr revid: odo@openerp.com-20101216100749-z06fv08n4u5rhwl0
2010-12-16 11:07:49 +01:00
Launchpad Translations on behalf of openerp 1f377cca79 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101216044244-go321rqvup2m8l4y
bzr revid: launchpad_translations_on_behalf_of_openerp-20101216044841-ewqql1al8ld9es0h
2010-12-16 04:48:41 +00:00
Vo Minh Thu (OpenERP) d98a26fd42 [MERGE] orm: fixed translations for inherited views when the parent view uses a different model
bzr revid: odo@openerp.com-20101215182416-yk4n4krmw2anuyt3
2010-12-15 19:24:16 +01:00
sbh(OpenERP) 4fc6c7f16c [MERGE] rng,res.partner: enable "invisible" attribute for <page> elements + make partner History tab invisible by default (was empty)
bzr revid: odo@openerp.com-20101215155532-8mwx40b61o73xq03
2010-12-15 16:55:32 +01:00
Olivier Dony 842d565db1 [I18N] base: updated POT template after latest translation improvements
bzr revid: odo@openerp.com-20101215154433-v16938z982mlifmz
2010-12-15 16:44:33 +01:00
Olivier Dony 97ea0b97a3 [IMP] translate: _( ) should always use ir.translation OSV, no fallback to direct DB access needed
bzr revid: odo@openerp.com-20101215132128-1pxzjrde0bpu5smg
2010-12-15 14:21:28 +01: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