Commit Graph

24116 Commits

Author SHA1 Message Date
Olivier Dony 83115a45af [FIX] orm: preserve elements order when inheriting views, also after a leaf element
lp bug: https://launchpad.net/bugs/686275 fixed

bzr revid: odo@openerp.com-20101211012104-gt1cg3z1ec91mg34
2010-12-11 02:21:04 +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 1d85e7a0f6 [IMP] orm: additional error message about missing index on parent_[left|right] columns during creation
bzr revid: odo@openerp.com-20101211000951-gn5dejp3b7dyz24e
2010-12-11 01:09:51 +01:00
Olivier Dony 536e321ca7 [IMP] orm.search: more quietly ignore invalid m2o order spec + fallback to default _order
bzr revid: odo@openerp.com-20101211000810-h1sirszmh0xp52x4
2010-12-11 01:08:10 +01:00
Olivier Dony aaa3047bed [FIX] res.partner.category: use _parent_store and _parent_order to have correct natural order
lp bug: https://launchpad.net/bugs/665374 fixed

bzr revid: odo@openerp.com-20101211000450-1tfx298cc7aqliih
2010-12-11 01:04:50 +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 4226a3adb2 [FIX] orm: default search view should be more backwards-compatible and lenient
We should consider the select flag from the model as well as the attributes from tree+form view, as in v5.

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

bzr revid: odo@openerp.com-20101210212529-oc5n8n9w8ila9j4u
2010-12-10 22:25:29 +01:00
Olivier Dony 325ab53443 [I18N] all: updated all .pot files to match latest translation templates + minor cleanup
bzr revid: odo@openerp.com-20101210174027-q55ch2skn9qdetd8
2010-12-10 18:40:27 +01:00
Olivier Dony 7d0b2a70d1 [I18N] project_planning,association,crm_partner_assign: removed obsolete .pot file (from before module renaming)
bzr revid: odo@openerp.com-20101210171256-zs3pg32sz2wfyvpq
2010-12-10 18:12:56 +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
Fabien Pinckaers 098b92a207 [IMP] removed pricelist_sale & pricelist_purchase
bzr revid: fp@tinyerp.com-20101210155634-u44ao84d1prge4cx
2010-12-10 16:56:34 +01:00
YSA (OpenERP) 5b67a3154e [IMP] orm: somewhat better error message when view inheritance fails on non-<field> element
Inheritance at field level already has a correct error message

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

bzr revid: odo@openerp.com-20101210150355-jjdghifgyea07cv8
2010-12-10 16:03:55 +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
Launchpad Translations on behalf of openerp 4c9e63a383 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101210050128-aqt5gre9oatbameb
2010-12-10 05:01:28 +00:00
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
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