odoo/odoo.git
11 years ago[MERGE] openerp.modules.migration: do not shadow AttributeError that may occure when...
Christophe Simonis [Wed, 8 May 2013 12:09:51 +0000 (14:09 +0200)]
[MERGE] openerp.modules.migration: do not shadow AttributeError that may occure when executing the migrate() function

bzr revid: odo@openerp.com-20130508102347-5cnvli102hgrzxml
bzr revid: chs@openerp.com-20130508120951-0r17kb14yxr4r2l2

11 years ago[IMP] openerp.modules.migration: lint file; remove unused imports, reorder imports...
Christophe Simonis [Wed, 8 May 2013 10:50:56 +0000 (12:50 +0200)]
[IMP] openerp.modules.migration: lint file; remove unused imports, reorder imports, reformat literal dict creation

bzr revid: chs@openerp.com-20130508105056-v4arz8d2kem5sngi

11 years ago[FIX] openerp.modules.migration: do not shadow AttributeError that may occure when...
Christophe Simonis [Wed, 8 May 2013 10:46:58 +0000 (12:46 +0200)]
[FIX] openerp.modules.migration: do not shadow AttributeError that may occure when executing the migrate() function

bzr revid: chs@openerp.com-20130508104658-d2553vdx0etiuhpk

11 years ago[IMP] request add registry_cr helper
Antony Lesuisse [Tue, 7 May 2013 18:25:21 +0000 (20:25 +0200)]
[IMP] request add registry_cr helper

bzr revid: al@openerp.com-20130507182521-seuuzkd6uvuxc9xo

11 years ago[FIX] mail: fix typos + wrong URL links + wrong translation marks in mail signature
Olivier Dony [Tue, 7 May 2013 17:54:32 +0000 (19:54 +0200)]
[FIX] mail: fix typos + wrong URL links + wrong translation marks in mail signature

bzr revid: odo@openerp.com-20130507175432-kslh1hl7w6ule5fq

11 years ago[FIX] account: split the actions to open analytic accounts, as context is not compatible
Olivier Dony [Tue, 7 May 2013 16:51:13 +0000 (18:51 +0200)]
[FIX] account: split the actions to open analytic accounts, as context is not compatible

The same action was erroneously used in two incompatible
cases: once for openining the list of analytic accounts
from a partner form view (requires a special context
with a client-side `active_id` variable) and the second
one for the main Analytic Account menu item (which
cannot have `active_id` in the context - it would crash).

The fix includes setting an empty ({}) context explicitly
on the original action to be sure the incorrect context
is removed upon update.

The error was introduced at rev.8685
revid:qdp-launchpad@openerp.com-20130418125951-8p0tfexd9jj8l75b

bzr revid: odo@openerp.com-20130507165113-67lam91046t56ky8

11 years ago[MERGE] Forward-port of 7.0 bugfixes up to rev.4970
Olivier Dony [Tue, 7 May 2013 11:20:24 +0000 (13:20 +0200)]
[MERGE] Forward-port of 7.0 bugfixes up to rev.4970

revision-id: odo@openerp.com-20130507104025-em6w03pcxeq92az9

bzr revid: odo@openerp.com-20130507112024-p3cukmwp7d8xm2e0

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[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] tools.safe_eval: inconsistent indentation
Olivier Dony [Tue, 7 May 2013 08:49:19 +0000 (10:49 +0200)]
[FIX] tools.safe_eval: inconsistent indentation

bzr revid: odo@openerp.com-20130507084919-zovnqiv0axc3ikr3

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] Remove invite email when validating an invoice. Fixed in 7 but lost when mergin...
Christophe Matthieu [Mon, 6 May 2013 13:56:53 +0000 (15:56 +0200)]
[FIX] Remove invite email when validating an invoice. Fixed in 7 but lost when merging into trunk/saas.

bzr revid: chm@openerp.com-20130506135653-7e8nukr68s9255oq

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[MERGE] Forward-port of 7.0 fixes up to rev.4968
Olivier Dony [Mon, 6 May 2013 13:28:23 +0000 (15:28 +0200)]
[MERGE] Forward-port of 7.0 fixes up to rev.4968

revision-id: launchpad_translations_on_behalf_of_openerp-20130506063526-tj5l5h3fger6llmw

bzr revid: odo@openerp.com-20130506132823-zn54tcevfltkgjnf

11 years ago[FIX] When using "--stop-after-init", set the return code correctly. A non zero retur...
Christophe Simonis [Mon, 6 May 2013 10:30:54 +0000 (12:30 +0200)]
[FIX] When using "--stop-after-init", set the return code correctly. A non zero return code reflect the number of databases that fail to load/update

bzr revid: chs@openerp.com-20130506103054-kb91drgkbj3z5799

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 ago[FIX] An invite email to follow invoice is send to the customer before the real invoi...
Christophe Matthieu [Mon, 6 May 2013 09:49:55 +0000 (11:49 +0200)]
[FIX] An invite email to follow invoice is send to the customer before the real invoice. patch: remove invoice_validate method content of portal_sale

bzr revid: chm@openerp.com-20130506094955-eppzx3fflb3g887j

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] sale: invoice sale order line fix (Added missing import statement)
Quentin (OpenERP) [Fri, 3 May 2013 13:30:32 +0000 (15:30 +0200)]
[FIX] sale: invoice sale order line fix (Added missing import statement)

bzr revid: qdp-launchpad@openerp.com-20130503133032-q8ijb3hzj4gj9f12

11 years ago[FIX]sale wizard: missing import and local variable to call worflow action
Cedric Snauwaert [Fri, 3 May 2013 12:43:45 +0000 (14:43 +0200)]
[FIX]sale wizard: missing import and local variable to call worflow action

bzr revid: csn@openerp.com-20130503124345-f1cvr6wps0d9bcu8

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[MERGE] Forward-port of 7.0 bugfixes, up to rev. 3915
Olivier Dony [Fri, 3 May 2013 10:24:51 +0000 (12:24 +0200)]
[MERGE] Forward-port of 7.0 bugfixes, up to rev. 3915

revision-id: odo@openerp.com-20130503102248-vjl1b8xju9uwfq97

bzr revid: odo@openerp.com-20130503102451-nynkrrpldrafyv3i

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]crm: change default filter when clicking on opportunities from sale's team kanba...
Cedric Snauwaert [Fri, 3 May 2013 07:50:20 +0000 (09:50 +0200)]
[FIX]crm: change default filter when clicking on opportunities from sale's team kanban view.
Should display user opportunities instead of new/pending one.

bzr revid: csn@openerp.com-20130503075020-gbww4xfwl20cmjbv

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[IMP] new version number pattern
Christophe Simonis [Thu, 2 May 2013 13:54:04 +0000 (15:54 +0200)]
[IMP] new version number pattern

use a pattern that can be parsed and compared as beeing between 7.0 and 8.0.
This is needed to allow successive migration scripts.
NOTE: do not backport the version_info change to trunk version

bzr revid: chs@openerp.com-20130502135404-ajnwqceovug01u5u

11 years ago[FIX] web: serie agnostic version number
Christophe Simonis [Thu, 2 May 2013 13:04:35 +0000 (15:04 +0200)]
[FIX] web: serie agnostic version number

bzr revid: chs@openerp.com-20130502130435-oms438v8s57e9ghd

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[FIX]project: fix domain in order not to see all stages in task views
Cedric Snauwaert [Tue, 30 Apr 2013 14:35:29 +0000 (16:35 +0200)]
[FIX]project: fix domain in order not to see all stages in task views

bzr revid: csn@openerp.com-20130430143529-3dk22kinb2vo2rvy

11 years ago[IMP] new version number pattern
Christophe Simonis [Tue, 30 Apr 2013 14:29:38 +0000 (16:29 +0200)]
[IMP] new version number pattern

bzr revid: chs@openerp.com-20130430142938-1wwwhrnmv1r58pe3

11 years ago[IMP] parse_version: ignore saas~ componants
Christophe Simonis [Tue, 30 Apr 2013 14:20:37 +0000 (16:20 +0200)]
[IMP] parse_version: ignore saas~ componants

bzr revid: chs@openerp.com-20130430142037-zuxzk8vy9td89pv1

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[MERGE] Forward-port of 7.0 bugfixes, up to rev. 3912
Olivier Dony [Tue, 30 Apr 2013 10:33:37 +0000 (12:33 +0200)]
[MERGE] Forward-port of 7.0 bugfixes, up to rev. 3912

revision-id: nicolas.vanhoren@openerp.com-20130430094843-9m1629m517vjtm1o

bzr revid: xmo@openerp.com-20130424102025-w33zyopm96r7q09p
bzr revid: odo@openerp.com-20130430103337-i9wuj8zf3h41h1ay

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[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9085
Olivier Dony [Mon, 29 Apr 2013 15:14:10 +0000 (17:14 +0200)]
[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9085

revision-id: odo@openerp.com-20130429105458-r89mnkx8okdxsdld

bzr revid: odo@openerp.com-20130429151410-54y94063gijyk16o

11 years ago[FIX]hr_timesheet: fix mistake introduced in commit 8631
Cedric Snauwaert [Mon, 29 Apr 2013 13:35:15 +0000 (15:35 +0200)]
[FIX]hr_timesheet: fix mistake introduced in commit 8631
revid:tde@openerp.com-20130318121439-xyl34r9tdut6t19c
missing ' '

bzr revid: csn@openerp.com-20130429133515-uvmhhmnf0qgbb0ee

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[VERSION] update version to reflet reality
Christophe Simonis [Mon, 29 Apr 2013 12:08:26 +0000 (14:08 +0200)]
[VERSION] update version to reflet reality

bzr revid: chs@openerp.com-20130429120826-rhej168qhyai8iqa

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[MERGE] [FIX] project_issue: suggested partners for messaging: email is more importan...
Thibault Delavallée [Fri, 26 Apr 2013 14:48:05 +0000 (16:48 +0200)]
[MERGE] [FIX] project_issue: suggested partners for messaging: email is more important than the customer.
Customer is used mainly for classification / searching
Email is used mainly for communication.

bzr revid: tde@openerp.com-20130426144805-a8i44mg1rgnn9oe7

11 years ago[FIX] [FIX] mail.compose.message in email_template: fixed domain used to filter the...
Thibault Delavallée [Fri, 26 Apr 2013 14:46:05 +0000 (16:46 +0200)]
[FIX] [FIX] mail.compose.message in email_template: fixed domain used to filter the available templates.

bzr revid: tde@openerp.com-20130426144605-scm8c4b6qvusdxoa

11 years ago[FIX] project, task, issue, portal: fixed access rules for employees/portal users
Thibault Delavallée [Fri, 26 Apr 2013 14:43:29 +0000 (16:43 +0200)]
[FIX] project, task, issue, portal: fixed access rules for employees/portal users
+ updated project.privacy_visibility help

- Public: everybody sees everything; if portal is activated, portal users
see all tasks or issues; if anonymous portal is activated, visitors see all tasks or issues;
- Portal (only available if Portal is installed): employees see everything;
if portal is activated, portal users see the tasks or issues followed by them or by someone of their company;
- Employees Only: employees see all tasks or issues;
- Followers Only: employees see only the followed tasks or issues; if portal
is activated, portal users see the followed tasks or issues.

bzr revid: tde@openerp.com-20130426144329-g9aahm295jqdgeyx

11 years ago[FIX] portal_project_long_term: wrong ir_rule for project long term
Thibault Delavallée [Fri, 26 Apr 2013 14:23:04 +0000 (16:23 +0200)]
[FIX] portal_project_long_term: wrong ir_rule for project long term

bzr revid: tde@openerp.com-20130426142304-fucpx510gj7v7t90

11 years ago[FIX] project, task, issue, portal: fixed access rules for employees/portal users...
Thibault Delavallée [Fri, 26 Apr 2013 13:02:59 +0000 (15:02 +0200)]
[FIX] project, task, issue, portal: fixed access rules for employees/portal users + added an help on privacy_visibility.

bzr revid: tde@openerp.com-20130426130259-35j0v7lg7unxhzzp

11 years ago[FIX] project_issue: suggested partners for messaging: email is more important than...
Thibault Delavallée [Fri, 26 Apr 2013 09:46:10 +0000 (11:46 +0200)]
[FIX] project_issue: suggested partners for messaging: email is more important than the customer.
Customer is used mainly for classification / searching
Email is used mainly for communication.

bzr revid: tde@openerp.com-20130426094610-i0eaf96em24r72qb

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[MERGE] Forward-port of 7.0 fixes up to rev. 4961
Olivier Dony [Thu, 25 Apr 2013 17:14:44 +0000 (19:14 +0200)]
[MERGE] Forward-port of 7.0 fixes up to rev. 4961

rev-id odo@openerp.com-20130425171238-dhgpqbi9nio12vxk

bzr revid: odo@openerp.com-20130424131936-5eb7omkz51arnm81
bzr revid: odo@openerp.com-20130425171444-ycu89d2393f8nnxm

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] portal_project_issue: ir.rules were failing to show relevant issues
Olivier Dony [Thu, 25 Apr 2013 16:22:35 +0000 (18:22 +0200)]
[FIX] portal_project_issue: ir.rules were failing to show relevant issues

Portal users expect to see the issues they directly follow
but also the issues whose "Customer" is them or anyone
from their company (and all of this should work only
for projects that are public, visible to portal or
visible to their followers. Could be refined further

bzr revid: odo@openerp.com-20130425162235-u64fufklfdhh77ga

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] mail.compose.message in email_template: fix model used to filter the available...
Thibault Delavallée [Thu, 25 Apr 2013 14:17:43 +0000 (16:17 +0200)]
[FIX] mail.compose.message in email_template: fix model used to filter the available templates.

bzr revid: tde@openerp.com-20130425141743-gcq4wsso8jleosps

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

11 years ago[FIX] http controllers inheritance
Antony Lesuisse [Tue, 23 Apr 2013 21:06:44 +0000 (23:06 +0200)]
[FIX] http controllers inheritance
minimalist and backward compatible implementation

bzr revid: al@openerp.com-20130423210644-hmvglhh10zlrwp9q