odoo/odoo.git
11 years ago[IMP] mail_message for portal users: actually only comment without subtype are not...
Thibault Delavallée [Tue, 14 May 2013 10:45:21 +0000 (12:45 +0200)]
[IMP] mail_message for portal users: actually only comment without subtype are not shown (internal notes).

bzr revid: tde@openerp.com-20130514104521-e8pbgvgn2xtmyr5o

11 years ago[FIX] portal mail: Override of _search and check_access_rule of mail_message to add...
Christophe Matthieu [Mon, 13 May 2013 14:40:24 +0000 (16:40 +0200)]
[FIX] portal mail: Override of _search and check_access_rule of mail_message to add specific access rights of mail.message, to remove all no discussion message if uid is a portal user.

bzr revid: chm@openerp.com-20130513144024-m1o4q8in62fe123b

11 years ago[FIX] mail_followers: avoid partners_to_notify parameter in _notify only if None...
Thibault Delavallée [Mon, 13 May 2013 14:26:33 +0000 (16:26 +0200)]
[FIX] mail_followers: avoid partners_to_notify parameter in _notify only if None, not if void.

bzr revid: tde@openerp.com-20130513142633-bf02usbabnncy6me

11 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Tue, 14 May 2013 06:25:45 +0000 (06:25 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20130514062545-amio4juyvdyzilre

11 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Tue, 14 May 2013 06:25:31 +0000 (06:25 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20130508061745-3w2v8zqbedx53bx0
bzr revid: launchpad_translations_on_behalf_of_openerp-20130513064606-6ynxgbs7f50s891m
bzr revid: launchpad_translations_on_behalf_of_openerp-20130514062531-mifd04b012g1kcz4

11 years ago[FIX] Menu NeedAction: Uncaught TypeError: Cannot call method 'do_reload_needaction...
Christophe Matthieu [Mon, 13 May 2013 12:59:15 +0000 (14:59 +0200)]
[FIX] Menu NeedAction: Uncaught TypeError: Cannot call method 'do_reload_needaction' of undefined

bzr revid: chm@openerp.com-20130513125915-clr79swr5amcjkio

11 years ago[FIX] needaction: issue 592134 'Uncaught TypeError: Cannot call method 'do_reload_nee...
Christophe Matthieu [Mon, 13 May 2013 11:22:02 +0000 (13:22 +0200)]
[FIX] needaction: issue 592134 'Uncaught TypeError: Cannot call method 'do_reload_needaction' of undefined'

bzr revid: chm@openerp.com-20130513112202-32sko79k23v5seq2

11 years ago[MERGE] fix de-anonymization process
Olivier [Mon, 13 May 2013 08:54:44 +0000 (10:54 +0200)]
[MERGE] fix de-anonymization process

bzr revid: olt@openerp.com-20130513085444-qvx73tn8auuxtqvn

11 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Mon, 13 May 2013 06:46:23 +0000 (06:46 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20130511062919-fsosj75j0ku21nob
bzr revid: launchpad_translations_on_behalf_of_openerp-20130512062708-98yyc1nsq3utfa71
bzr revid: launchpad_translations_on_behalf_of_openerp-20130513064623-zl0lsonr97jljbkj

11 years ago[FIX] anonymization: Flush queries list used in de-anonymization
vro [Mon, 13 May 2013 05:40:26 +0000 (11:10 +0530)]
[FIX] anonymization: Flush queries list used in de-anonymization

bzr revid: vro@tinyerp.com-20130513054026-1wco2hzkm85nz2ik

11 years ago[MERGE]product: space issue between the price and the currency
Martin Trigaux [Fri, 10 May 2013 14:24:31 +0000 (16:24 +0200)]
[MERGE]product: space issue between the price and the currency

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

bzr revid: mat@openerp.com-20130510142431-0x8846oxgk0x1ilc

11 years ago[IMP]product: remove space between the price and the currency
Martin Trigaux [Fri, 10 May 2013 13:49:44 +0000 (15:49 +0200)]
[IMP]product: remove space between the price and the currency

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

bzr revid: mat@openerp.com-20130510134944-s8yz9z6g0abdy0i7

11 years ago[MERGE]resource: opw 587786: use float_compare to avoid rounding issue for interval...
Martin Trigaux [Fri, 10 May 2013 09:23:26 +0000 (11:23 +0200)]
[MERGE]resource: opw 587786: use float_compare to avoid rounding issue for interval computation

bzr revid: mat@openerp.com-20130510092326-6ekur03kb7qtg0m5

11 years ago[FIX]resource: revert correctly
Martin Trigaux [Fri, 10 May 2013 08:26:54 +0000 (10:26 +0200)]
[FIX]resource: revert correctly

bzr revid: mat@openerp.com-20130510082654-102w20am9zvgspd7

11 years ago[IMP]resource: use correctly float_compare
Martin Trigaux [Fri, 10 May 2013 08:23:38 +0000 (10:23 +0200)]
[IMP]resource: use correctly float_compare

bzr revid: mat@openerp.com-20130510082338-055enqqpxcsuyp23

11 years ago[REF] revert useless chqnges
Martin Trigaux [Fri, 10 May 2013 08:18:03 +0000 (10:18 +0200)]
[REF] revert useless chqnges

bzr revid: mat@openerp.com-20130510081803-d08uqm4b3as588xp

11 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Fri, 10 May 2013 06:51:22 +0000 (06:51 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20130509061134-n0s13s5mudwpofan
bzr revid: launchpad_translations_on_behalf_of_openerp-20130510065122-6968relnf5rj67w4

11 years ago[MERGE] kill the executable bit on things that are clearly not executables or scripts
Martin Trigaux [Wed, 8 May 2013 14:45:21 +0000 (16:45 +0200)]
[MERGE] kill the executable bit on things that are clearly not executables or scripts

bzr revid: mat@openerp.com-20130508144521-bkvms15maji1ykpb

11 years ago[IMP] resource: use float_compare instead
Martin Trigaux [Wed, 8 May 2013 14:21:04 +0000 (16:21 +0200)]
[IMP] resource: use float_compare instead

bzr revid: mat@openerp.com-20130508142104-clgs1khxgktxlxsm

11 years ago[MERGE] opw584557: account: use current and previous fiscal year for account.config...
Martin Trigaux [Wed, 8 May 2013 13:42:08 +0000 (15:42 +0200)]
[MERGE] opw584557: account: use current and previous fiscal year for account.config.settings

bzr revid: mat@openerp.com-20130508134208-86v8j13t1781ul3m

11 years ago[IMP] account: compute default period for fiscal year
Martin Trigaux [Wed, 8 May 2013 13:14:38 +0000 (15:14 +0200)]
[IMP] account: compute default period for fiscal year

bzr revid: mat@openerp.com-20130508131438-nyzi49wbn61giecf

11 years ago[IMP] account: use DEFAULT_SERVER_DATETIME_FORMAT and merging in one method
Martin Trigaux [Wed, 8 May 2013 12:55:20 +0000 (14:55 +0200)]
[IMP] account: use DEFAULT_SERVER_DATETIME_FORMAT and merging in one method

bzr revid: mat@openerp.com-20130508125520-kf0pbgfislf34vay

11 years ago[IMP] account: use DEFAULT_SERVER_DATETIME_FORMAT
Martin Trigaux [Wed, 8 May 2013 12:34:40 +0000 (14:34 +0200)]
[IMP] account: use DEFAULT_SERVER_DATETIME_FORMAT

bzr revid: mat@openerp.com-20130508123440-kmtbv1vq4x03gr8k

11 years ago[IMP] better comment
Martin Trigaux [Wed, 8 May 2013 12:06:26 +0000 (14:06 +0200)]
[IMP] better comment

bzr revid: mat@openerp.com-20130508120626-tz68kaunfdv45paj

11 years ago[FIX] use correctly datetime objects
Martin Trigaux [Wed, 8 May 2013 11:57:08 +0000 (13:57 +0200)]
[FIX] use correctly datetime objects

bzr revid: mat@openerp.com-20130508115708-ut4jlp572dhxntsd

11 years ago[FIX] chatter: yet another protection against reloading a non-existing menu
Thibault Delavallée [Wed, 8 May 2013 11:39:52 +0000 (13:39 +0200)]
[FIX] chatter: yet another protection against reloading a non-existing menu

bzr revid: tde@openerp.com-20130508113952-29a1xk9holyvhc13

11 years ago[FIX] opw584557: account: better default fiscalyear dates for fiscalyears not 1/1...
Martin Trigaux [Wed, 8 May 2013 10:50:44 +0000 (12:50 +0200)]
[FIX] opw584557: account: better default fiscalyear dates for fiscalyears not 1/1-12/31

bzr revid: mat@openerp.com-20130508105044-fr3tf2t1zwmd6hko

11 years ago[FIX] [FIX] mail: fixed subscription of an already subscribed follower erasing alread...
Thibault Delavallée [Wed, 8 May 2013 10:23:04 +0000 (12:23 +0200)]
[FIX] [FIX] mail: fixed subscription of an already subscribed follower erasing already existing subtypes + added tests

bzr revid: tde@openerp.com-20130508102304-p52bq0qux9s7rses

11 years ago[FIX] hr_timesheet: improved perfomances on the read of timesheet sheets
Quentin (OpenERP) [Wed, 8 May 2013 08:59:38 +0000 (10:59 +0200)]
[FIX] hr_timesheet: improved perfomances on the read of timesheet sheets

bzr revid: qdp-launchpad@openerp.com-20130508085938-a2uyalx1cy2musj0

11 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Wed, 8 May 2013 06:18:08 +0000 (06:18 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20130508061808-15l9uv7xeeaar0cc

11 years ago[FIX] account_voucher: there is no reason to not post currency difference entry at...
Quentin (OpenERP) [Tue, 7 May 2013 14:54:27 +0000 (16:54 +0200)]
[FIX] account_voucher: there is no reason to not post currency difference entry at each full reconciliation, whatever the voucher and the line currencies

bzr revid: qdp-launchpad@openerp.com-20130507145427-39w05wwrp1vylb6k

11 years ago[FIX] account_voucher: fixed yaml test wromgly computing the entry related to the...
Quentin (OpenERP) [Tue, 7 May 2013 13:54:08 +0000 (15:54 +0200)]
[FIX] account_voucher: fixed yaml test wromgly computing the entry related to the currency difference

bzr revid: qdp-launchpad@openerp.com-20130507135408-jzp315rl29b6dwo9

11 years ago[FIX] account_voucher: post accounting entry related to a currency rate difference...
Quentin (OpenERP) [Tue, 7 May 2013 13:05:20 +0000 (15:05 +0200)]
[FIX] account_voucher: post accounting entry related to a currency rate difference in all cases

bzr revid: qdp-launchpad@openerp.com-20130507130520-3zndk5mt7mlvv3i7

11 years ago[FIX] account_voucher: display the payment_rate_currency_id field when needed
Quentin (OpenERP) [Tue, 7 May 2013 12:45:13 +0000 (14:45 +0200)]
[FIX] account_voucher: display the payment_rate_currency_id field when needed

bzr revid: qdp-launchpad@openerp.com-20130507124513-2st24rthgg8dlcv0

11 years ago[FIX] ir.ui.menu: safer eval of action contexts when computing needaction
Olivier Dony [Tue, 7 May 2013 10:40:25 +0000 (12:40 +0200)]
[FIX] ir.ui.menu: safer eval of action contexts when computing needaction

Unchecked eval of a context may fail for various reasons,
such as the use of client-side variables like `active_id`

bzr revid: odo@openerp.com-20130507104025-em6w03pcxeq92az9

11 years ago[FIX] resource: avoid floating point error in interval
Martin Trigaux [Tue, 7 May 2013 09:40:35 +0000 (11:40 +0200)]
[FIX] resource: avoid floating point error in interval

bzr revid: mat@openerp.com-20130507094035-rtbyzukv4shpx024

11 years ago[IMP] modules loading: log as INFO test files because, if they are logged as TEST...
Quentin (OpenERP) [Tue, 7 May 2013 09:24:22 +0000 (11:24 +0200)]
[IMP] modules loading: log as INFO test files because, if they are logged as TEST, the loading statement get lost in the mass of real TEST logs in case there are a lot of test files (more visible that way) + there are no reason to special case these files

bzr revid: qdp-launchpad@openerp.com-20130507092422-co9w0qug8k9zw16n

11 years ago[MERGE] account_voucher: fixes related to multi currency. All problems related to...
Quentin (OpenERP) [Tue, 7 May 2013 08:51:24 +0000 (10:51 +0200)]
[MERGE] account_voucher: fixes related to multi currency. All problems related to multi currency should now be completely solved :-)

bzr revid: qdp-launchpad@openerp.com-20130507085124-0eocvbmg9u8khq20

11 years ago[FIX] account_voucher: using a new partner for the new yaml test to avoid interferenc...
Quentin (OpenERP) [Tue, 7 May 2013 07:00:06 +0000 (09:00 +0200)]
[FIX] account_voucher: using a new partner for the new yaml test to avoid interferences in the other yaml tests

bzr revid: qdp-launchpad@openerp.com-20130507070006-4rnvkdkk09ri3k63

11 years ago[FIX] account: mandatory company_id not present in the config wizard if already confi...
Quentin (OpenERP) [Tue, 7 May 2013 06:51:25 +0000 (08:51 +0200)]
[FIX] account: mandatory company_id not present in the config wizard if already configured for this company, and thus it renders the view invisible as the company_id is empty and not visible

bzr revid: qdp-launchpad@openerp.com-20130507065125-4byqfqr20w9g9xzc

11 years ago[FIX] purchase: onchange of product now use information in the supplierinfo of the...
Quentin (OpenERP) [Tue, 7 May 2013 06:49:45 +0000 (08:49 +0200)]
[FIX] purchase: onchange of product now use information in the supplierinfo of the product for name and description if it exists

bzr revid: qdp-launchpad@openerp.com-20130507064945-o0ma2jxjp6dukceg

11 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Tue, 7 May 2013 06:14:22 +0000 (06:14 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20130507061422-tcgcyx0a27csccjw

11 years ago[MERGE] [FIX] mail: locate current menu using a safer method + check case
Thibault Delavallée [Mon, 6 May 2013 15:30:45 +0000 (17:30 +0200)]
[MERGE] [FIX] mail: locate current menu using a safer method + check  case

bzr revid: tde@openerp.com-20130506153045-mneydacxxugxn95p

11 years ago[MERGE] [FIX] mail: locate current menu using a safer method + check case
Thibault Delavallée [Mon, 6 May 2013 15:30:23 +0000 (17:30 +0200)]
[MERGE] [FIX] mail: locate current menu using a safer method + check  case

bzr revid: tde@openerp.com-20130506153023-8o1fl4jhunf3ks1p

11 years ago[FIX] account_voucher: replaced xml ids in new yaml test to avoid confusion in yaml...
Quentin (OpenERP) [Mon, 6 May 2013 15:23:38 +0000 (17:23 +0200)]
[FIX] account_voucher: replaced xml ids in new yaml test to avoid confusion in yaml import that is breaking the test

bzr revid: qdp-launchpad@openerp.com-20130506152338-4oev9dt0op7op6xe

11 years ago[FIX] do_load_needaction: properly reject `falsy` menu_ids
Olivier Dony [Mon, 6 May 2013 13:50:31 +0000 (15:50 +0200)]
[FIX] do_load_needaction: properly reject `falsy` menu_ids

bzr revid: odo@openerp.com-20130506135031-4y9qydjc67rugq60

11 years ago[FIX] account_voucher: fixed new yaml test
Quentin (OpenERP) [Mon, 6 May 2013 13:48:04 +0000 (15:48 +0200)]
[FIX] account_voucher: fixed new yaml test

bzr revid: qdp-launchpad@openerp.com-20130506134804-sdudzoyecjhkdr6b

11 years ago[FIX] mail: locate current menu using a safer method + check `undefined` case
Olivier Dony [Mon, 6 May 2013 13:39:15 +0000 (15:39 +0200)]
[FIX] mail: locate current menu using a safer method + check `undefined` case

bzr revid: odo@openerp.com-20130506133915-punpieubdyu1nxgl

11 years ago[ADD] account_voucher: new test for specific payment_rate specified on the voucher
Quentin (OpenERP) [Mon, 6 May 2013 10:07:08 +0000 (12:07 +0200)]
[ADD] account_voucher: new test for specific payment_rate specified on the voucher

bzr revid: qdp-launchpad@openerp.com-20130506100708-g2jwb3rlozqjsfmp

11 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Mon, 6 May 2013 06:35:52 +0000 (06:35 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20130427063416-maq2j295cuj0d2j4
bzr revid: launchpad_translations_on_behalf_of_openerp-20130429060435-zyumznnykvw92bfg
bzr revid: launchpad_translations_on_behalf_of_openerp-20130501051425-9uhm1n0nmvyus33i
bzr revid: launchpad_translations_on_behalf_of_openerp-20130506063526-tj5l5h3fger6llmw
bzr revid: launchpad_translations_on_behalf_of_openerp-20130501051533-veqndxlj87s13tnp
bzr revid: launchpad_translations_on_behalf_of_openerp-20130502060901-j2v1cs2l31in4q6t
bzr revid: launchpad_translations_on_behalf_of_openerp-20130503062950-h0ojr1tlzqx5nu76
bzr revid: launchpad_translations_on_behalf_of_openerp-20130504071101-jh8a9d3cb8gcz34e
bzr revid: launchpad_translations_on_behalf_of_openerp-20130505060428-4qacudpyuiez39b3
bzr revid: launchpad_translations_on_behalf_of_openerp-20130506063544-ggq3rpht7nsoinxs
bzr revid: launchpad_translations_on_behalf_of_openerp-20130504071108-g8u3u06xpp3g4sks
bzr revid: launchpad_translations_on_behalf_of_openerp-20130506063552-lwxw1ldh3mbflzqf

11 years ago[ ] empty commit to trigger a build in runbot
Quentin (OpenERP) [Fri, 3 May 2013 14:28:02 +0000 (16:28 +0200)]
[ ] empty commit to trigger a build in runbot

bzr revid: qdp-launchpad@openerp.com-20130503142802-xrzfahin53zqkirm

11 years ago[FIX] account_voucher: typo
Quentin (OpenERP) [Fri, 3 May 2013 11:57:11 +0000 (13:57 +0200)]
[FIX] account_voucher: typo

bzr revid: qdp-launchpad@openerp.com-20130503115711-bm693r6yjjsvspz5

11 years ago[FIX] need_action: avoid reloading needaction counters when there is no menu
Olivier Dony [Fri, 3 May 2013 10:22:48 +0000 (12:22 +0200)]
[FIX] need_action: avoid reloading needaction counters when there is no menu

- guard do_load_needaction to prevent exceptions when
  there is no menu to load
- avoid calling do_load_needaction where there is no
  menu to reload in the first place

bzr revid: odo@openerp.com-20130503102248-vjl1b8xju9uwfq97

11 years ago[FIX] account_voucher: complete fixing of vouchers in multi-currency.
Quentin (OpenERP) [Thu, 2 May 2013 22:59:37 +0000 (00:59 +0200)]
[FIX] account_voucher: complete fixing of vouchers in multi-currency.

*uniformized the computation in multi-currency in order to always use res_currency.compute()
*make sure to pass the right conversion rate to _current_rate() function using the context if it is specified on the voucher and, in this function, used the info from the context instead of the computed one if relevant. (This involves an ugly overwriting of the 'rate' field that will disappear in trunk: to stay backward compatible and avoid any update of 'base' module it has to be done this way).
*replace the currency_id field on the voucher by a fields.function (was a fields.related) in order to always have a currency, even if it's a voucher in the company currency. (makes the treatment easier and more consistent. Less error prone)
*misc code reaftoring

bzr revid: qdp-launchpad@openerp.com-20130502225937-ya45q2wvgqy7zo1c

11 years ago[FIX] force module paths to be bytestrings
Fabien Meghazi [Thu, 2 May 2013 12:36:57 +0000 (14:36 +0200)]
[FIX] force module paths to be bytestrings

Backport trunk Revision:
3729 revid:chm@openerp.com-20130502122806-1i9h8v0cvhb6p63q

The http controllers handler crashes when there are non-ascii chars in the url path.

`openerp.modules.module.ad_paths` containing unicode strings, werkzeug fail to compare the path `module` which is converted to ascii.
force `module` to be bytestrings

bzr revid: fme@openerp.com-20130502123657-f2sg50fq3216lh7d

11 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Wed, 1 May 2013 05:15:36 +0000 (05:15 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20130501051536-3ahyusc1ror0o9fn

11 years ago[MERGE] [FIX] mail: fixed a change introduced at revision 9080 that introduced a...
Thibault Delavallée [Tue, 30 Apr 2013 11:21:58 +0000 (13:21 +0200)]
[MERGE] [FIX] mail: fixed a change introduced at revision 9080 that introduced a dependance between a revision in web and in addons: now addons revision is independant of the web revision.

bzr revid: tde@openerp.com-20130430112158-8m8z0fclla3h2ds6

11 years ago[FIX] mail: fixed a change introduced at revision 3911 that introduced a dependance...
Thibault Delavallée [Tue, 30 Apr 2013 10:07:47 +0000 (12:07 +0200)]
[FIX] mail: fixed a change introduced at revision 3911 that introduced a dependance between a revision in web and in addons: now addons revision is independant of the web revision.

bzr revid: tde@openerp.com-20130430100747-9fcrbdbso1v0prgg

11 years ago[FIX] optimization necessary in some cases when kanban views can take more that 10...
niv-openerp [Tue, 30 Apr 2013 09:48:43 +0000 (11:48 +0200)]
[FIX] optimization necessary in some cases when kanban views can take more that 10 seconds to load

bzr revid: nicolas.vanhoren@openerp.com-20130430094843-9m1629m517vjtm1o

11 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Tue, 30 Apr 2013 06:37:04 +0000 (06:37 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20130430063704-q6sk7sup4c1ej18w

11 years ago[FIX]plugin: plugin_handler, push_message, if model is res.partner then we set the...
dle@openerp.com [Mon, 29 Apr 2013 13:05:57 +0000 (15:05 +0200)]
[FIX]plugin: plugin_handler, push_message, if model is res.partner then we set the type to 'comment' instead of 'email' to avoid the behaviour in mail/res_partner.py message_post

bzr revid: dle@openerp.com-20130429130557-0huoifszlg6g56ny

11 years ago[FIX]purchase: in a PO line, description of product should take into account product...
Cedric Snauwaert [Mon, 29 Apr 2013 11:48:32 +0000 (13:48 +0200)]
[FIX]purchase: in a PO line, description of product should take into account product supplier name and code

bzr revid: csn@openerp.com-20130429114832-jqtes30p1qnywotz

11 years ago[FIX] sale: safer inheritance of res.partner form view + no hiding of use_parent_addr...
Olivier Dony [Mon, 29 Apr 2013 10:54:58 +0000 (12:54 +0200)]
[FIX] sale: safer inheritance of res.partner form view + no hiding of use_parent_address field

The use_parent_address field is not directly related to the
address type field and was not really meant to be hidden
along with it.

In addition, the div[@name=div_type] and the corresponding
label[@for=type] were duplicated in the embedded form view
inside the `child_ids` field, but that happened later in
the 7.0 series. As a consequence the inherited view must
not rely on the presence of the latter, since some users
may install sales on top of an older version of the base
views. The XPath expressions were therefore modified to
match the first occurrence of these elements in the original
res.partner view, and to match *only* the second occurrence
in the new version of the view.
This works via a dirty hack relying on the fact that
the `use_parent_address` field is present in the first
occurrence of the div in the original view, but not
in the newer view, so the XPath expression can be made
to match only *one* element in each version of the view.
(Keep in mind that XPath evaluation will always return
results in the order of the document being looked up,
and the ORM only uses the first match. So matching
both nodes was not an option.)

bzr revid: odo@openerp.com-20130429105458-r89mnkx8okdxsdld

11 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Mon, 29 Apr 2013 06:04:57 +0000 (06:04 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20130427063440-bmcyenjvm2fm94ck
bzr revid: launchpad_translations_on_behalf_of_openerp-20130428054142-1k74s6tp0zv4aeu5
bzr revid: launchpad_translations_on_behalf_of_openerp-20130429060457-72jpzgm0ky022n8u

11 years ago[FIX] base_report_designer: more incorrect license headers in some source files,...
Olivier Dony [Fri, 26 Apr 2013 16:13:16 +0000 (18:13 +0200)]
[FIX] base_report_designer: more incorrect license headers in some source files, reported and contributed by Alec Leamas

Mixing LGPL 2.1 and AGPL 3.0 in the same source file
is incorrect, and the AGPLv3 license was added by
mistake: keep only LGPL license and preserve
copypright info.

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

bzr revid: odo@openerp.com-20130426161316-hox8tnep8gl4xa1n

11 years ago[FIX] rml2pdf: more incorrect license headers in some source files, reported by Alec...
Olivier Dony [Fri, 26 Apr 2013 16:11:06 +0000 (18:11 +0200)]
[FIX] rml2pdf: more incorrect license headers in some source files, reported by Alec Leamas

Mixing LGPL 2.1 and AGPL 3.0 in the same source file
is incorrect, and the AGPLv3 license was added by
mistake: keep only LGPL license and preserve
copypright info.

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

bzr revid: odo@openerp.com-20130426161106-wdb2mw4u541zfwfy

11 years ago[FIX] [FIX] Fix needaction counters, now updated dynamically.
Thibault Delavallée [Fri, 26 Apr 2013 09:36:53 +0000 (11:36 +0200)]
[FIX] [FIX] Fix needaction counters, now updated dynamically.
Needaction counters are now updated :
- when loading the menus (as before),
- when performing an action in a form view (update the current menu),
- when cliking on a top-level menu item (update all childs menus)

bzr revid: tde@openerp.com-20130426093653-gwdciylu26nfntzp

11 years ago[FIX] Fix needaction counters, now updated dynamically.
Thibault Delavallée [Fri, 26 Apr 2013 09:35:05 +0000 (11:35 +0200)]
[FIX] Fix needaction counters, now updated dynamically.
server branch: when reloading the needaction of some menus, also
reload those of related menus. Related menus are defined in the
context of the action associated with the menu, in a
needaction_menu_ref key that is a list of menu xml_ids.

bzr revid: tde@openerp.com-20130426093505-l8u8lovlswnj009q

11 years ago[FIX] Fix needaction counters, now updated dynamically.
Thibault Delavallée [Fri, 26 Apr 2013 09:34:43 +0000 (11:34 +0200)]
[FIX] Fix needaction counters, now updated dynamically.
Added a needaction_menu_ref key in the context of some actions to
automatically reload the counter of menus related to an action.
Various mailboxes are now dynamic.
Reading messages now increase/decrease the needaction counters with the
corect number.
Added a missing message_unread filter on My Tasks in project_gtd.

bzr revid: tde@openerp.com-20130426093443-dx3bwe0i6ubczb0e

11 years ago[REV] Removed code changed not related to this branch.
Thibault Delavallée [Fri, 26 Apr 2013 07:56:50 +0000 (09:56 +0200)]
[REV] Removed code changed not related to this branch.

bzr revid: tde@openerp.com-20130426075650-jxzw3h52idj2zp7y

11 years ago[REV] Removed change not related to this branch.
Thibault Delavallée [Fri, 26 Apr 2013 07:56:38 +0000 (09:56 +0200)]
[REV] Removed change not related to this branch.

bzr revid: tde@openerp.com-20130426075638-ofea10g8ll0z2h64

11 years ago[MERGE] Sync with 7.0
Thibault Delavallée [Fri, 26 Apr 2013 07:45:36 +0000 (09:45 +0200)]
[MERGE] Sync with 7.0

bzr revid: tde@openerp.com-20130425143845-si7n2luxdqpixjlf
bzr revid: tde@openerp.com-20130426074536-sto6625nzcbtdbah

11 years ago[MERGE] Sync with 7.0
Thibault Delavallée [Fri, 26 Apr 2013 07:45:30 +0000 (09:45 +0200)]
[MERGE] Sync with 7.0

bzr revid: tde@openerp.com-20130425143838-cl9k0fpml5r0q6bi
bzr revid: tde@openerp.com-20130426074530-16h0doe2cju6xkug

11 years ago[MERGE] Sync with 7.0
Thibault Delavallée [Fri, 26 Apr 2013 07:45:12 +0000 (09:45 +0200)]
[MERGE] Sync with 7.0

bzr revid: tde@openerp.com-20130425143852-vslppf235z2dyhjc
bzr revid: tde@openerp.com-20130426074512-10d3bsx7f0cki2aj

11 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Fri, 26 Apr 2013 06:24:16 +0000 (06:24 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20130426062412-awemubat7ag9ji19
bzr revid: launchpad_translations_on_behalf_of_openerp-20130426062416-6321y5y98sute3k0

11 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Fri, 26 Apr 2013 06:23:50 +0000 (06:23 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20130426062350-ld4zwiqlk38jvfw1

11 years ago[FIX] res.partner: typo would prevent contact from using company address correctly...
Olivier Dony [Thu, 25 Apr 2013 17:12:38 +0000 (19:12 +0200)]
[FIX] res.partner: typo would prevent contact from using company address correctly if flag changed without changing/setting company + updated tests to cover this

bzr revid: odo@openerp.com-20130425171238-dhgpqbi9nio12vxk

11 years ago[FIX] res.partner: make use_parent_address field visible if set, even if parent is...
Olivier Dony [Thu, 25 Apr 2013 16:39:16 +0000 (18:39 +0200)]
[FIX] res.partner: make use_parent_address field visible if set, even if parent is missing

This should not be needed but in the initial 7.0 branch
the default for use_parent_address was True so it was
set even on partners that had no parent company.
Now that the fields are read-only when that option
is enabled, it makes the address impossible to
edit. At least by making it visible we give the
user the opportunity of fixing it manually.

Can also be fixed at once with a single SQL
query:
UPDATE res_partner set use_parent_address = false
       WHERE parent_id IS NULL;

bzr revid: odo@openerp.com-20130425163916-ou7jjr6xbopfwvrc

11 years ago[FIX] project_gtd: added missing 'message_unread' filter to use in conjunction with...
Thibault Delavallée [Thu, 25 Apr 2013 14:38:07 +0000 (16:38 +0200)]
[FIX] project_gtd: added missing 'message_unread' filter to use in conjunction with the needaction counter.

bzr revid: tde@openerp.com-20130425143807-h94ivrj0eftvakte

11 years ago[CLEAN] cleaning: set(list), use directly a set
Thibault Delavallée [Thu, 25 Apr 2013 14:28:01 +0000 (16:28 +0200)]
[CLEAN] cleaning: set(list), use directly a set

bzr revid: tde@openerp.com-20130425142801-gwk9xsnhb3r20jji

11 years ago[FIX] account_voucher: usability changes related to multi currency use cases. Display...
Quentin (OpenERP) [Thu, 25 Apr 2013 12:52:44 +0000 (14:52 +0200)]
[FIX] account_voucher: usability changes related to multi currency use cases. Display the options when needed only

bzr revid: qdp-launchpad@openerp.com-20130425125244-nnqv127m0gc70e4s

11 years ago[FIX] stock: fixed stock valuation bookings made in multi currency
Quentin (OpenERP) [Thu, 25 Apr 2013 12:49:33 +0000 (14:49 +0200)]
[FIX] stock: fixed stock valuation bookings made in multi currency

bzr revid: qdp-launchpad@openerp.com-20130425124933-s7a7724si9lenpsp

11 years ago[FIX] account: fixed bad constraint message
Quentin (OpenERP) [Thu, 25 Apr 2013 12:44:53 +0000 (14:44 +0200)]
[FIX] account: fixed bad constraint message

bzr revid: qdp-launchpad@openerp.com-20130425124453-gc42mimtn6dfec3u

11 years ago[FIX] account_voucher: usability improvement related to multi currency
Quentin (OpenERP) [Thu, 25 Apr 2013 12:44:04 +0000 (14:44 +0200)]
[FIX] account_voucher: usability improvement related to multi currency

bzr revid: qdp-launchpad@openerp.com-20130425124404-t22dzpv0rtohoh9y

11 years ago[FIX] account_voucher: pay invoice 'wizard' now displays 1) the monetary widget even...
Quentin (OpenERP) [Thu, 25 Apr 2013 12:18:15 +0000 (14:18 +0200)]
[FIX] account_voucher: pay invoice 'wizard' now displays 1) the monetary widget even if the journal is in the company currency and 2) the writeoff fields

bzr revid: qdp-launchpad@openerp.com-20130425121815-nbooi3hpah8wqdxc

11 years ago[FIX]chart of account wizard: show company id field in wizard view
Cedric Snauwaert [Thu, 25 Apr 2013 12:06:04 +0000 (14:06 +0200)]
[FIX]chart of account wizard: show company id field in wizard view

bzr revid: csn@openerp.com-20130425120604-2toia7v6yuemjl6g

11 years ago[FIX] Chatter: suggested recipients: avoid displaying (false) when having suggested...
Thibault Delavallée [Thu, 25 Apr 2013 09:39:53 +0000 (11:39 +0200)]
[FIX] Chatter: suggested recipients: avoid displaying (false) when having suggested recipient without email address

bzr revid: tde@openerp.com-20130425093953-ech46xrkbjjupn3j

11 years ago[FIX] mail: invite: avoid sendign a void invite message; but cleditor produces <br...
Thibault Delavallée [Thu, 25 Apr 2013 08:52:56 +0000 (10:52 +0200)]
[FIX] mail: invite: avoid sendign a void invite message; but cleditor produces <br> instead of a void message when deleting the widget content.

bzr revid: tde@openerp.com-20130425085256-6jpfesyhbo7qgis3

11 years ago[FIX] hr: welcome message translatable.
Thibault Delavallée [Thu, 25 Apr 2013 09:12:56 +0000 (11:12 +0200)]
[FIX] hr: welcome message translatable.

bzr revid: tde@openerp.com-20130425091256-qan1jkw1875zhthh

11 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Thu, 25 Apr 2013 06:06:09 +0000 (06:06 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20130425060541-r1eqpc1djb3vy953
bzr revid: launchpad_translations_on_behalf_of_openerp-20130425060609-9otf0125cci1hjvi

11 years ago[FIX] res.partner: always call write() with a list of IDs, a single ID is not valid...
Olivier Dony [Wed, 24 Apr 2013 13:16:25 +0000 (15:16 +0200)]
[FIX] res.partner: always call write() with a list of IDs, a single ID is not valid! (even if it works sometimes)

bzr revid: odo@openerp.com-20130424131625-aeljtyo5yuiyrlcz

11 years ago[IMP]Improve code
Vishmita Jadeja (openerp) [Wed, 24 Apr 2013 13:12:41 +0000 (18:42 +0530)]
[IMP]Improve code

bzr revid: vja@tinyerp.com-20130424131241-m9katp6tlbbnr9kd

11 years ago[IMP]False return when there is no email address in recipient in chatter
Vishmita Jadeja (openerp) [Wed, 24 Apr 2013 12:34:25 +0000 (18:04 +0530)]
[IMP]False return when there is no email address in recipient in chatter

bzr revid: vja@tinyerp.com-20130424123425-jo6i7jg8albrbhi2

11 years ago[REV] revert of commit 4953 that was not appropriate for a stable version. Will be...
Quentin (OpenERP) [Wed, 24 Apr 2013 09:34:03 +0000 (11:34 +0200)]
[REV] revert of commit 4953 that was not appropriate for a stable version. Will be back in trunk

bzr revid: qdp-launchpad@openerp.com-20130424093403-9dk8yap427kbndzi

11 years ago[FIX] hr_timesheet: proper fix for previously reverted commit 9058. Don't return...
Quentin (OpenERP) [Wed, 24 Apr 2013 09:28:10 +0000 (11:28 +0200)]
[FIX] hr_timesheet: proper fix for previously reverted commit 9058. Don't return a default value for journal and product if the uid doesn't have read access on it

bzr revid: qdp-launchpad@openerp.com-20130424092810-qmkgr66pv770euv3

11 years ago[REV] revert of commit 9058, that was not appropriate for a stable version (again...
Quentin (OpenERP) [Wed, 24 Apr 2013 09:23:26 +0000 (11:23 +0200)]
[REV] revert of commit 9058, that was not appropriate for a stable version (again). :-s

bzr revid: qdp-launchpad@openerp.com-20130424092326-tec7siywgg4pbfu4

11 years ago[FIX] pad: display problem due to wrong css selectors
niv-openerp [Wed, 24 Apr 2013 07:54:06 +0000 (09:54 +0200)]
[FIX] pad: display problem due to wrong css selectors

bzr revid: nicolas.vanhoren@openerp.com-20130424075406-eemkxc7eyyvgiywi

11 years ago[FIX] pad: regression that caused a stack trace
niv-openerp [Wed, 24 Apr 2013 07:46:38 +0000 (09:46 +0200)]
[FIX] pad: regression that caused a stack trace

bzr revid: nicolas.vanhoren@openerp.com-20130424074638-aq3o08v7z9j1asz0

11 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Wed, 24 Apr 2013 05:28:45 +0000 (05:28 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20130424052821-pkggcy9qr4rmhl53
bzr revid: launchpad_translations_on_behalf_of_openerp-20130424052845-9nzv2aje2g99c9eq

11 years ago[FIX] workers, listen backlog based on the number of workers
Antony Lesuisse [Tue, 23 Apr 2013 22:22:45 +0000 (00:22 +0200)]
[FIX] workers, listen backlog based on the number of workers

bzr revid: al@openerp.com-20130423222245-i3gw87v7rktsb23y