Commit Graph

24113 Commits

Author SHA1 Message Date
uco (OpenERP) d827b2f6ea [REF]: Added remaining context changes in _constraints. Removed unnecessary checking for context from methods.
bzr revid: uco@tinyerp.com-20101213064309-vg36f1510xv2f8zb
2010-12-13 12:13:09 +05:30
uco (OpenERP) 8596a9626b [MERGE]
bzr revid: uco@tinyerp.com-20101209113128-y3xryg2uy0gxopyc
bzr revid: uco@tinyerp.com-20101210063216-oa2hc5xb14v50jof
2010-12-10 12:02:16 +05:30
Olivier Dony ff1d7c7209 [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
2010-12-10 01:35:57 +01:00
Olivier Dony bb82904ba3 [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
2010-12-10 00:07:42 +01:00
Olivier Dony eb25611f00 [FIX] res.lang.unlink: renamed local variable that shadowed the enclosing type, preventing call to super()
bzr revid: odo@openerp.com-20101209150442-f47eucdfylpokagt
2010-12-09 16:04:42 +01:00
Olivier Dony aa27cd5b1c [REVERT] project/board_project_manager_view.xml: reverted previous incorrect patch (incorrect view_id)
bzr revid: odo@openerp.com-20101208175348-rfp94f9w4js0nbrd
2010-12-08 18:53:48 +01:00
qdp-launchpad@tinyerp.com 542b15e5b8 [FIX] l10n_uk: set a valid certificate number (second try)
bzr revid: qdp-launchpad@tinyerp.com-20101209121457-iokquzx4bzwsgzgh
2010-12-09 13:14:57 +01:00
qdp-launchpad@tinyerp.com 172c0cda3e [FIX] l10n_uk: set a valid certificate number
bzr revid: qdp-launchpad@tinyerp.com-20101209115712-tg62m1j4h4wsqli5
2010-12-09 12:57:12 +01:00
qdp-launchpad@tinyerp.com a8a985eecc [FIX] l10n_uk: set a new certificate number
bzr revid: qdp-launchpad@tinyerp.com-20101209110510-n9rw0rfdlhhyttlr
2010-12-09 12:05:10 +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
qdp-launchpad@tinyerp.com c8f985e831 [MERGE] merged the xrg branch containing some bugfixes
bzr revid: qdp-launchpad@tinyerp.com-20101209105707-uifumqic7znndr3n
2010-12-09 11:57:07 +01:00
Olivier Dony 7c7586686d [IMP] tools.misc: enabled Hebrew (he_IL) language
bzr revid: odo@openerp.com-20101209091904-ytigf6ja7j65yx63
2010-12-09 10:19:04 +01:00
Launchpad Translations on behalf of openerp e2d025c961 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101209045022-g1ar37i6xtnr0jtq
bzr revid: launchpad_translations_on_behalf_of_openerp-20101209045802-ari4r0g7oouy55c8
2010-12-09 04:58:02 +00: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
niv-openerp 402236d40d [IMP] Just removed small debug message in system logs cron.
bzr revid: nicolas.vanhoren@openerp.com-20101208160553-g58841fmq93unt5y
2010-12-08 17:05:53 +01:00
niv-openerp a1b38101d8 [IMP] Added timeout int the cron job to get the system logs.
bzr revid: nicolas.vanhoren@openerp.com-20101208160335-00rlngburn1q04az
2010-12-08 17:03:35 +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
Olivier Dony 9bac691edb [FIX] survey: changed license to AGPLv3
lp bug: https://launchpad.net/bugs/531401 fixed

bzr revid: odo@openerp.com-20101208135916-3tqd9znhbi5u215c
2010-12-08 14:59:16 +01:00
niv-openerp 3d3e843e7b [IMP] Cosmetic changes
bzr revid: nicolas.vanhoren@openerp.com-20101208134309-3rrvthpank14ao69
2010-12-08 14:43:09 +01:00
Olivier Dony a970c497a6 [IMP] license: renamed general license file, and included note about other applicable licenses
bzr revid: odo@openerp.com-20101208133325-rlrtmzao8kzdp31o
2010-12-08 14:33:25 +01:00
Olivier Dony 14b7e37bf5 [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
2010-12-08 14:13:28 +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
Xavier Morel 0fe0c17068 [REM] @default attribute: not handled by the GTK client and not specified anywhere or by anyone
bzr revid: xmo@openerp.com-20101208103648-3qca263rux8g0030
2010-12-08 11:36:48 +01:00
Xavier Morel f21577dde9 [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
2010-12-08 11:23:05 +01:00
Launchpad Translations on behalf of openerp 00f2f6b97d Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101208044843-iaflyr3xboujht6p
2010-12-08 04:48:43 +00:00
Olivier Dony 3af41c626c [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
2010-12-07 19:21:54 +01:00
Olivier Dony 592d666e51 [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
2010-12-07 18:05:51 +01:00
Olivier Dony 8233e8b505 [FIX] reports: support for multi-company headers (pending improvements after v6.0)
bzr revid: odo@openerp.com-20101207161523-nxo1lz9u9edajbfa
2010-12-07 17:15:23 +01:00
P. Christeas e37f0384f8 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
2010-12-07 15:36:57 +02:00
P. Christeas edb16c16de 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
2010-12-07 15:36:44 +02:00
P. Christeas 082b1a5872 l10n_uk: invalidate the certificate
We cannot reuse the same certificate accross an addon rename.

bzr revid: p_christ@hol.gr-20101207133635-ohzh39tdvnrtxp87
2010-12-07 15:36:35 +02:00
P. Christeas f2e5b43000 base_module_doc_rst: expand tabs at xml files.
bzr revid: p_christ@hol.gr-20101207133626-6owfuexawo36v9sx
2010-12-07 15:36:26 +02:00
P. Christeas a1f84b2a4e l10n_fr: xml indent one report.
bzr revid: p_christ@hol.gr-20101207133614-ajv5lqb3qzunjjv0
2010-12-07 15:36:14 +02:00
Launchpad Translations on behalf of openerp 3bde229bc3 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101207045745-va45z3pzzv6xten7
2010-12-07 04:57:45 +00:00
Olivier Dony 8d5d7b1cbe [FIX] base: missing import _() in base_module_upgrade
lp bug: https://launchpad.net/bugs/685949 fixed

bzr revid: odo@openerp.com-20101206141053-ckisp97vg8herdnr
2010-12-06 15:10:53 +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 6f0660eaa0 [FIX] orm.read_group: support ordering by any field (not just m2o ones)
bzr revid: odo@openerp.com-20101206131818-ibah9gt409jbil3l
2010-12-06 14:18:18 +01:00
uco (OpenERP) b1cf433ecc [MERGE]: Merged with trunk-addons.
bzr revid: uco@tinyerp.com-20101206131102-z2xzz8eshkswo00q
2010-12-06 18:41:02 +05:30
Olivier Dony 77134eca55 [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
2010-12-06 13:40:52 +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
Olivier Dony 5350ab0c19 [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
2010-12-06 10:32:08 +01:00
Launchpad Translations on behalf of openerp 50be667595 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101204051645-1r4dxlktdeeiy2fn
bzr revid: launchpad_translations_on_behalf_of_openerp-20101205045319-cr1iy0be5p2hljje
2010-12-05 04:53:19 +00:00
Launchpad Translations on behalf of openerp b18eabbd97 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101204051244-ovlrwt2mjmxq72kn
bzr revid: launchpad_translations_on_behalf_of_openerp-20101205044847-9vpsrsujiirbzrb3
2010-12-05 04:48:47 +00:00
P. Christeas f76eff791f 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
2010-12-04 15:40:37 +02: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
P. Christeas dd0510428f 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
2010-12-03 18:45:53 +02:00
Christophe Simonis 5cd8b368b2 [FIX] base: check external dependencies at module update
bzr revid: chs@openerp.com-20101203162250-y78gbf05yrcxm3nt
2010-12-03 17:22:50 +01:00
Olivier Dony 62182bdb31 [I18N] base: updated PO template after latest cleanup
bzr revid: odo@openerp.com-20101203161151-s0gvqzkdhtoot0g1
2010-12-03 17:11:51 +01: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 c95efe7997 [I18N] all: updated PO templates after latest cleanup
bzr revid: odo@openerp.com-20101203155533-bda40vcxelidfse9
2010-12-03 16:55:33 +01:00