odoo/odoo.git
13 years ago[FIX] ir.ui.view.*: added missing simple and combined indices (suggestion from Ferdin...
Olivier Dony [Fri, 10 Dec 2010 12:47:16 +0000 (13:47 +0100)]
[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

13 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Fri, 10 Dec 2010 05:01:28 +0000 (05:01 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20101210050128-aqt5gre9oatbameb

13 years ago[FIX] account: P&L and BS reports should properly compute the IDs passed to set_context()
Olivier Dony [Fri, 10 Dec 2010 00:35:57 +0000 (01:35 +0100)]
[FIX] account: P&L and BS reports should properly compute the IDs passed to set_context()
Now that the server uses the objects passed to the report to determine the company, these reports were failing, due to the peculiar way they pass
IDs between the wizard and report. Hopefully there are no other reports that need the same fix.

bzr revid: odo@openerp.com-20101210003557-pbaj9s1607zuof3j

13 years ago[FIX] fields.function: make sure all binary values can always be serialized as valid XML
Olivier Dony [Thu, 9 Dec 2010 23:07:42 +0000 (00:07 +0100)]
[FIX] fields.function: make sure all binary values can always be serialized as valid XML

Nnormally, binary fields should be 7-bit ASCII base64-encoded data, but sometimes
it's not the case, so we do additional sanity checks to make sure the binary values
can pass safely via xmlrpc as strings.

As a last resort we coerce the binary values to unicode to make sure they can
be safely serialized as utf-8-encoded values, always valid XML characters.
When this happens, decoding on the other endpoint is not likely to produce
the expected output, but this isjust a safety mechanism(in these cases base64
data or xmlrpc. Binary values should be returned instead by the function field.

In a future version we should probably switch to using XMLRPC Binary types always for
passing fields.binary values, but this requires more refactoring.

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

bzr revid: odo@openerp.com-20101209230742-gwf8e4zvmk43k6ln

13 years ago[FIX] res.lang.unlink: renamed local variable that shadowed the enclosing type, preve...
Olivier Dony [Thu, 9 Dec 2010 15:04:42 +0000 (16:04 +0100)]
[FIX] res.lang.unlink: renamed local variable that shadowed the enclosing type, preventing call to super()

bzr revid: odo@openerp.com-20101209150442-f47eucdfylpokagt

13 years ago[REVERT] project/board_project_manager_view.xml: reverted previous incorrect patch...
Olivier Dony [Wed, 8 Dec 2010 17:53:48 +0000 (18:53 +0100)]
[REVERT] project/board_project_manager_view.xml: reverted previous incorrect patch (incorrect view_id)

bzr revid: odo@openerp.com-20101208175348-rfp94f9w4js0nbrd

13 years ago[FIX] l10n_uk: set a valid certificate number (second try)
qdp-launchpad@tinyerp.com [Thu, 9 Dec 2010 12:14:57 +0000 (13:14 +0100)]
[FIX] l10n_uk: set a valid certificate number (second try)

bzr revid: qdp-launchpad@tinyerp.com-20101209121457-iokquzx4bzwsgzgh

13 years ago[FIX] l10n_uk: set a valid certificate number
qdp-launchpad@tinyerp.com [Thu, 9 Dec 2010 11:57:12 +0000 (12:57 +0100)]
[FIX] l10n_uk: set a valid certificate number

bzr revid: qdp-launchpad@tinyerp.com-20101209115712-tg62m1j4h4wsqli5

13 years ago[FIX] l10n_uk: set a new certificate number
qdp-launchpad@tinyerp.com [Thu, 9 Dec 2010 11:05:10 +0000 (12:05 +0100)]
[FIX] l10n_uk: set a new certificate number

bzr revid: qdp-launchpad@tinyerp.com-20101209110510-n9rw0rfdlhhyttlr

13 years ago[IMP] orm,base: added context to _constraints functions + use generic osv.osv.check_r...
Olivier Dony [Thu, 9 Dec 2010 10:57:33 +0000 (11:57 +0100)]
[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

13 years ago[MERGE] merged the xrg branch containing some bugfixes
qdp-launchpad@tinyerp.com [Thu, 9 Dec 2010 10:57:07 +0000 (11:57 +0100)]
[MERGE] merged the xrg branch containing some bugfixes

bzr revid: qdp-launchpad@tinyerp.com-20101209105707-uifumqic7znndr3n

13 years ago[IMP] tools.misc: enabled Hebrew (he_IL) language
Olivier Dony [Thu, 9 Dec 2010 09:19:04 +0000 (10:19 +0100)]
[IMP] tools.misc: enabled Hebrew (he_IL) language

bzr revid: odo@openerp.com-20101209091904-ytigf6ja7j65yx63

13 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Thu, 9 Dec 2010 04:58:02 +0000 (04:58 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20101209045022-g1ar37i6xtnr0jtq
bzr revid: launchpad_translations_on_behalf_of_openerp-20101209045802-ari4r0g7oouy55c8

13 years ago[MERGE] refactor maintenance.contract into publisher_warranty.contract + add system...
Nicolas Vanhoren [Wed, 8 Dec 2010 17:03:50 +0000 (18:03 +0100)]
[MERGE] refactor maintenance.contract into publisher_warranty.contract + add system logs scheduler

bzr revid: odo@openerp.com-20101208170350-p8tek7dk7wdtnzvb

13 years ago[IMP] Just removed small debug message in system logs cron.
niv-openerp [Wed, 8 Dec 2010 16:05:53 +0000 (17:05 +0100)]
[IMP] Just removed small debug message in system logs cron.

bzr revid: nicolas.vanhoren@openerp.com-20101208160553-g58841fmq93unt5y

13 years ago[IMP] Added timeout int the cron job to get the system logs.
niv-openerp [Wed, 8 Dec 2010 16:03:35 +0000 (17:03 +0100)]
[IMP] Added timeout int the cron job to get the system logs.

bzr revid: nicolas.vanhoren@openerp.com-20101208160335-00rlngburn1q04az

13 years ago[FIX] base,release: updated some remaining source files to AGPLv3 license
Olivier Dony [Wed, 8 Dec 2010 14:17:07 +0000 (15:17 +0100)]
[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

13 years ago[FIX] survey: changed license to AGPLv3
Olivier Dony [Wed, 8 Dec 2010 13:59:16 +0000 (14:59 +0100)]
[FIX] survey: changed license to AGPLv3

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

bzr revid: odo@openerp.com-20101208135916-3tqd9znhbi5u215c

13 years ago[IMP] Cosmetic changes
niv-openerp [Wed, 8 Dec 2010 13:43:09 +0000 (14:43 +0100)]
[IMP] Cosmetic changes

bzr revid: nicolas.vanhoren@openerp.com-20101208134309-3rrvthpank14ao69

13 years ago[IMP] license: renamed general license file, and included note about other applicable...
Olivier Dony [Wed, 8 Dec 2010 13:33:25 +0000 (14:33 +0100)]
[IMP] license: renamed general license file, and included note about other applicable licenses

bzr revid: odo@openerp.com-20101208133325-rlrtmzao8kzdp31o

13 years ago[FIX] osv.obj_list is broken via RPC and should not be available anymore
Olivier Dony [Wed, 8 Dec 2010 13:13:28 +0000 (14:13 +0100)]
[FIX] osv.obj_list is broken via RPC and should not be available anymore

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

bzr revid: odo@openerp.com-20101208131328-gycbi36423txdnc1

13 years ago[merge]
nvi-openerp [Wed, 8 Dec 2010 10:52:49 +0000 (11:52 +0100)]
[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

13 years ago[REM] @default attribute: not handled by the GTK client and not specified anywhere...
Xavier Morel [Wed, 8 Dec 2010 10:36:48 +0000 (11:36 +0100)]
[REM] @default attribute: not handled by the GTK client and not specified anywhere or by anyone

bzr revid: xmo@openerp.com-20101208103648-3qca263rux8g0030

13 years ago[REM] all @default attributes: they should not be there and they aren't handled by...
Xavier Morel [Wed, 8 Dec 2010 10:23:05 +0000 (11:23 +0100)]
[REM] all @default attributes: they should not be there and they aren't handled by the GTK client (as far as I know)

bzr revid: xmo@openerp.com-20101208102305-yd96zmg10exredgq

13 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Wed, 8 Dec 2010 04:48:43 +0000 (04:48 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20101208044843-iaflyr3xboujht6p

13 years ago[MERGE+FIX] merged improvements to report_webkit from Nicolas Bessi (C2C), after...
Olivier Dony [Tue, 7 Dec 2010 18:21:54 +0000 (19:21 +0100)]
[MERGE+FIX] merged improvements to report_webkit from Nicolas Bessi (C2C), after review
Also made the report_webkit registration system be less eager to replace the report instances, so report instances can override the engine sometimes

bzr revid: odo@openerp.com-20101207182154-pqw7ny8cpmodr0lv

13 years ago[FIX] tools.misc: correct argument to subprocess.Popen (via xrg, analysis/patch court...
Olivier Dony [Tue, 7 Dec 2010 17:05:51 +0000 (18:05 +0100)]
[FIX] tools.misc: correct argument to subprocess.Popen (via xrg, analysis/patch courtesy of Michael Telahun Makonnen)

lp bug: https://launchpad.net/bugs/685115 fixed
lp bug: https://launchpad.net/bugs/684661 fixed

bzr revid: odo@openerp.com-20101207170551-o19ab06g1h2x3ygz

13 years ago[FIX] reports: support for multi-company headers (pending improvements after v6.0)
Olivier Dony [Tue, 7 Dec 2010 16:15:23 +0000 (17:15 +0100)]
[FIX] reports: support for multi-company headers (pending improvements after v6.0)

bzr revid: odo@openerp.com-20101207161523-nxo1lz9u9edajbfa

13 years agosale: pack the warning message in one string (i18n), allow utf8 [Bug 684616]
P. Christeas [Tue, 7 Dec 2010 13:36:57 +0000 (15:36 +0200)]
sale: pack the warning message in one string (i18n), allow utf8 [Bug 684616]

As reported by Jacara, str(type_ul.name) would bork with unicode. In
addition, the concatenated string would be harder to translate.

bzr revid: p_christ@hol.gr-20101207133657-7tk732027zuj9whs

13 years agol10n_ro: fix the inherit of res.partner form
P. Christeas [Tue, 7 Dec 2010 13:36:44 +0000 (15:36 +0200)]
l10n_ro: fix the inherit of res.partner form

Since it needs to supplement the "vat" field, it should reference the
inherited "base_vat.view_partner_form" that introduces it, rather than
the "base.view_partner_form" that doesn't have it.

bzr revid: p_christ@hol.gr-20101207133644-0z0fc1b3h53u23fx

13 years agol10n_uk: invalidate the certificate
P. Christeas [Tue, 7 Dec 2010 13:36:35 +0000 (15:36 +0200)]
l10n_uk: invalidate the certificate

We cannot reuse the same certificate accross an addon rename.

bzr revid: p_christ@hol.gr-20101207133635-ohzh39tdvnrtxp87

13 years agobase_module_doc_rst: expand tabs at xml files.
P. Christeas [Tue, 7 Dec 2010 13:36:26 +0000 (15:36 +0200)]
base_module_doc_rst: expand tabs at xml files.

bzr revid: p_christ@hol.gr-20101207133626-6owfuexawo36v9sx

13 years agol10n_fr: xml indent one report.
P. Christeas [Tue, 7 Dec 2010 13:36:14 +0000 (15:36 +0200)]
l10n_fr: xml indent one report.

bzr revid: p_christ@hol.gr-20101207133614-ajv5lqb3qzunjjv0

13 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Tue, 7 Dec 2010 04:57:45 +0000 (04:57 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20101207045745-va45z3pzzv6xten7

13 years ago[FIX] base: missing import _() in base_module_upgrade
Olivier Dony [Mon, 6 Dec 2010 14:10:53 +0000 (15:10 +0100)]
[FIX] base: missing import _() in base_module_upgrade

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

bzr revid: odo@openerp.com-20101206141053-ckisp97vg8herdnr

13 years ago[FIX] ir_values: revert GTK-specific hack for search_view_id after GTK client was...
Olivier Dony [Mon, 6 Dec 2010 13:19:28 +0000 (14:19 +0100)]
[FIX] ir_values: revert GTK-specific hack for search_view_id after GTK client was fixed

bzr revid: odo@openerp.com-20101206131928-2ew6lqe1lz55vwh1

13 years ago[FIX] orm.read_group: support ordering by any field (not just m2o ones)
Olivier Dony [Mon, 6 Dec 2010 13:18:18 +0000 (14:18 +0100)]
[FIX] orm.read_group: support ordering by any field (not just m2o ones)

bzr revid: odo@openerp.com-20101206131818-ibah9gt409jbil3l

13 years ago[FIX] report.trml2pdf: fix path to locate <images> in RML
Olivier Dony [Mon, 6 Dec 2010 12:40:52 +0000 (13:40 +0100)]
[FIX] report.trml2pdf: fix path to locate <images> in RML

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

bzr revid: odo@openerp.com-20101206124052-01bp2395vxaenzry

13 years ago[MERGE] fix for search view bug 681479 + improved support for images in RML, both...
Olivier Dony [Mon, 6 Dec 2010 12:19:35 +0000 (13:19 +0100)]
[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

13 years ago[I18N] all: copy Serbian (sr.po) translations to Serbian Latin (sr@latin.po)
Olivier Dony [Mon, 6 Dec 2010 09:32:08 +0000 (10:32 +0100)]
[I18N] all: copy Serbian (sr.po) translations to Serbian Latin (sr@latin.po)
The idea is to keep all current Latin alphabet translations in the new SerbianLatin language  before changing the default Serbian translations to Cyrillic alphabet

bzr revid: odo@openerp.com-20101206093208-jiqnceg5zx7xvzjk

13 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Sun, 5 Dec 2010 04:53:19 +0000 (04:53 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20101204051645-1r4dxlktdeeiy2fn
bzr revid: launchpad_translations_on_behalf_of_openerp-20101205045319-cr1iy0be5p2hljje

13 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Sun, 5 Dec 2010 04:48:47 +0000 (04:48 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20101204051244-ovlrwt2mjmxq72kn
bzr revid: launchpad_translations_on_behalf_of_openerp-20101205044847-9vpsrsujiirbzrb3

13 years agohr_timesheet_invoice: fix yaml test
P. Christeas [Sat, 4 Dec 2010 13:40:37 +0000 (15:40 +0200)]
hr_timesheet_invoice: fix yaml test

refactored the pythonic code inside the yaml test to use a single browse
object and made that "partner = ..." line really work

bzr revid: p_christ@hol.gr-20101204134037-c5mjwehlxr443ogv

13 years agoir.values: do return the search_view_id of action windows [Bug 681479]
P. Christeas [Fri, 3 Dec 2010 16:46:06 +0000 (18:46 +0200)]
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

13 years agosql_db: only do frame inspection when debugging
P. Christeas [Fri, 3 Dec 2010 16:45:53 +0000 (18:45 +0200)]
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.

Conflicts:

bin/sql_db.py

bzr revid: p_christ@hol.gr-20101203164553-vudqkoqb0hpfsocj

13 years ago[FIX] base: check external dependencies at module update
Christophe Simonis [Fri, 3 Dec 2010 16:22:50 +0000 (17:22 +0100)]
[FIX] base: check external dependencies at module update

bzr revid: chs@openerp.com-20101203162250-y78gbf05yrcxm3nt

13 years ago[I18N] base: updated PO template after latest cleanup
Olivier Dony [Fri, 3 Dec 2010 16:11:51 +0000 (17:11 +0100)]
[I18N] base: updated PO template after latest cleanup

bzr revid: odo@openerp.com-20101203161151-s0gvqzkdhtoot0g1

13 years ago[ADD] base: support alphabet-specific languages as in Rosetta + enabled Serbian@Latin
Olivier Dony [Fri, 3 Dec 2010 16:09:07 +0000 (17:09 +0100)]
[ADD] base: support alphabet-specific languages as in Rosetta + enabled Serbian@Latin

bzr revid: odo@openerp.com-20101203160907-59ytzsl8ah2ebtxa

13 years ago[I18N] all: updated PO templates after latest cleanup
Olivier Dony [Fri, 3 Dec 2010 15:55:33 +0000 (16:55 +0100)]
[I18N] all: updated PO templates after latest cleanup

bzr revid: odo@openerp.com-20101203155533-bda40vcxelidfse9

13 years ago[ADD] base: yaml tests for basic domain expressions (including some for bug 626806...
Olivier Dony [Fri, 3 Dec 2010 14:25:25 +0000 (15:25 +0100)]
[ADD] base: yaml tests for basic domain expressions (including some for bug 626806), mostly courtesy of xrg

bzr revid: odo@openerp.com-20101203142525-xuf27cawn3j15lr7

13 years ago[MERGE] fix for bug 626806 by xrg - i.e. [(x2m,in,[])] should match nothing
Olivier Dony [Fri, 3 Dec 2010 14:23:42 +0000 (15:23 +0100)]
[MERGE] fix for bug 626806 by xrg - i.e. [(x2m,in,[])] should match nothing

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

bzr revid: odo@openerp.com-20101203142342-2g5k64qoouuuxyti

13 years ago[FIX] base,yaml: fixed !assert with "count" attribute in yaml tests + enabled more...
Olivier Dony [Fri, 3 Dec 2010 14:20:35 +0000 (15:20 +0100)]
[FIX] base,yaml: fixed !assert with "count" attribute in yaml tests + enabled more tests in base

bzr revid: odo@openerp.com-20101203142035-3h1min1htys5lhop

13 years ago[MERGE] merged the xrg branch, containing several small fixes
qdp-launchpad@tinyerp.com [Fri, 3 Dec 2010 12:05:43 +0000 (13:05 +0100)]
[MERGE] merged the xrg branch, containing several small fixes

bzr revid: qdp-launchpad@tinyerp.com-20101203120543-fp3k1adikqs45bjc

13 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Fri, 3 Dec 2010 05:08:40 +0000 (05:08 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20101202045120-2vnixg047yc43xoe
bzr revid: launchpad_translations_on_behalf_of_openerp-20101203050840-9zljmoeq0kphj3ow

13 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Fri, 3 Dec 2010 05:04:25 +0000 (05:04 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20101203050425-dkipvzhhptluivtz

13 years agoMerge commit '905f8b1d6c9e' into patch13
P. Christeas [Thu, 2 Dec 2010 20:19:37 +0000 (22:19 +0200)]
Merge commit '905f8b1d6c9e' into patch13

Conflicts:
crm_claim/crm_claim_demo.xml
project/board_project_manager_view.xml

bzr revid: p_christ@hol.gr-20101202201937-akh200wknpt9958h

13 years ago[FIX] base: res.widget.user: (transparently) prevent adding the same widget to the...
olt@tinyerp.com [Thu, 2 Dec 2010 11:44:35 +0000 (12:44 +0100)]
[FIX] base: res.widget.user: (transparently) prevent adding the same widget to the same user twice

bzr revid: olt@tinyerp.com-20101202114435-ofym2ntp3pf5ikx2

13 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Thu, 2 Dec 2010 04:46:46 +0000 (04:46 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20101201045818-0chsie3wfu7akdq5
bzr revid: launchpad_translations_on_behalf_of_openerp-20101202044646-fgoibpvnut416974

13 years ago[FIX] hr_payroll: no need to 'eval' in view_id attribute
olt@tinyerp.com [Wed, 1 Dec 2010 13:19:09 +0000 (14:19 +0100)]
[FIX] hr_payroll: no need to 'eval' in view_id attribute

bzr revid: olt@tinyerp.com-20101201131909-p0k732h89cij80y7

13 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Wed, 1 Dec 2010 05:03:27 +0000 (05:03 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20101130045411-k143t0b660w19cc7
bzr revid: launchpad_translations_on_behalf_of_openerp-20101201050327-5uo6676r282yjb1l

13 years ago[MERGE+FIX] fixes for translations,sequence,copy,error messages - some patches courte...
Olivier Dony [Tue, 30 Nov 2010 11:09:40 +0000 (12:09 +0100)]
[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

13 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Tue, 30 Nov 2010 04:48:03 +0000 (04:48 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20101130044803-uswrt8q7d2iyucgd

13 years agoexpression: fix "m2o, m2m in []" expressions, bug 626806
P. Christeas [Mon, 29 Nov 2010 18:34:13 +0000 (20:34 +0200)]
expression: fix "m2o, m2m in []" expressions, bug 626806

After some discussions, we decided that the desired behavior of the
ORM for one2many and many2many fields should be:
 (foobar_id,'in', []) => empty result, because the list is empty
 (foobar_id,'in',False) => find records that don't have a foobar

bzr revid: p_christ@hol.gr-20101129183413-yi1jzdwr1tis7d8t

13 years ago[MERGE] base/rng: missing day_length added to gantt element
François Degrave [Mon, 29 Nov 2010 14:30:43 +0000 (15:30 +0100)]
[MERGE] base/rng: missing day_length added to gantt element

bzr revid: odo@openerp.com-20101129143043-vy2qh63vxeaie5uh

13 years ago[MERGE] orm.read_group: partial support for orderby (m2o only so far)
Olivier Dony [Mon, 29 Nov 2010 14:12:04 +0000 (15:12 +0100)]
[MERGE] orm.read_group: partial support for orderby (m2o only so far)

bzr revid: odo@openerp.com-20101129141204-beieaccpl23pqmge

13 years ago[FIX] hr_holidays: no need to 'eval' in 'view_id' attribute (because it crashes)
olt@tinyerp.com [Mon, 29 Nov 2010 13:38:59 +0000 (14:38 +0100)]
[FIX] hr_holidays: no need to 'eval' in 'view_id' attribute (because it crashes)

bzr revid: olt@tinyerp.com-20101129133859-fadre6jo4c5ylxxh

13 years ago[FIX] project,account_followup: fixed <act_window>'s view_id after server update
Olivier Dony [Mon, 29 Nov 2010 09:39:58 +0000 (10:39 +0100)]
[FIX] project,account_followup: fixed <act_window>'s view_id after server update

bzr revid: odo@openerp.com-20101129093958-op2oy1qsr3x8fbp9

13 years ago[FIX] crm_claim: crm_claim4 was removed -> also remove its references
olt@tinyerp.com [Mon, 29 Nov 2010 08:32:33 +0000 (09:32 +0100)]
[FIX] crm_claim: crm_claim4 was removed -> also remove its references

bzr revid: olt@tinyerp.com-20101129083233-lqnde9lw94zy6ln8

13 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Mon, 29 Nov 2010 04:54:31 +0000 (04:54 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20101128045514-606cbqkwad1pi9z0
bzr revid: launchpad_translations_on_behalf_of_openerp-20101129045431-lxah7i1wwaqmvjdu

13 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Mon, 29 Nov 2010 04:50:13 +0000 (04:50 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20101127045140-kh4vuhmulphhntbv
bzr revid: launchpad_translations_on_behalf_of_openerp-20101128044930-geqyn9ydfsvk8n1y
bzr revid: launchpad_translations_on_behalf_of_openerp-20101129045013-ma2pla5t73axbub0

13 years agocaldav/wizard: remove duplicate act_window entries, use the view_id
P. Christeas [Sat, 27 Nov 2010 20:16:59 +0000 (22:16 +0200)]
caldav/wizard: remove duplicate act_window entries, use the view_id

bzr revid: p_christ@hol.gr-20101127201659-uqooowr8a4s90myb

13 years agoviews: fix xml records using <act_window view_id=... />
P. Christeas [Sat, 27 Nov 2010 20:16:56 +0000 (22:16 +0200)]
views: fix xml records using <act_window view_id=... />

The view_id had not been functioning as expected, and fixed today. So,
all these <act_window/> records that had it are now evaluated. These ones
broke after the server fix.

bzr revid: p_christ@hol.gr-20101127201656-bek6n0h4bxashwl2

13 years agocrm_claim: make sure we don't reference the stage_claim4 any more.
P. Christeas [Sat, 27 Nov 2010 20:16:52 +0000 (22:16 +0200)]
crm_claim: make sure we don't reference the stage_claim4 any more.

bzr revid: p_christ@hol.gr-20101127201652-rbpkl8o1fx7np9lg

13 years agoaccount/test: simplify Aged Partner Balance report, reduce imports
P. Christeas [Sat, 27 Nov 2010 20:16:30 +0000 (22:16 +0200)]
account/test: simplify Aged Partner Balance report, reduce imports

It has been importing md5, hashlib, warnings, netsvc and tools, which
are not really appropriate for testing code. Instead, port to the
"test_reports" testing helper.

The rest of the file needs to be ported, too. TODO.

bzr revid: p_christ@hol.gr-20101127201630-zaaowb4oaoxvxlv1

13 years agoproduct_expiry: don't define invalid EANs in demo data.
P. Christeas [Sat, 27 Nov 2010 20:16:26 +0000 (22:16 +0200)]
product_expiry: don't define invalid EANs in demo data.

bzr revid: p_christ@hol.gr-20101127201626-v7muq1xa1rhptb1v

13 years agohr_timesheet_invoice: fix tabs in yml test.
P. Christeas [Sat, 27 Nov 2010 20:16:22 +0000 (22:16 +0200)]
hr_timesheet_invoice: fix tabs in yml test.

bzr revid: p_christ@hol.gr-20101127201622-1ejourg60zu0si5i

13 years agoclaim_from_delivery: don't override stock.picking, partner_id is already there
P. Christeas [Sat, 27 Nov 2010 20:16:19 +0000 (22:16 +0200)]
claim_from_delivery: don't override stock.picking, partner_id is already there

This module had been inheriting stock.picking, and redefining the
"partner_id" column. Moreover, it has been redefining it with store=False,
which broke the parent stock.picking.

That's redundant, skip the whole class.

bzr revid: p_christ@hol.gr-20101127201619-qjmxvnw12kdqd2q2

13 years agodelivery, purchase, sale, stock_location: minor fixes, mutable args
P. Christeas [Sat, 27 Nov 2010 20:16:16 +0000 (22:16 +0200)]
delivery, purchase, sale, stock_location: minor fixes, mutable args

bzr revid: p_christ@hol.gr-20101127201616-fq46x1c2uo7s7b62

13 years agoaccount: one wording error in invoice's exception
P. Christeas [Sat, 27 Nov 2010 20:16:05 +0000 (22:16 +0200)]
account: one wording error in invoice's exception

bzr revid: p_christ@hol.gr-20101127201605-lzfk017mhmbbqwx8

13 years agoevent: fix call to _check_recursion, after last commit.
P. Christeas [Sat, 27 Nov 2010 20:15:41 +0000 (22:15 +0200)]
event: fix call to _check_recursion, after last commit.

bzr revid: p_christ@hol.gr-20101127201541-78wspzmaxdjt9cs2

13 years agoanalytic, event, crm_profiling: use new _check_recursion() from ORM
P. Christeas [Sat, 27 Nov 2010 20:15:32 +0000 (22:15 +0200)]
analytic, event, crm_profiling: use new _check_recursion() from ORM

bzr revid: p_christ@hol.gr-20101127201532-0ybt027d05qt52rp

13 years agoboard: fix a string typo
P. Christeas [Sat, 27 Nov 2010 20:14:37 +0000 (22:14 +0200)]
board: fix a string typo

It had been haunting our development process for years, making our teeth
turn green and our cow's milk turn sour.

bzr revid: p_christ@hol.gr-20101127201437-4y0xj8hamt7blk9j

13 years agoaccount.move.line: Fix ugly SQL call
P. Christeas [Sat, 27 Nov 2010 20:14:29 +0000 (22:14 +0200)]
account.move.line: Fix ugly SQL call

A matter of coding style, tripple quotes in the same line, put in a list
is just a candidate for the hall of shame.

bzr revid: p_christ@hol.gr-20101127201429-07u0bc8xra998zhi

13 years agoemail_template: cleanup the startup warning lines.
P. Christeas [Sat, 27 Nov 2010 20:14:08 +0000 (22:14 +0200)]
email_template: cleanup the startup warning lines.

Multiple coding malpractices (I can't name them errors, yet) were in those
lines:
 - they used the netsvc.Logger() interface, which is deprecated
 - they wrapped too much (we're not COBOL)
 - they used capital letters for an object
 - they defined a logger object that would live throughout the module
   life, although it would only be useful for startup
 - they used the gettext function, although there is absolutely no context
   around to provide a language.

bzr revid: p_christ@hol.gr-20101127201408-gnn6js103fbpw8ou

13 years agol10n_ch: port yaml tests to test_reports utility.
P. Christeas [Sat, 27 Nov 2010 20:13:48 +0000 (22:13 +0200)]
l10n_ch: port yaml tests to test_reports utility.

bzr revid: p_christ@hol.gr-20101127201348-2khma0uejh5fqm2d

13 years agomodifs
Fabien Pinckaers [Sat, 27 Nov 2010 16:46:51 +0000 (17:46 +0100)]
modifs

bzr revid: fp@tinyerp.com-20101127164651-tk8nhxom18ic2t31

13 years agofix
Fabien Pinckaers [Sat, 27 Nov 2010 16:37:12 +0000 (17:37 +0100)]
fix

bzr revid: fp@tinyerp.com-20101127163712-90hr1ixzh8ne4t2x

13 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Sat, 27 Nov 2010 04:55:28 +0000 (04:55 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20101127045528-74pnr913nxfe6luv

13 years ago[MERGE] font loading issues fixed + performance improvements at module install/load
Olivier Dony [Sat, 27 Nov 2010 03:20:14 +0000 (04:20 +0100)]
[MERGE] font loading issues fixed + performance improvements at module install/load

bzr revid: odo@openerp.com-20101127032014-fxrjaakuo3t4wvw4

13 years ago[IMP] ir_model,ir_module,tools: tweaks for improving module install/loading time
Olivier Dony [Sat, 27 Nov 2010 03:04:50 +0000 (04:04 +0100)]
[IMP] ir_model,ir_module,tools: tweaks for improving module install/loading time

bzr revid: odo@openerp.com-20101127030450-m44krmwbnpd57omf

13 years ago[FIX] convert,rng: <act_window> should support unambiguous view_id attribute
Olivier Dony [Sat, 27 Nov 2010 03:03:04 +0000 (04:03 +0100)]
[FIX] convert,rng: <act_window> should support unambiguous view_id attribute
+ cleanup of useless id_get param

bzr revid: odo@openerp.com-20101127030304-mvrb92rmgb0wblvc

13 years ago[IMP] report,fonts: fallback to default Adobe fonts when font is missing - pending...
Olivier Dony [Fri, 26 Nov 2010 18:30:43 +0000 (19:30 +0100)]
[IMP] report,fonts: fallback to default Adobe fonts when font is missing - pending improvement
We should maybe find a way to let users use their own fonts. At the moment only the 14 default Adobe fonts
(cfr reportlab.reportbase.pdfmetrics.standardFonts) + the ones from customfonts.py will work...
Also got rid of the mapping for ZapfDingBast, as it is a symbol font that cannot be mapped to a regular one.

bzr revid: odo@openerp.com-20101126183043-mrzipe7mdw1zs6g8

13 years ago[IMP] fix colspan on left-hand column of install wizards
Xavier Morel [Fri, 26 Nov 2010 17:09:30 +0000 (18:09 +0100)]
[IMP] fix colspan on left-hand column of install wizards

bzr revid: xmo@openerp.com-20101126170930-h87debplwcnvzui5

13 years ago[IMP] report.customfonts: more robust fonts detection and loading
Olivier Dony [Fri, 26 Nov 2010 17:07:05 +0000 (18:07 +0100)]
[IMP] report.customfonts: more robust fonts detection and loading

bzr revid: odo@openerp.com-20101126170705-en0wbjb3rna8r96b

13 years ago[MERGE] report: TTF fonts loading fixes ; convert: use newer ir.model.data API
P. Christeas [Fri, 26 Nov 2010 16:34:49 +0000 (17:34 +0100)]
[MERGE] report: TTF fonts loading fixes ; convert: use newer ir.model.data API

bzr revid: odo@openerp.com-20101126163449-51q4rb96w4glzfz8

13 years ago[MERGE] merged the dev team2 branch
qdp-launchpad@tinyerp.com [Fri, 26 Nov 2010 16:13:59 +0000 (17:13 +0100)]
[MERGE] merged the dev team2 branch

bzr revid: qdp-launchpad@tinyerp.com-20101126161359-s02ik0bmz3l8lt9u

13 years ago[MERGE] merged the dev3 branch
qdp-launchpad@tinyerp.com [Fri, 26 Nov 2010 16:04:54 +0000 (17:04 +0100)]
[MERGE] merged the dev3 branch

bzr revid: qdp-launchpad@tinyerp.com-20101126160454-7h9jwvqih2ds0va5

13 years ago[IMP] wip
nvi-openerp [Fri, 26 Nov 2010 15:20:48 +0000 (16:20 +0100)]
[IMP] wip

bzr revid: nicolas.vanhoren@openerp.com-20101126152048-bkyrmnpihkzzn7u8

13 years ago[FIX] account: statement reconciliaiton improved
qdp-launchpad@tinyerp.com [Fri, 26 Nov 2010 15:14:46 +0000 (16:14 +0100)]
[FIX] account: statement reconciliaiton improved

bzr revid: qdp-launchpad@tinyerp.com-20101126151446-72q1m6qc9efqqga0

13 years ago[FIX] account_sequence: ir.values for default internal sequence on new journals
qdp-launchpad@tinyerp.com [Fri, 26 Nov 2010 14:35:24 +0000 (15:35 +0100)]
[FIX] account_sequence: ir.values for default internal sequence on new journals

bzr revid: qdp-launchpad@tinyerp.com-20101126143524-gl3g2xkmr3eiy453