odoo/odoo.git
10 years ago[FIX] mail: fixed replying to the first message in Inbox that was crashing
Thibault Delavallée [Mon, 25 Nov 2013 15:53:49 +0000 (16:53 +0100)]
[FIX] mail: fixed replying to the first message in Inbox that was crashing

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

bzr revid: tde@openerp.com-20131125155349-4wfvjxuffnxyumkd

10 years ago[MERGE] forward port of branch 7.0 up to revid 5148 mat@openerp.com-20131125125008...
Christophe Simonis [Mon, 25 Nov 2013 15:10:17 +0000 (16:10 +0100)]
[MERGE] forward port of branch 7.0 up to revid 5148 mat@openerp.com-20131125125008-wmpssjk5vygdcc0w

bzr revid: chs@openerp.com-20131125151017-lmj53bxg1pfrr4a7

10 years ago[BACKPORT] backport from saas-2 (r4976): ir.model: during garbage collection of obsol...
Olivier [Mon, 25 Nov 2013 14:46:49 +0000 (15:46 +0100)]
[BACKPORT] backport from saas-2 (r4976): ir.model: during garbage collection of obsolete records in _process_end, do it in anti-chronological order

bzr revid: olt@openerp.com-20131125144649-mib0vqic0nppziew

10 years ago[FIX]hr_timesheet_sheet: report, the join clause of the view was wrong, account_analy...
Denis Ledoux [Mon, 25 Nov 2013 14:26:24 +0000 (15:26 +0100)]
[FIX]hr_timesheet_sheet: report, the join clause of the view was wrong, account_analytic_line is join with hr_timesheet_sheet_sheet thanks to the sheet_id (hat.sheet_id=htss.id), not with the line_id (hat.line_id=htss.id)

bzr revid: dle@openerp.com-20131125142624-wilbjmlgy9yubcgk

10 years ago[FIX] fields: execute name_get for function field of type many2one as SUPERUSER_ID...
Martin Trigaux [Mon, 25 Nov 2013 12:50:08 +0000 (13:50 +0100)]
[FIX] fields: execute name_get for function field of type many2one as SUPERUSER_ID (same behaviour as classical many2one)

bzr revid: mat@openerp.com-20131125125008-wmpssjk5vygdcc0w

10 years ago[IMP] orm: add missing space in error message during validation
Martin Trigaux [Mon, 25 Nov 2013 12:47:17 +0000 (13:47 +0100)]
[IMP] orm: add missing space in error message during validation

bzr revid: mat@openerp.com-20131125124717-4jsqv0lfu7hpxusi

10 years ago[FIX] orm: when duplicating translated object, get more coherent source and destinati...
Martin Trigaux [Mon, 25 Nov 2013 12:23:47 +0000 (13:23 +0100)]
[FIX] orm: when duplicating translated object, get more coherent source and destination values if default value is specified
user's language: old (untranslated) -> new (translated)
other language: old (untranslated) -> old (translated)

This allows to have coherent behaviour if copy() method is overwritten to change the text (usually applying _('%s (copy)')). The current user will see the translated terms with modification while the translations are kept for others (and need to be updated).
We prefer keeping slightly irrelevant translations (without translated version of '%s (copy)') for other languages than losing it.
The copy_data method does not modify context to get untranslatated values, done fully in copy_translation

bzr revid: mat@openerp.com-20131125122347-5p5oyxab5rf1kk7u

10 years ago[FIX] translations: fix tests to adapt to new duplication behaviour and remove contex...
Martin Trigaux [Mon, 25 Nov 2013 11:57:27 +0000 (12:57 +0100)]
[FIX] translations: fix tests to adapt to new duplication behaviour and remove context hack in copy_data (translations are now fully handled in copy_translation)

bzr revid: mat@openerp.com-20131125115727-o9oejao1ziagqti1

10 years ago[FIX] sale_crm: return id only for default method of type many2one field in make...
Martin Trigaux [Mon, 25 Nov 2013 11:26:29 +0000 (12:26 +0100)]
[FIX] sale_crm: return id only for default method of type many2one field in make sale order wizard

bzr revid: mat@openerp.com-20131125112629-s3jtair156aqwvpj

10 years ago[FIX] orm: when duplicating translated object, modify the values to get more coherent...
Martin Trigaux [Mon, 25 Nov 2013 11:07:36 +0000 (12:07 +0100)]
[FIX] orm: when duplicating translated object, modify the values to get more coherent values
user's language: old (untranslated) -> new (translated)
other language: old (untranslated) -> old (translated)

This allows to have coherent behaviour if copy() method is overwritten to change the text (usually applying _('%s (copy)')). The current user will see the translated terms with modification while the translations are kept for others (and need to be updated).
We prefer keeping slightly irrelevant translations (without translated version of '%s (copy)') for other languages than losing it.

bzr revid: mat@openerp.com-20131125110736-d6iygeq8om5y4fkz

10 years ago[ADD] i18n: enable Lao language (Laos) as an installation option
Olivier Dony [Mon, 25 Nov 2013 08:42:15 +0000 (09:42 +0100)]
[ADD] i18n: enable Lao language (Laos) as an installation option

bzr revid: odo@openerp.com-20131125084215-nddml5h65i2xkuf9

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Mon, 25 Nov 2013 06:01:11 +0000 (06:01 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20131123062620-6obt60lwob64hi98
bzr revid: launchpad_translations_on_behalf_of_openerp-20131124054757-4w9nik6wieeqf0yg
bzr revid: launchpad_translations_on_behalf_of_openerp-20131125060111-rf445xxiinvazinv

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Mon, 25 Nov 2013 06:00:00 +0000 (06:00 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20131123062544-0n565bu6p07jgu7c
bzr revid: launchpad_translations_on_behalf_of_openerp-20131124054736-ndfylcrz06mb9z0i
bzr revid: launchpad_translations_on_behalf_of_openerp-20131125060000-s033pap6hv11grl3

10 years ago[FIX] hr_expense: `available_in_pos` field belong to `point_of_sale` module which...
Christophe Simonis [Sun, 24 Nov 2013 20:41:22 +0000 (21:41 +0100)]
[FIX] hr_expense: `available_in_pos` field belong to `point_of_sale` module which is not a dependency

bzr revid: chs@openerp.com-20131124204122-oybusqpry2uugk0e

10 years ago[FIX] hr_recruitment: no more `date` field on applicants
Christophe Simonis [Sun, 24 Nov 2013 20:36:05 +0000 (21:36 +0100)]
[FIX] hr_recruitment: no more `date` field on applicants

bzr revid: chs@openerp.com-20131124203605-0310whfbei1nbbq3

10 years ago[FIX] {crm,crm_partner_assign}: server actions does need to be restricted by group
Christophe Simonis [Sun, 24 Nov 2013 20:27:23 +0000 (21:27 +0100)]
[FIX] {crm,crm_partner_assign}: server actions does need to be restricted by group

bzr revid: chs@openerp.com-20131124202723-qd4ep1q2w3pn4453

10 years ago[FIX] project: task type does not have a `closed` field
Christophe Simonis [Sun, 24 Nov 2013 20:09:37 +0000 (21:09 +0100)]
[FIX] project: task type does not have a `closed` field

bzr revid: chs@openerp.com-20131124200937-0hwd527qxuaezic5

10 years ago[FIX] mass_mailing: statistics does not have a `state` field
Christophe Simonis [Sun, 24 Nov 2013 20:01:56 +0000 (21:01 +0100)]
[FIX] mass_mailing: statistics does not have a `state` field

bzr revid: chs@openerp.com-20131124200156-7kqad8d20jlip46t

10 years ago[IMP] crm: TransientModel does not need access rules
Christophe Simonis [Sun, 24 Nov 2013 18:24:19 +0000 (19:24 +0100)]
[IMP] crm: TransientModel does not need access rules

bzr revid: chs@openerp.com-20131124182419-nn1m2prno6fk0iez

10 years ago[IMP] */__openerp__.py: use data key instead of update_xml
Christophe Simonis [Sun, 24 Nov 2013 18:19:52 +0000 (19:19 +0100)]
[IMP] */__openerp__.py: use data key instead of update_xml

bzr revid: chs@openerp.com-20131124181952-rflzvxqnt5augevb

10 years ago[FIX] fleet: use only `data` key in manifest
Christophe Simonis [Sun, 24 Nov 2013 18:19:00 +0000 (19:19 +0100)]
[FIX] fleet: use only `data` key in manifest

bzr revid: chs@openerp.com-20131124181900-opd07sod4b0j3kvd

10 years ago[MERGE] backport trunk revision 8974 qdp-launchpad@openerp.com-20131113100713-tvl30z5...
Christophe Simonis [Sun, 24 Nov 2013 18:10:37 +0000 (19:10 +0100)]
[MERGE] backport trunk revision 8974 qdp-launchpad@openerp.com-20131113100713-tvl30z5oqym22jqj

bzr revid: chs@openerp.com-20131124181037-1tks1yruahiv0jwi

10 years ago[FIX] portal: avoid sending email at portal demo user creation
Christophe Simonis [Sun, 24 Nov 2013 17:06:24 +0000 (18:06 +0100)]
[FIX] portal: avoid sending email at portal demo user creation

bzr revid: chs@openerp.com-20131124170624-1s7dm5udo7n2wxdl

10 years ago[FIX] base: on_change_login only set email for valid emails
Christophe Simonis [Sun, 24 Nov 2013 16:44:35 +0000 (17:44 +0100)]
[FIX] base: on_change_login only set email for valid emails

bzr revid: chs@openerp.com-20131124164435-977xi3eg7svn5mgz

10 years ago[FIX] yaml import: for record tags, do not shadow values explicitly set in yaml.
Christophe Simonis [Sun, 24 Nov 2013 11:52:35 +0000 (12:52 +0100)]
[FIX] yaml import: for record tags, do not shadow values explicitly set in yaml.

bzr revid: chs@openerp.com-20131124115235-13sc11q51v95hxfr

10 years ago[FIX] {crm,crm_partner_assign}: email.template: filter the whole expression instead...
Christophe Simonis [Fri, 22 Nov 2013 19:44:15 +0000 (20:44 +0100)]
[FIX] {crm,crm_partner_assign}: email.template: filter the whole expression instead of only the last part

bzr revid: chs@openerp.com-20131122194415-9ho9vf6f1b0qkmhd

10 years ago[MERGE] forward port of branch 7.0 up to revid 9636 mat@openerp.com-20131122165504...
Christophe Simonis [Fri, 22 Nov 2013 19:31:22 +0000 (20:31 +0100)]
[MERGE] forward port of branch 7.0 up to revid 9636 mat@openerp.com-20131122165504-tmbg0ixhqed4kdkz

bzr revid: chs@openerp.com-20131122193122-wpdfsfn24ezj1qrp

10 years ago[FIX] ir_translation: correctly match old and new ids on inherit fields
Martin Trigaux [Fri, 22 Nov 2013 17:59:39 +0000 (18:59 +0100)]
[FIX] ir_translation: correctly match old and new ids on inherit fields

new_id was correctly handled at rev 5118 but the old_id wasn't which could produce inconsistency if there was a gap in ids

bzr revid: mat@openerp.com-20131122175939-lvlf4ih4pyidqxjp

10 years ago[MERGE] forward port of branch 7.0 up to revid 4075 chs@openerp.com-20131122170316...
Christophe Simonis [Fri, 22 Nov 2013 17:24:22 +0000 (18:24 +0100)]
[MERGE] forward port of branch 7.0 up to revid 4075 chs@openerp.com-20131122170316-lbuxddprrgz1are3

bzr revid: chs@openerp.com-20131122131553-i22dj95bvofb7aeu
bzr revid: chs@openerp.com-20131122172422-tsd8wzqkbqknrw1w

10 years ago[REVERT] revert previous commit which:
Christophe Simonis [Fri, 22 Nov 2013 17:03:16 +0000 (18:03 +0100)]
[REVERT] revert previous commit which:
1. is wrong
2. break runbot

bzr revid: chs@openerp.com-20131122170316-lbuxddprrgz1are3

10 years ago[FIX] project: convert int to list for iteration write of account.analytic.account
Martin Trigaux [Fri, 22 Nov 2013 16:55:04 +0000 (17:55 +0100)]
[FIX] project: convert int to list for iteration write of account.analytic.account

bzr revid: mat@openerp.com-20131122165504-tmbg0ixhqed4kdkz

10 years ago[FIX]sale: quotation/sale order sent by email were not anymore set to state quotation...
Denis Ledoux [Fri, 22 Nov 2013 15:06:06 +0000 (16:06 +0100)]
[FIX]sale: quotation/sale order sent by email were not anymore set to state quotation sent, because the workflow was triggered according to a specific value in the context, which was not there anymore(default_model changed to active_mode, default_res_id changed to active_ids

bzr revid: dle@openerp.com-20131122150606-ruqe2l0e7gn84upf

10 years ago[FIX] sale_crm: correctly return id only (would break if readonly field)
Martin Trigaux [Fri, 22 Nov 2013 14:22:11 +0000 (15:22 +0100)]
[FIX] sale_crm: correctly return id only (would break if readonly field)

bzr revid: mat@openerp.com-20131122142211-pvbw55ikk74132zm

10 years ago[FIX] web: view list: ensure that the mutex of synchronized method `reload_content...
Christophe Simonis [Fri, 22 Nov 2013 13:10:37 +0000 (14:10 +0100)]
[FIX] web: view list: ensure that the mutex of synchronized method `reload_content` is always released.

bzr revid: chs@openerp.com-20131122131037-sqxs1fdh4al32eh2

10 years ago[FIX] email.template: add missing parenthesis to filter all data on email and not...
Martin Trigaux [Fri, 22 Nov 2013 10:45:09 +0000 (11:45 +0100)]
[FIX] email.template: add missing parenthesis to filter all data on email and not the last one

bzr revid: mat@openerp.com-20131122104509-g2pii4m5rj8qpk7w

10 years ago[FIX] email.template: add safe filter over email address to allow emails to be sent...
Christophe Simonis [Thu, 21 Nov 2013 17:09:49 +0000 (18:09 +0100)]
[FIX] email.template: add safe filter over email address to allow emails to be sent in the format 'Name <name@company.com>' and avoid escaping.
followup of commit mat@openerp.com-20131121151305-t5je12s4w5uctu0k

bzr revid: chs@openerp.com-20131121170949-5rzr7qovzzkzyvvw

10 years ago[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 5139 rev-id: dle@openerp...
Denis Ledoux [Thu, 21 Nov 2013 15:54:57 +0000 (16:54 +0100)]
[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 5139 rev-id: dle@openerp.com-20131121132305-qjlclgz5v9tze1fr

bzr revid: odo@openerp.com-20131120102545-2tlp031yib6viz35
bzr revid: chs@openerp.com-20131120161708-c8sbom592moukwxw
bzr revid: dle@openerp.com-20131121155457-lh7fzouk2upeiu16

10 years ago[MERGE] Forward-port of latest 7.0 fixes up to rev 9629 rev-id odo@openerp.com-201311...
Olivier Dony [Thu, 21 Nov 2013 15:42:05 +0000 (16:42 +0100)]
[MERGE] Forward-port of latest 7.0 fixes up to rev 9629 rev-id odo@openerp.com-20131121153230-keie85rmes2zh2o8

bzr revid: chs@openerp.com-20131121112139-aw2ara1i1xymue62
bzr revid: odo@openerp.com-20131121154205-ul9hf9tz3h0x2n7m

10 years ago[FIX] stock.picking.in: typo in default_get implementation
Olivier Dony [Thu, 21 Nov 2013 15:32:30 +0000 (16:32 +0100)]
[FIX] stock.picking.in: typo in default_get implementation

bzr revid: odo@openerp.com-20131121153230-keie85rmes2zh2o8

10 years ago[FIX] email.template: add safe filter over email address to allow emails to be sent...
Martin Trigaux [Thu, 21 Nov 2013 15:13:05 +0000 (16:13 +0100)]
[FIX] email.template: add safe filter over email address to allow emails to be sent in the format 'Name <name@company.com>' and avoid escaping

bzr revid: mat@openerp.com-20131121151305-t5je12s4w5uctu0k

10 years ago[FIX] ir, ir_translation: it was not possible to empty the source of a translation...
Denis Ledoux [Thu, 21 Nov 2013 13:23:05 +0000 (14:23 +0100)]
[FIX] ir, ir_translation: it was not possible to empty the source of a translation, or this is sometime something that we want

bzr revid: dle@openerp.com-20131121132305-qjlclgz5v9tze1fr

10 years ago[FIX] fleet: inherits reference fields must be required.
Christophe Simonis [Thu, 21 Nov 2013 12:06:37 +0000 (13:06 +0100)]
[FIX] fleet: inherits reference fields must be required.
Note: there is no db schema change as orm was forcing these values.

bzr revid: chs@openerp.com-20131121120637-c5ufw20ck30hefr5

10 years ago[FIX] *: do not call deprecated method LocalService()
Christophe Simonis [Thu, 21 Nov 2013 12:06:11 +0000 (13:06 +0100)]
[FIX] *: do not call deprecated method LocalService()

bzr revid: chs@openerp.com-20131121120611-06h1pki3460tzj1s

10 years ago[MERGE] [FIX] sale: sale.order.line, remove duplicated state field that made the...
Martin Trigaux [Thu, 21 Nov 2013 11:33:04 +0000 (12:33 +0100)]
[MERGE] [FIX] sale: sale.order.line, remove duplicated state field that made the statusbar in the header to be incorrectly rendered (opw 598572)

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

bzr revid: mat@openerp.com-20131121113304-kntnvmdmoll2n6hl

10 years ago[MERGE] [FIX] stock: correctly recount quantity when split on multiple locations...
Martin Trigaux [Thu, 21 Nov 2013 11:23:21 +0000 (12:23 +0100)]
[MERGE] [FIX] stock: correctly recount quantity when split on multiple locations for product reservations (opw 600277)

bzr revid: mat@openerp.com-20131121112321-fdttljrrogsbihf2

10 years ago[IMP] web: avoid double reload() when clicking on a button on a editable form view.
Christophe Simonis [Wed, 20 Nov 2013 18:53:37 +0000 (19:53 +0100)]
[IMP] web: avoid double reload() when clicking on a button on a editable form view.

bzr revid: chs@openerp.com-20131120185337-w8857fmwosa36r4d

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

bzr revid: launchpad_translations_on_behalf_of_openerp-20131122060235-8k2oxuc94x45jjoc
bzr revid: launchpad_translations_on_behalf_of_openerp-20131122060308-lb2sgcxbv804pafr
bzr revid: launchpad_translations_on_behalf_of_openerp-20131116062541-ouuae0dl331ekjcb
bzr revid: launchpad_translations_on_behalf_of_openerp-20131117054520-eypowk6g8qatvq7n
bzr revid: launchpad_translations_on_behalf_of_openerp-20131120054421-95x86930ezm0p33h
bzr revid: launchpad_translations_on_behalf_of_openerp-20131121063904-5igv5f7tgwlaipvv
bzr revid: launchpad_translations_on_behalf_of_openerp-20131122060313-x4c5bx498gyrkhqr

10 years ago[MERGE] [FIX] mail: exclude document name from the string to translate (avoid having...
Martin Trigaux [Thu, 21 Nov 2013 17:05:05 +0000 (18:05 +0100)]
[MERGE] [FIX] mail: exclude document name from the string to translate (avoid having one translation per file name...)

bzr revid: mat@openerp.com-20131121170505-4i957pyyuz486iy6

10 years ago[MERGE] [IMP] survey: hide readonly field if empty on request form
Martin Trigaux [Thu, 21 Nov 2013 16:50:12 +0000 (17:50 +0100)]
[MERGE] [IMP] survey: hide readonly field if empty on request form

bzr revid: mat@openerp.com-20131121165012-lqgg06i6tqzvis4i

10 years ago[MERGE] [FIX] warning: modify onchange behaviour for purchase.order.line to match...
Martin Trigaux [Thu, 21 Nov 2013 16:47:23 +0000 (17:47 +0100)]
[MERGE] [FIX] warning: modify onchange behaviour for purchase.order.line to match the one of original purchase.order.line: when removing product, keeps other information instead of setting it to blank. Had the side effet to make impossible to select a unit of measure (required field) without a product (not mandatory)

bzr revid: mat@openerp.com-20131121164723-02617zye2qnekahz

10 years ago[FIX] stock: don't display the evaluated boolean in delivery slip report
Martin Trigaux [Thu, 21 Nov 2013 16:14:45 +0000 (17:14 +0100)]
[FIX] stock: don't display the evaluated boolean in delivery slip report

bzr revid: mat@openerp.com-20131121161445-escpjd0264rh9q28

10 years ago[ADD]crm_partner_assign: add filter to leads and opp searchviews - My Assigned Partners
Denis Ledoux [Wed, 20 Nov 2013 17:12:59 +0000 (18:12 +0100)]
[ADD]crm_partner_assign: add filter to leads and opp searchviews - My Assigned Partners

bzr revid: dle@openerp.com-20131120171259-z2dnj53e55hl449p

10 years ago[FIX]crm: change typo of opportunities searchview to be consistent to leads searchview
Denis Ledoux [Wed, 20 Nov 2013 17:07:19 +0000 (18:07 +0100)]
[FIX]crm: change typo of opportunities searchview to be consistent to leads searchview

bzr revid: dle@openerp.com-20131120170719-oenzvh67a2t5281n

10 years ago[FIX]crm_partner_assign: use the probability of the stage of the lead instead of...
Denis Ledoux [Wed, 20 Nov 2013 17:00:02 +0000 (18:00 +0100)]
[FIX]crm_partner_assign: use the probability of the stage of the lead instead of the probability ofthe lead directly to choose the lead to reassign, in case of the data is not correct in database (lead probability null, for instance)

bzr revid: dle@openerp.com-20131120170002-54qjaz7wr87u65k9

10 years ago[FIX]crm: change typo to be more consistent. Assigned to me > My leads, Assigned...
Denis Ledoux [Wed, 20 Nov 2013 16:58:25 +0000 (17:58 +0100)]
[FIX]crm: change typo to be more consistent. Assigned to me > My leads, Assigned to My Team(s) > My Team(s)

bzr revid: dle@openerp.com-20131120165825-e2xvhl3ualpezwuy

10 years ago[FIX] mail: auto_subscribe: fix subscription, could have subtypes linked to another...
Thibault Delavallée [Wed, 20 Nov 2013 15:43:20 +0000 (16:43 +0100)]
[FIX] mail: auto_subscribe: fix subscription, could have subtypes linked to another model than the current model

bzr revid: tde@openerp.com-20131120154320-gf67wbv3en2f7ral

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Thu, 21 Nov 2013 06:38:38 +0000 (06:38 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20131121054848-007arsnnoa8fs65e
bzr revid: launchpad_translations_on_behalf_of_openerp-20131121063838-blqn6j0yfmrlw5vp

10 years ago[FIX] fleet,project allow demo user to create cars and projects
Antony Lesuisse [Wed, 20 Nov 2013 16:53:14 +0000 (17:53 +0100)]
[FIX] fleet,project allow demo user to create cars and projects

bzr revid: al@openerp.com-20131120165314-btwzd5b0yvqcg2gc

10 years ago[MERGE] remove warnings
Christophe Simonis [Wed, 20 Nov 2013 16:10:51 +0000 (17:10 +0100)]
[MERGE] remove warnings

bzr revid: chs@openerp.com-20131120161051-pk7n0itjcxx06uwm

10 years ago[MERGE] [FIX] l10n_fr: Restore the appropriate accounts on tax ACH-19.6, courtesy...
Martin Trigaux [Wed, 20 Nov 2013 15:59:59 +0000 (16:59 +0100)]
[MERGE] [FIX] l10n_fr: Restore the appropriate accounts on tax ACH-19.6, courtesy of Alexis de Lattre (akretion)

bzr revid: mat@openerp.com-20131120155959-kgu0h34wa5k131v0

10 years ago[MERGE] [FIX] project: add noupdate on data to avoid erasing changes on stages, exclu...
Martin Trigaux [Wed, 20 Nov 2013 15:14:39 +0000 (16:14 +0100)]
[MERGE] [FIX] project: add noupdate on data to avoid erasing changes on stages, exclude mail.message.subtypes (want overwrite), courtesy of Alex Comba (Agile BG)

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

bzr revid: mat@openerp.com-20131120151439-96l2z98tebj46fzs

10 years ago[MERGE] remove warnings
Christophe Simonis [Wed, 20 Nov 2013 15:12:37 +0000 (16:12 +0100)]
[MERGE] remove warnings

bzr revid: chs@openerp.com-20131120151237-ij9llw0fnhya10f7

10 years ago[MERGE] Forward-port of latest 7.0 fixes up to rev 9618 rev-id: dle@openerp.com-20131...
Olivier Dony [Wed, 20 Nov 2013 14:43:18 +0000 (15:43 +0100)]
[MERGE] Forward-port of latest 7.0 fixes up to rev 9618 rev-id: dle@openerp.com-20131120142131-s333lyva85cyn41o

bzr revid: odo@openerp.com-20131120144059-yyh7emvgdarff09b
bzr revid: odo@openerp.com-20131120144318-11nmn1zj00zmi10z

10 years ago[MERGE] [FIX] hr_expense: add expenses in state 'Waiting payment' in the search filte...
Martin Trigaux [Wed, 20 Nov 2013 14:40:02 +0000 (15:40 +0100)]
[MERGE] [FIX] hr_expense: add expenses in state 'Waiting payment' in the search filter 'To Pay' (opw 597054)

bzr revid: mat@openerp.com-20131120144002-7wzh6zxily5j7mr5

10 years ago[FIX]account: fix _balance func field on account.move.line to always return a result...
Denis Ledoux [Wed, 20 Nov 2013 14:21:31 +0000 (15:21 +0100)]
[FIX]account: fix _balance func field on account.move.line to always return a result for the request ids

bzr revid: dle@openerp.com-20131120142131-s333lyva85cyn41o

10 years ago[FIX] orm.browse_record: access error due to prefetch of indirectly referenced record...
Olivier Dony [Wed, 20 Nov 2013 10:06:27 +0000 (11:06 +0100)]
[FIX] orm.browse_record: access error due to prefetch of indirectly referenced records (OPW #596679)

The browse_record prefetching algorithm attempts to
load data for all known records from the requested
model (i.e. all IDs present in the browse cache),
regardless of how indirectly/remotely they were
referenced. An indirect parent record may therefore
be prefetched along with its directly browsed children,
possibly crossing company boundaries involuntarily.

This patch implements a fallback mechanism when
the prefetching failed due to what looks like an
ACL restriction. This being a fuzzy concept at the
moment, it does its best to only catch a restricted
set of exceptions, and retry loading the data for
the directly requested ID only.

This may cause a small performance penalty in case
of real errors (with some spurious logging too),
but should only be triggered in very few cases.

The downside when this happens is that the prefetching for that
model gets effectively disabled, requiring multiple
SQL queries for further access to the data of
the other directly browsed records.

This EAFP approach seems safer and faster than
a LBYL technique where we would have to filter
all indirect m2o references according to ACLs
before allowing them to enter the cache.

lp bug: https://launchpad.net/bugs/1238042 fixed
lp bug: https://launchpad.net/bugs/1212429 fixed

bzr revid: odo@openerp.com-20131120100627-031fljyf4ckprc9b

10 years ago[FIX] l10n_in_hr_payroll: use xmlid instead of name searching salary rule categories...
Christophe Simonis [Wed, 20 Nov 2013 10:06:23 +0000 (11:06 +0100)]
[FIX] l10n_in_hr_payroll: use xmlid instead of name searching salary rule categories (they may have been renamed, forbidding upgrade)

bzr revid: chs@openerp.com-20131120100623-ip33s4upffu1a52h

10 years agomerge upstream
Christophe Simonis [Tue, 19 Nov 2013 18:53:53 +0000 (19:53 +0100)]
merge upstream

bzr revid: chs@openerp.com-20131119185353-qfhaice61xg7qfhn

10 years ago[FIX] delivery: the stock.picking.{in,out} workaround was only partial
Olivier Dony [Tue, 19 Nov 2013 18:18:55 +0000 (19:18 +0100)]
[FIX] delivery: the stock.picking.{in,out} workaround was only partial

Due to a framework limitation the virtual stock.picking.in
and stock.picking.out models need to duplicate the extra
columns added to the stock.picking master model.
This was only partially done, leading to errors in
some cases when stock.picking.{in,out} were directly
used by business methods.

bzr revid: odo@openerp.com-20131119181855-cciozs8fv3ll9bd8

10 years ago[FIX] ir, ir_attachement: traceback if try to create attachement without res_id,...
Denis Ledoux [Tue, 19 Nov 2013 14:02:46 +0000 (15:02 +0100)]
[FIX] ir, ir_attachement: traceback if try to create attachement without res_id, caused by check access rights trying to check if the user had the right to read the object with a res_id  0

bzr revid: dle@openerp.com-20131119140246-r8dd7h0di4aigjss

10 years ago[FIX] [IMP] mail: refactored code of message_auto_subscribe.
Denis Ledoux [Tue, 19 Nov 2013 13:51:43 +0000 (14:51 +0100)]
[FIX] [IMP] mail: refactored code of message_auto_subscribe.

This new code allows faster computation, because it avoids
- searching in a many2many relationship that is very costly in production
databases, because it is replaced by an 'id in [ids]' equivalent leaf
that can be huge.
- browsing in a create/write (should also lessen the number of issues
about read access rights in create)

A new optionnal parameter is given to the method, that are the
modified values. If this is not given (compatibility-mode) the
records are browsed to fetch the value.

bzr revid: dle@openerp.com-20131119135143-w4tcsnf8hdiyql0j

10 years ago[FIX] web: when in monodb mode, allow admin routes to be called without being logged in.
Christophe Simonis [Tue, 19 Nov 2013 13:48:15 +0000 (14:48 +0100)]
[FIX] web: when in monodb mode, allow admin routes to be called without being logged in.

This restore old behavior lost by commit 3882 chs@openerp.com-20131118172304-a54lgu6dm865k8xf

bzr revid: chs@openerp.com-20131119134815-hui4ph7a8ksgfxdt

10 years ago[FIX] root redirect_with_hash: IE10 also behaves abnormally in case of multiple redirects
Olivier Dony [Tue, 19 Nov 2013 10:53:26 +0000 (11:53 +0100)]
[FIX] root redirect_with_hash: IE10 also behaves abnormally in case of multiple redirects

bzr revid: odo@openerp.com-20131119105326-0t1cjz1d1ebfzhwq

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Tue, 19 Nov 2013 05:56:35 +0000 (05:56 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20131119055635-19g4i058ihed0ivz

10 years ago[FIX] field statusbar css color between stages
Antony Lesuisse [Mon, 18 Nov 2013 18:24:16 +0000 (19:24 +0100)]
[FIX] field statusbar css color between stages

bzr revid: al@openerp.com-20131118182416-picnqdmcwbqalk2y

10 years ago[FIX] web: avoid calling db_monodb at each request. This is a performance killer...
Christophe Simonis [Mon, 18 Nov 2013 17:23:04 +0000 (18:23 +0100)]
[FIX] web: avoid calling db_monodb at each request. This is a performance killer. Handle the case of non-existing database at router building.

bzr revid: chs@openerp.com-20131118172304-a54lgu6dm865k8xf

10 years ago[FIX] jquery browser detection fix
Antony Lesuisse [Mon, 18 Nov 2013 18:06:42 +0000 (19:06 +0100)]
[FIX] jquery browser detection fix

bzr revid: al@openerp.com-20131118180642-xa39ja4o8zt8zd5o

10 years ago[IMP] point_of_sale: allow up to 8 payment methods to be displayed simultaneously
Frédéric van der Essen [Mon, 18 Nov 2013 17:26:20 +0000 (18:26 +0100)]
[IMP] point_of_sale: allow up to 8 payment methods to be displayed simultaneously

bzr revid: fva@openerp.com-20131118172620-tp3viaggc12wvjtl

10 years ago[FIX] auth_signup: avoid getting login screen instead of signup when has correct...
Martin Trigaux [Mon, 18 Nov 2013 17:16:56 +0000 (18:16 +0100)]
[FIX] auth_signup: avoid getting login screen instead of signup when has correct invitation token due to concurrent calls (opw #598453)

bzr revid: mat@openerp.com-20131118171656-j949pzklez13tfyt

10 years ago[IMP] account: cleanup
Martin Trigaux [Mon, 18 Nov 2013 16:56:31 +0000 (17:56 +0100)]
[IMP] account: cleanup

bzr revid: mat@openerp.com-20131118165631-13pfg3w6ri0zbuau

10 years ago[IMP] account: revert wrong commit 9590 and set default value with customer refrence
Martin Trigaux [Mon, 18 Nov 2013 16:53:53 +0000 (17:53 +0100)]
[IMP] account: revert wrong commit 9590 and set default value with customer refrence

bzr revid: mat@openerp.com-20131118165353-nbk1wwdri1dnl4wh

10 years ago[FIX]email_template: render_template_batch return a dict, so we must get the right...
Denis Ledoux [Mon, 18 Nov 2013 16:31:14 +0000 (17:31 +0100)]
[FIX]email_template: render_template_batch return a dict, so we must get the right id of the dict to get the lang

bzr revid: dle@openerp.com-20131118163114-rpmyjik1dkjuipez

10 years ago[FIX]base: missing quote in domain of res_partner filter on name
Denis Ledoux [Mon, 18 Nov 2013 15:52:30 +0000 (16:52 +0100)]
[FIX]base: missing quote in domain of res_partner filter on name

bzr revid: dle@openerp.com-20131118155230-hvdm4yqu5fz3w5q4

10 years ago[FIX]email_template: fixed call to render_template_batch using a list of ids instead...
Denis Ledoux [Mon, 18 Nov 2013 15:01:29 +0000 (16:01 +0100)]
[FIX]email_template: fixed call to render_template_batch using a list of ids instead of only one id.

bzr revid: dle@openerp.com-20131118150129-log6925i4kc3dkxq

10 years ago[MERGE] [IMP] stock: don't display origin (source) field if linked to no picking...
Martin Trigaux [Mon, 18 Nov 2013 13:47:51 +0000 (14:47 +0100)]
[MERGE] [IMP] stock: don't display origin (source) field if linked to no picking (opw 595645)

bzr revid: mat@openerp.com-20131118134751-2iu7di8f26ibvm2v

10 years ago[MERGE] [IMP] sale_order_dates: don't require technical feature to display additional...
Martin Trigaux [Mon, 18 Nov 2013 13:40:54 +0000 (14:40 +0100)]
[MERGE] [IMP] sale_order_dates: don't require technical feature to display additional fields (opw 594184)

bzr revid: mat@openerp.com-20131118134054-iqtofynf6ippzyr5

10 years ago[FIX] When running with --stop-after-init, return code must be not null if any failur...
Christophe Simonis [Mon, 18 Nov 2013 13:22:35 +0000 (14:22 +0100)]
[FIX] When running with --stop-after-init, return code must be not null if any failure happen.

bzr revid: chs@openerp.com-20131118132235-84u5hfccm784ge5l

10 years ago[MERGE] [FIX] account: unlink method on account.move accepts one argument (opw 592795)
cto [Mon, 18 Nov 2013 13:06:22 +0000 (14:06 +0100)]
[MERGE] [FIX] account: unlink method on account.move accepts one argument (opw 592795)

bzr revid: mat@openerp.com-20131118130622-5sbeznvfv1unnpxx

10 years ago[FIX] ir.model: during garbage collection of obsolete records in _process_end, do...
Olivier Dony [Mon, 18 Nov 2013 12:56:40 +0000 (13:56 +0100)]
[FIX] ir.model: during garbage collection of obsolete records in _process_end, do it in anti-chronological order

Just like for the uninstallation process, records should be
deleted with last created first, as an attempt to reverse
the operations in the right order (to avoid errors due to
dependencies between records).

bzr revid: odo@openerp.com-20131118125640-kdo3t34uszqggu13

10 years ago[MERGE] [IMP] pad: catch urllib error, instead of showing traceback display helpful...
Martin Trigaux [Mon, 18 Nov 2013 12:51:13 +0000 (13:51 +0100)]
[MERGE] [IMP] pad: catch urllib error, instead of showing traceback display helpful error message (opw 593069)

bzr revid: mat@openerp.com-20131118125113-tuekl7jeazbv86ti

10 years ago[MERGE] [FIX] l10n_be: force 2 digits for vat declaration to be accepted by official...
Martin Trigaux [Mon, 18 Nov 2013 12:50:17 +0000 (13:50 +0100)]
[MERGE] [FIX] l10n_be: force 2 digits for vat declaration to be accepted by official website (opw 592464), courtesy of Wim Audenaert

bzr revid: mat@openerp.com-20131118125017-ny42vjg3gs1k0d2e

10 years ago[MERGE] [FIX] purchase: set pricelist action in pricelist submenu instead of top...
Martin Trigaux [Mon, 18 Nov 2013 12:49:21 +0000 (13:49 +0100)]
[MERGE] [FIX] purchase: set pricelist action in pricelist submenu instead of top (opw 592320)

bzr revid: mat@openerp.com-20131118124921-dla3fed1ode5zw7y

10 years ago[FIX] mrp_byproduct: add context arg to method action_confirm to match the one from...
Martin Trigaux [Mon, 18 Nov 2013 11:10:20 +0000 (12:10 +0100)]
[FIX] mrp_byproduct: add context arg to method action_confirm to match the one from mrp (opw 592270)

bzr revid: mat@openerp.com-20131118111020-mtpxj7ohx81gkj6y

10 years ago[IMP] crm: match on contact name while searching for customer for leads (opw 591923)
Martin Trigaux [Mon, 18 Nov 2013 10:03:24 +0000 (11:03 +0100)]
[IMP] crm: match on contact name while searching for customer for leads (opw 591923)

bzr revid: mat@openerp.com-20131118100324-9s3xwmbk9xrxjm5a

10 years ago[FIX] account: set customer reference for the invoice name (customer refrence) while...
Martin Trigaux [Mon, 18 Nov 2013 09:49:51 +0000 (10:49 +0100)]
[FIX] account: set customer reference for the invoice name (customer refrence) while refunding instead of reason of refund (opw 591713)

bzr revid: mat@openerp.com-20131118094951-o2ixt5xyrwlyvzgx

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Mon, 18 Nov 2013 05:53:19 +0000 (05:53 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20131116062538-hsi3j63m1pw01qem
bzr revid: launchpad_translations_on_behalf_of_openerp-20131117054515-0jw3bd84wk546u6j
bzr revid: launchpad_translations_on_behalf_of_openerp-20131118055319-wz4qa3cxwowlonxt

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Sun, 17 Nov 2013 05:44:32 +0000 (05:44 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20131115063201-mftw45w2ak463rsc
bzr revid: launchpad_translations_on_behalf_of_openerp-20131116062515-voqeczdl0l0262cu
bzr revid: launchpad_translations_on_behalf_of_openerp-20131117054432-u9evqk0z98aqzoqk

10 years ago[FIX] {project_mrp,sale_stock}: attach common process node xmlid to nearest common...
Christophe Simonis [Fri, 15 Nov 2013 23:58:15 +0000 (00:58 +0100)]
[FIX] {project_mrp,sale_stock}: attach common process node xmlid to nearest common module, procurement.

We need this change to allow update of project_mrp module if sale_stock is not installed.

bzr revid: chs@openerp.com-20131115235815-zm4wgqxrsk7iiqpp

10 years ago[FIX] point_of_sale: missing commits from last backport from trunk
Frédéric van der Essen [Mon, 18 Nov 2013 09:39:20 +0000 (10:39 +0100)]
[FIX] point_of_sale: missing commits from last backport from trunk

bzr revid: fva@openerp.com-20131118093920-pz96e91clsfy6exd

10 years ago[FIX] sale_stock: take into account the value of the customer reference on grouped...
Martin Trigaux [Fri, 15 Nov 2013 13:43:35 +0000 (14:43 +0100)]
[FIX] sale_stock: take into account the value of the customer reference on grouped invoice (opw #599716)

bzr revid: mat@openerp.com-20131115134335-qsu8ceyx86zyfj8j