odoo/odoo.git
10 years ago[REVERT] revision 9031, dle@openerp.com-20131205170917-7cdzghsa5690xvux
Denis Ledoux [Fri, 6 Dec 2013 11:27:38 +0000 (12:27 +0100)]
[REVERT] revision 9031, dle@openerp.com-20131205170917-7cdzghsa5690xvux
Because the xml parser needs to be fixed before this fix can be commited

bzr revid: dle@openerp.com-20131206112738-wu35g157v6myipbx

10 years ago[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9677 rev-id: dle@openerp...
Denis Ledoux [Fri, 6 Dec 2013 11:23:12 +0000 (12:23 +0100)]
[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9677 rev-id: dle@openerp.com-20131206111336-dg01y92jvjnxy5oi

bzr revid: dle@openerp.com-20131206112312-g5vzrrna05iit5ka

10 years ago[FIX] sale_stock,stock: change model to stock.picking.out of deliveries to invoice...
Denis Ledoux [Fri, 6 Dec 2013 11:13:36 +0000 (12:13 +0100)]
[FIX] sale_stock,stock: change model to stock.picking.out of deliveries to invoice view in sales

Deliveries to invoice in sales menu should display delivery order only (no incoming shipment). This was already the case thanks to the domain [('type','=','out')], but since the refactor of the module stock, and the division of stock.picking to stock.picking.in and stock.picking.out, the model of this view should be stock.picking.out instead of stock.picking (for instance, to get the actions binding (ir.values) of stock.picking.out model).
+ typo fix in action binding

bzr revid: dle@openerp.com-20131206111336-dg01y92jvjnxy5oi

10 years ago[FIX] account: performance improvement on analytic line creation
Martin Trigaux [Fri, 6 Dec 2013 10:46:59 +0000 (11:46 +0100)]
[FIX] account: performance improvement on analytic line creation
 remove analytic lines (to avoid duplicates) only when create new one instead of each validation of the account move
don't create new analytic lines at move creation, will do it once the move is balanced (unbalanced move should not create analytic lines yet)

bzr revid: mat@openerp.com-20131206104659-vct8a5l9o4nmhwqs

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Fri, 6 Dec 2013 06:24:20 +0000 (06:24 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20131205061031-0rg3zuhu9bm4ygcx
bzr revid: launchpad_translations_on_behalf_of_openerp-20131206062420-e5igkn86w68za9sv

10 years ago[FIX]sale: on sale order creation, apply on_change if needed (if required value are...
Denis Ledoux [Thu, 5 Dec 2013 17:09:17 +0000 (18:09 +0100)]
[FIX]sale: on sale order creation, apply on_change if needed (if required value are not set and can be computed from other values (onchange)

bzr revid: dle@openerp.com-20131205170917-7cdzghsa5690xvux

10 years ago[IMP] orm: force checking ir.rules on read when accessing only to _classic_write...
Martin Trigaux [Thu, 5 Dec 2013 11:32:54 +0000 (12:32 +0100)]
[IMP] orm: force checking ir.rules on read when accessing only to _classic_write fields (o2m, m2m, function)
More consistent behaviour. Was not able to access unauthorized data (retrieving data on x2m field would trigger security rules) but make sure it raises an exception instead of silently retrieve no data.
Move construct domain inside if clause as no needed before

bzr revid: mat@openerp.com-20131205113254-j3j4bb0p6ed23oht

10 years ago[FIX] web_kanban_gauge: set auto install True
Denis Ledoux [Thu, 5 Dec 2013 09:36:15 +0000 (10:36 +0100)]
[FIX] web_kanban_gauge: set auto install True

case: web_kanban_gauge has been added in the dependance of sale_crm. This module used to auto install when module sale and crm were installed. With this new dependance, the module sale_crm auto install when sale, crm and web_kanban_gauge are installed. We auto install kanban gauge so sale_crm auto install on installation of crm and sales, as web_kanban_gauge will be already installed

bzr revid: dle@openerp.com-20131205093615-1c9z0g5439xokdbt

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

bzr revid: launchpad_translations_on_behalf_of_openerp-20131205061010-2jn37v8w04xqksgg

10 years ago[FIX] convert: better error message when failed to load csv file (module name already...
Martin Trigaux [Wed, 4 Dec 2013 15:52:44 +0000 (16:52 +0100)]
[FIX] convert: better error message when failed to load csv file (module name already in path, no need to append)

bzr revid: mat@openerp.com-20131204155244-sy223fbt0tmpeqw1

10 years ago[FIX] base: allow all users (including portals) to change their avatar
Denis Ledoux [Wed, 4 Dec 2013 14:59:23 +0000 (15:59 +0100)]
[FIX] base: allow all users (including portals) to change their avatar

Force readonly="0" on field image in preferences view, otherwise the readonly can be set by access rights.
Preferences are written with the UID 1, if the fields are in the WRITEABLE FIELDS list of the object res_users.
This is why any users can edit their preferences even if they do not have the rights to write on res.users.
Forcing readonly="0" to make fields editable in the form.

bzr revid: dle@openerp.com-20131204145923-f7jwoah722q188d7

10 years ago[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9674 rev-id: dle@openerp...
Denis Ledoux [Wed, 4 Dec 2013 13:44:00 +0000 (14:44 +0100)]
[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9674 rev-id: dle@openerp.com-20131204133633-t7wfbnipv3jtss82

bzr revid: chs@openerp.com-20131204125051-dexejzwigpu0z1yy
bzr revid: dle@openerp.com-20131204134400-50y7ojeb8pw7k56s

10 years ago[FIX] sale_crm: wizard crm_make_sale crash if partner_id not sent on the opp.
Denis Ledoux [Wed, 4 Dec 2013 13:36:33 +0000 (14:36 +0100)]
[FIX] sale_crm: wizard crm_make_sale crash if partner_id not sent on the opp.

Because defaults get function of partner_id of wizard read the partner_id of the opp and return the first item of the tuple, but if there isnt a partner on the opp, the read return a false for this field, not a tuple.
No return the first item of the tuple if the partner_id is set, else False

bzr revid: dle@openerp.com-20131204133633-t7wfbnipv3jtss82

10 years ago[FIX] auth_signup: set an alias for the template user
Christophe Simonis [Wed, 4 Dec 2013 12:26:09 +0000 (13:26 +0100)]
[FIX] auth_signup: set an alias for the template user

bzr revid: chs@openerp.com-20131204122609-oi2b8g4p8cy13dux

10 years ago[FIX] mail: reset alias when copying users
Christophe Simonis [Wed, 4 Dec 2013 11:27:34 +0000 (12:27 +0100)]
[FIX] mail: reset alias when copying users

bzr revid: chs@openerp.com-20131204112734-2h569udrxgsgw9kr

10 years ago[FIX] im_livechat: many2one channel_id of im_session to the right model.
Denis Ledoux [Wed, 4 Dec 2013 12:27:27 +0000 (13:27 +0100)]
[FIX] im_livechat: many2one channel_id of im_session to the right model.

In im_session model, field channel_id was a many2one to im_user, or, obviously, this should be a many2one to im_livechat.channel
Well, obviously, this is a copy/paste error (or distraction, your choice!). This fix should normally not be pushed on a stable branch (like the current one, saas-2), but considering the severity of the problem, and the few changes in database (alter foreign key only), this is acceptable. Why such a big mistake has not been seen earlier ? Do you even test or read back what you write ?

bzr revid: dle@openerp.com-20131204122727-q0ch5j2v8rrli41e

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Wed, 4 Dec 2013 05:56:42 +0000 (05:56 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20131201054445-5fy8zd7lvnn9mjp2
bzr revid: launchpad_translations_on_behalf_of_openerp-20131202055138-hq05otjnuktjpa48
bzr revid: launchpad_translations_on_behalf_of_openerp-20131204055601-tbzqqhperzffjbjt
bzr revid: launchpad_translations_on_behalf_of_openerp-20131204055642-0rwynvhgvs0r14b3

10 years ago[FIX]portal_sale: add the lang to the email templates (sale.order and account.invoice...
Denis Ledoux [Tue, 3 Dec 2013 14:25:54 +0000 (15:25 +0100)]
[FIX]portal_sale: add the lang to the email templates (sale.order and account.invoice), for the email to be translated in the customer language (as this is the case for regular email templates from sale and account modules-

bzr revid: dle@openerp.com-20131203142554-5yrp5o5wl382oyo3

10 years ago[FIX] web: openerpframework.js: do not use _.str
Christophe Simonis [Tue, 3 Dec 2013 13:29:37 +0000 (14:29 +0100)]
[FIX] web: openerpframework.js: do not use _.str

openerpframework.js can be used as standalone library (im_livechat uses
it this way) and do not depend on underscore.string.js

bzr revid: chs@openerp.com-20131203132937-ss7hx1gligzai5ch

10 years ago[FIX]sale_stock: do not raise if not able to find any warehouse (for the get default...
Denis Ledoux [Tue, 3 Dec 2013 09:55:44 +0000 (10:55 +0100)]
[FIX]sale_stock: do not raise if not able to find any warehouse (for the get default warehouse), it can prevent the user of doing anything (if he does an upgrade of sale_stock module while having no warehouse set, the user will not be able to sign in in his instance again).

bzr revid: dle@openerp.com-20131203095544-i5vmow007dgjbiza

10 years ago[FIX] Wrong error message when data cannot be loaded at module loading
Cecile Tonglet [Tue, 3 Dec 2013 09:24:33 +0000 (10:24 +0100)]
[FIX] Wrong error message when data cannot be loaded at module loading

bzr revid: cto@openerp.com-20131203092433-uu1brp5csqvvd8yh

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Tue, 3 Dec 2013 06:16:21 +0000 (06:16 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20131130053134-6u83vcd1133xs8yf
bzr revid: launchpad_translations_on_behalf_of_openerp-20131201054550-w0k8alfqs2bigurx
bzr revid: launchpad_translations_on_behalf_of_openerp-20131202055222-2u7o99e48254dceu
bzr revid: launchpad_translations_on_behalf_of_openerp-20131203061621-hyqqh11jt7g0ilqh

10 years ago[FIX] session expired
Antony Lesuisse [Mon, 2 Dec 2013 15:42:06 +0000 (16:42 +0100)]
[FIX] session expired

bzr revid: al@openerp.com-20131202154206-6efsbeeg0mq7s67z

10 years ago[iMP] Sponsorships
Fabien Pinckaers [Mon, 2 Dec 2013 10:38:38 +0000 (11:38 +0100)]
[iMP] Sponsorships

bzr revid: fp@tinyerp.com-20131202103838-kveu1lqkqav3x0n3

10 years ago[FIX] website_sale: fixed order confirmation cleaning: self.pool -> request.registry
Thibault Delavallée [Mon, 2 Dec 2013 10:31:24 +0000 (11:31 +0100)]
[FIX] website_sale: fixed order confirmation cleaning: self.pool -> request.registry

bzr revid: tde@openerp.com-20131202103124-9lf4up79uxjwdyxp

10 years ago[FIX] website_sale: fixed checkout cleaning: self.pool -> request.registry
Thibault Delavallée [Mon, 2 Dec 2013 10:29:59 +0000 (11:29 +0100)]
[FIX] website_sale: fixed checkout cleaning: self.pool -> request.registry

bzr revid: tde@openerp.com-20131202102959-inj25wnqk1prv6qy

10 years ago[FIX] website: endpoint_is_enumerable
Xavier Morel [Mon, 2 Dec 2013 10:25:25 +0000 (11:25 +0100)]
[FIX] website: endpoint_is_enumerable

old version of @website.route would wrap the base method within a
decorator, and endpoint_is_enumerable had to dig into the decorator to
get the original function (and be able to inspect it).

@website.route has been simplified and no longer wraps the function,
just adds a pair of attributes to it (and so does the base
@http.route), so don't dig into anymore, inspect rule.endpoint
directly.

bzr revid: xmo@openerp.com-20131202102525-8jsondrr1649c8t8

10 years ago[FIX] website_sale: table_compute fill table ending holes
Christophe Matthieu [Mon, 2 Dec 2013 09:42:29 +0000 (10:42 +0100)]
[FIX] website_sale: table_compute fill table ending holes

bzr revid: chm@openerp.com-20131202094229-tqggruo231po721m

10 years ago[FIX] default language
Fabien Meghazi [Mon, 2 Dec 2013 09:35:00 +0000 (10:35 +0100)]
[FIX] default language

bzr revid: fme@openerp.com-20131202093500-xzz4q2u279uwunjo

10 years ago[FIX] public user
Fabien Pinckaers [Mon, 2 Dec 2013 09:02:39 +0000 (10:02 +0100)]
[FIX] public user

bzr revid: fp@tinyerp.com-20131202090239-a4b1kkg5pni8ye3d

10 years ago[IMP] removed a feature nobody used for a huge speed improvement (4 SQL Queries per...
Fabien Pinckaers [Mon, 2 Dec 2013 08:45:17 +0000 (09:45 +0100)]
[IMP] removed a feature nobody used for a huge speed improvement (4 SQL Queries per search/read

bzr revid: fp@tinyerp.com-20131202084517-80d1vdwfwpbdsqdn

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Mon, 2 Dec 2013 05:23:51 +0000 (05:23 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20131202052351-icrqefhleb8262tv

10 years ago[IMP] removed test code
Fabien Pinckaers [Sun, 1 Dec 2013 17:33:46 +0000 (18:33 +0100)]
[IMP] removed test code

bzr revid: fp@tinyerp.com-20131201173346-qodzx06i1wq7ec5i

10 years ago[IMP] small bugfix
Fabien Pinckaers [Sun, 1 Dec 2013 17:32:08 +0000 (18:32 +0100)]
[IMP] small bugfix

bzr revid: fp@tinyerp.com-20131201173208-r72mybhgek0aibfl

10 years ago[IMP] Speed improvements
Fabien Pinckaers [Sun, 1 Dec 2013 17:25:41 +0000 (18:25 +0100)]
[IMP] Speed improvements

bzr revid: fp@tinyerp.com-20131201172541-p8403347rv08uurh

10 years ago[IMP] renaming + comment
Fabien Pinckaers [Sun, 1 Dec 2013 00:35:20 +0000 (01:35 +0100)]
[IMP] renaming + comment

bzr revid: fp@tinyerp.com-20131201003520-nikzk23fwkkku2lg

10 years ago[IMP] code cleaning '/shop' less SQL queries, WIP
Fabien Pinckaers [Sun, 1 Dec 2013 00:23:55 +0000 (01:23 +0100)]
[IMP] code cleaning '/shop' less SQL queries, WIP

bzr revid: fp@tinyerp.com-20131201002355-82l9yab5l4vilkun

10 years ago[FIX] small fixes
Fabien Pinckaers [Sat, 30 Nov 2013 20:58:34 +0000 (21:58 +0100)]
[FIX] small fixes

bzr revid: fp@tinyerp.com-20131130205834-ilds41gcktv7vchg

10 years ago[IMP] Huge speed improvements 64 SQL queries to render '/' --> 10 Queries
Fabien Pinckaers [Sat, 30 Nov 2013 19:37:39 +0000 (20:37 +0100)]
[IMP] Huge speed improvements 64 SQL queries to render '/' --> 10 Queries

bzr revid: fp@tinyerp.com-20131130193739-095yd4p9llmj0kt1

10 years ago[IMP] Remove unused code
Fabien Pinckaers [Sat, 30 Nov 2013 16:16:55 +0000 (17:16 +0100)]
[IMP] Remove unused code

bzr revid: fp@tinyerp.com-20131130161655-u6z91t3la1l1qhca

10 years ago[IMP] Performance improvement: improved cache with context, better get_object
Fabien Pinckaers [Sat, 30 Nov 2013 15:46:59 +0000 (16:46 +0100)]
[IMP] Performance improvement: improved cache with context, better get_object

bzr revid: fp@tinyerp.com-20131130154659-uqis34x2cemmocly

10 years ago[MERGE] forward port of branch saas-2 up to revid 9024 chs@openerp.com-20131130130014...
Christophe Simonis [Sat, 30 Nov 2013 13:07:25 +0000 (14:07 +0100)]
[MERGE] forward port of branch saas-2 up to revid 9024 chs@openerp.com-20131130130014-hi5h5a00kjx0dbvp

It’s over NINE THOUSAAAAAAAND!

bzr revid: chs@openerp.com-20131130130725-9ntxdr5r7r04uoht

10 years ago[MERGE] forward port of branch 7.0 up to revid 9668 launchpad_translations_on_behalf_...
Christophe Simonis [Sat, 30 Nov 2013 13:00:14 +0000 (14:00 +0100)]
[MERGE] forward port of branch 7.0 up to revid 9668 launchpad_translations_on_behalf_of_openerp-20131130053134-6u83vcd1133xs8yf

bzr revid: chs@openerp.com-20131130130014-hi5h5a00kjx0dbvp

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Sat, 30 Nov 2013 05:14:29 +0000 (05:14 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20131130050422-r8hhiot5r58eukys
bzr revid: launchpad_translations_on_behalf_of_openerp-20131130051429-uepuma01yhw11md9

10 years ago[IMP] transparent background on impage
Fabien Pinckaers [Fri, 29 Nov 2013 21:32:29 +0000 (22:32 +0100)]
[IMP] transparent background on impage

bzr revid: fp@tinyerp.com-20131129213229-ctp1sne7r1ioa7w1

10 years ago[IMP] Indent HTML editor template names
ddm [Fri, 29 Nov 2013 17:27:49 +0000 (18:27 +0100)]
[IMP] Indent HTML editor template names

bzr revid: ddm@openerp.com-20131129172749-0z6l9k9phieiw32b

10 years ago[IMP] website_blog: change url paths
Christophe Matthieu [Fri, 29 Nov 2013 16:14:34 +0000 (17:14 +0100)]
[IMP] website_blog: change url paths

bzr revid: chm@openerp.com-20131129161434-rsnklmcz1g9b1cc0

10 years ago[FIX] website snippets: quote, quotes slider, parallax
Christophe Matthieu [Fri, 29 Nov 2013 16:00:45 +0000 (17:00 +0100)]
[FIX] website snippets: quote, quotes slider, parallax

bzr revid: chm@openerp.com-20131129160045-527o2i6unyyymr6e

10 years ago[FIX]res_config: set_default as SUPERUSER_ID. check user group to avoid passthrough...
Denis Ledoux [Fri, 29 Nov 2013 15:48:06 +0000 (16:48 +0100)]
[FIX]res_config: set_default as SUPERUSER_ID. check user group to avoid passthrough access rights security

bzr revid: dle@openerp.com-20131129154806-0gaqdbp6zobdqxy4

10 years ago[FIX] {account, sale_stock}: res_config: set_default as SUPERUSER_ID. check user...
Denis Ledoux [Fri, 29 Nov 2013 15:47:14 +0000 (16:47 +0100)]
[FIX] {account, sale_stock}: res_config: set_default as SUPERUSER_ID. check user group to avoid passthrough access rights security

bzr revid: dle@openerp.com-20131129154714-pogix71b73nz11qp

10 years ago[FIX] purchase: revert revision 7677 to set a default unit of measure to 'Unit'
Martin Trigaux [Fri, 29 Nov 2013 14:35:22 +0000 (15:35 +0100)]
[FIX] purchase: revert revision 7677 to set a default unit of measure to 'Unit'
This allows to field a purchase.order without showing the units of measure if not product is selected
Revision 7677 was integrated to fix lp:958897 (no change of uom when selecting a product whose uom is in the category 'Units'). This fix did not solve it properly (only for initial value) and introduced another problem. A better fix will be done on the onchange product.

bzr revid: mat@openerp.com-20131129143522-i85e4hvf0p4h3ynn

10 years ago[IMP] Hide tour in secondary languages (multilang)
ddm [Fri, 29 Nov 2013 14:30:58 +0000 (15:30 +0100)]
[IMP] Hide tour in secondary languages (multilang)

bzr revid: ddm@openerp.com-20131129143058-oi6swnul3idr7ngp

10 years ago[FIX] Shop tour was broken by change
ddm [Fri, 29 Nov 2013 13:15:29 +0000 (14:15 +0100)]
[FIX] Shop tour was broken by change

bzr revid: ddm@openerp.com-20131129131529-seqk3hypzcka8qxi

10 years ago[FIX] auth_signup: no alias for signuped users
Christophe Simonis [Fri, 29 Nov 2013 13:09:58 +0000 (14:09 +0100)]
[FIX] auth_signup: no alias for signuped users

bzr revid: chs@openerp.com-20131129130958-e89ex1psthcckcgt

10 years ago[FIX] Blog tour was broken by change
ddm [Fri, 29 Nov 2013 13:09:22 +0000 (14:09 +0100)]
[FIX] Blog tour was broken by change

bzr revid: ddm@openerp.com-20131129130922-1l7m0gf9uy4br6rf

10 years ago[FIX] Event tour was broken by change
ddm [Fri, 29 Nov 2013 11:34:11 +0000 (12:34 +0100)]
[FIX] Event tour was broken by change

bzr revid: ddm@openerp.com-20131129113411-oy8zdxt97i14sawt

10 years ago[FIX] crm_claim: the 'My Company' filter was wrong, not useful and not possible to...
Thibault Delavallée [Fri, 29 Nov 2013 10:27:09 +0000 (11:27 +0100)]
[FIX] crm_claim: the 'My Company' filter was wrong, not useful and not possible to achieve. It is therefore set as invisible, and its domain set as void. This won't break any inheriting views, and this filter is ready to be removed in 8.0

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

bzr revid: tde@openerp.com-20131129102709-wq4ftqx1x8h6n9xb

10 years ago[MERGE] [FIX] crm: fixed lead to opportunity wizard customer creation policy (opw...
Thibault Delavallée [Fri, 29 Nov 2013 10:17:06 +0000 (11:17 +0100)]
[MERGE] [FIX] crm: fixed lead to opportunity wizard customer creation policy (opw 596231).

When choosing to link to an existing customer, then changing the action to create
a new customer or to avoid linking, the newly created opportunity was linked
to the previously chosen customer, due to the partner_id field not being
reset and used in the conversion process.

This field is not reset when changing the conversion action, leading to the action
being correctly taken into account.

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

bzr revid: tde@openerp.com-20131129101706-ccsn5u60sw8isroy

10 years ago[IMP] wording
Fabien Pinckaers [Fri, 29 Nov 2013 10:03:01 +0000 (11:03 +0100)]
[IMP] wording

bzr revid: fp@tinyerp.com-20131129100301-hspqcb1h86droq28

10 years ago[MERGE] FIX from nhomar, first contrib on website-al
Fabien Pinckaers [Fri, 29 Nov 2013 09:47:08 +0000 (10:47 +0100)]
[MERGE] FIX from nhomar, first contrib on website-al

bzr revid: fp@tinyerp.com-20131129094708-it9q5i1pqpglv01y

10 years ago[MERGE] [FIX] mail: attachments in pure email mass mailing.
Thibault Delavallée [Fri, 29 Nov 2013 09:44:06 +0000 (10:44 +0100)]
[MERGE] [FIX] mail: attachments in pure email mass mailing.

When generating pure email mass mailing, the values are directly sent to mail_mail.create() instead of going through mail_thread.message_post(). We therefore have to process attachments (coming from email_template, as a list of tuples (attachment_name, b64-encoded attachment_content)) as well as attachment_ids, like it is done in message_post.
As this behavior is the same as the one already implemented for message_post, this feature has been moved into its dedicated method called by message_post or called before going into mail_mail.create(), depending on the mailing type.

[FIX] email_template: when generating reports in batch, correctly attach the generate attachments to the various record ids we are iterating on.

bzr revid: tde@openerp.com-20131129094406-90cijc5ac4pmp4y7

10 years ago[MERGE] Sync with saas-2
Thibault Delavallée [Fri, 29 Nov 2013 09:23:06 +0000 (10:23 +0100)]
[MERGE] Sync with saas-2

bzr revid: tde@openerp.com-20131128094037-j59xo6sbj7k00fbf
bzr revid: tde@openerp.com-20131129092306-t0nb7tgyoqovx101

10 years ago[FIX] Blog views refering to incorrect old field name page_id changed to post_id
Nhomar - Vauxoo [Fri, 29 Nov 2013 08:13:35 +0000 (03:43 -0430)]
[FIX] Blog views refering to incorrect old field name page_id changed to post_id

bzr revid: nhomar@gmail.com-20131129081335-b9ktgx7t9b5gyqhn

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Fri, 29 Nov 2013 05:30:23 +0000 (05:30 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20131126060718-7io3n16co82qp5pu
bzr revid: launchpad_translations_on_behalf_of_openerp-20131127053913-ypnlpggd4wt58pzx
bzr revid: launchpad_translations_on_behalf_of_openerp-20131128060603-kk12b8iu0uhhtist
bzr revid: launchpad_translations_on_behalf_of_openerp-20131129052938-u0wq863etr3sl1cm
bzr revid: launchpad_translations_on_behalf_of_openerp-20131129053023-zlbrprsiq9e7vs39

10 years ago[IMP] Adding sponsorship to events
Fabien Pinckaers [Thu, 28 Nov 2013 22:05:46 +0000 (23:05 +0100)]
[IMP] Adding sponsorship to events

bzr revid: fp@tinyerp.com-20131128220546-3kr49k0cmv24qs49

10 years ago[MERGE] trunk-website-demo-partner-bth
Christophe Matthieu [Thu, 28 Nov 2013 17:36:21 +0000 (18:36 +0100)]
[MERGE] trunk-website-demo-partner-bth

bzr revid: chm@openerp.com-20131128173621-ge78agxfpmxcbytu

10 years ago[MOV] payment_acquirer: moved fees computation into generic computation. Now acquirer...
Thibault Delavallée [Thu, 28 Nov 2013 17:08:12 +0000 (18:08 +0100)]
[MOV] payment_acquirer: moved fees computation into generic computation. Now acquirer have access to a fees key in the tx_values they receive for generating the buttons. Fees are computed by calling <name>_compute_fees.

bzr revid: tde@openerp.com-20131128170812-1p3ipj85e1rvuf8l

10 years ago[FIX]base_import: if the error message was an except_orm or an access denied error...
Denis Ledoux [Thu, 28 Nov 2013 16:36:13 +0000 (17:36 +0100)]
[FIX]base_import: if the error message was an except_orm or an access denied error, the error message was not displayed, only a red div without anything in it.

bzr revid: dle@openerp.com-20131128163613-e20nbr3yqvhvx4bv

10 years ago[CLEAN] payemnt_acquirer: moved some code for cleaning
Thibault Delavallée [Thu, 28 Nov 2013 16:34:24 +0000 (17:34 +0100)]
[CLEAN] payemnt_acquirer: moved some code for cleaning

bzr revid: tde@openerp.com-20131128163424-0m42q8hnert8gemk

10 years ago[IMP] payment_acquirer_paypal: added fees computation on paypal acquirer.
Thibault Delavallée [Thu, 28 Nov 2013 16:17:07 +0000 (17:17 +0100)]
[IMP] payment_acquirer_paypal: added fees computation on paypal acquirer.

paypal acquirer model: added paypal_fee_active and paypal_fee_* fields: fix and variable
fees, for domestic and international transactions.

updated views accordingly + cleaned paypal form view.

updated tests

updated form, adding handling input in the paypal button that is the input controlling
the fees in the tx process.

When creating a paypal tx, it dynamically computes fees.

bzr revid: tde@openerp.com-20131128161707-ignhrlphts47wk72

10 years ago[IMP] payment_acquirer: added company_id on the acquirer_model, to be able to know...
Thibault Delavallée [Thu, 28 Nov 2013 16:15:16 +0000 (17:15 +0100)]
[IMP] payment_acquirer: added company_id on the acquirer_model, to be able to know if the tx is domestic or international. Also added a fees field on the tx: should not be set by hand but by a specific acquirer.

bzr revid: tde@openerp.com-20131128161516-mlu0z1v5bjpwzcrv

10 years ago[FIX] payment_acquirer_paypal: data should be noupdate, otherwise each update erases...
Thibault Delavallée [Thu, 28 Nov 2013 16:14:23 +0000 (17:14 +0100)]
[FIX] payment_acquirer_paypal: data should be noupdate, otherwise each update erases the custom paypal account details

bzr revid: tde@openerp.com-20131128161423-25thhf9xe9lgpn0i

10 years ago[IMP] website: views for drag and drop snippets
Christophe Matthieu [Thu, 28 Nov 2013 16:08:51 +0000 (17:08 +0100)]
[IMP] website: views for drag and drop snippets

bzr revid: chm@openerp.com-20131128160851-xmepb4h6n0logclo

10 years ago[FIX] stock: switch ids new - old picking in the message informing the back order...
Martin Trigaux [Thu, 28 Nov 2013 14:50:59 +0000 (15:50 +0100)]
[FIX] stock: switch ids new - old picking in the message informing the back order was created (opw 594402)
Post on delivered picking that the backorder was created. Was inconsitent with the field 'Back order of'

bzr revid: mat@openerp.com-20131128145059-p3mw969z3lotkn26

10 years ago[IMP] website: hide publish/edit button on editable mode
Christophe Matthieu [Thu, 28 Nov 2013 14:36:46 +0000 (15:36 +0100)]
[IMP] website: hide publish/edit button on editable mode

bzr revid: chm@openerp.com-20131128143646-fl3okv6wisqio8xq

10 years ago[MERGE] [FIX] purchase: fix typo attr -> attrs in form view, courtesy of Joshua Jan...
Martin Trigaux [Thu, 28 Nov 2013 11:52:39 +0000 (12:52 +0100)]
[MERGE] [FIX] purchase: fix typo attr -> attrs in form view, courtesy of Joshua Jan (SHINEIT)

bzr revid: mat@openerp.com-20131128115239-yr0m9a1d2i39v6xm

10 years ago[MERGE] [FIX] document: check method fails if it is called with an id instead of...
Martin Trigaux [Thu, 28 Nov 2013 11:49:58 +0000 (12:49 +0100)]
[MERGE] [FIX] document: check method fails if it is called with an id instead of a list of ids. Courtesy of Carlos Vásquez (CLEARCORP)

bzr revid: mat@openerp.com-20131128114958-cbwsvntblmjf55cy

10 years ago[MERGE] [FIX] sale_stock: pass missing context when retrieving product uom (opw 594350)
Martin Trigaux [Thu, 28 Nov 2013 11:40:19 +0000 (12:40 +0100)]
[MERGE] [FIX] sale_stock: pass missing context when retrieving product uom (opw 594350)

bzr revid: mat@openerp.com-20131128114019-6rfcq9z235kh7ot7

10 years ago[MERGE] [FIX] mail: css improvement, no overflow when too long words, line break...
Martin Trigaux [Thu, 28 Nov 2013 11:35:20 +0000 (12:35 +0100)]
[MERGE] [FIX] mail: css improvement, no overflow when too long words, line break instead

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

bzr revid: mat@openerp.com-20131128113520-s0i7cri632n7a01g

10 years ago[MERGE] [FIX] sale: use client ref on invoice val instead of name for make invoice...
Martin Trigaux [Thu, 28 Nov 2013 11:32:32 +0000 (12:32 +0100)]
[MERGE] [FIX] sale: use client ref on invoice val instead of name for make invoice wizard, same behaviour as creation of invoice in classic _prepare_invoice of sale.py. Courtsey of Yannick Vaucher (Camptocamp)

bzr revid: mat@openerp.com-20131128113232-aun2h9fbrfxwffqt

10 years ago[FIX]purchase: on invoice payment confirmation (during a reconciliation for example...
Denis Ledoux [Thu, 28 Nov 2013 11:09:37 +0000 (12:09 +0100)]
[FIX]purchase: on invoice payment confirmation (during a reconciliation for example), 'invoice paid' is written on the purchase order of the invoice. Traceback when there was several purchase orders associated to the invoices confirmed

bzr revid: dle@openerp.com-20131128110937-gs6ko4djss3ffl3o

10 years ago[IMP] product: add fnct_inv for lst_price field
Christophe Matthieu [Thu, 28 Nov 2013 10:15:56 +0000 (11:15 +0100)]
[IMP] product: add fnct_inv for lst_price field

bzr revid: chm@openerp.com-20131128101556-1h4h87va3wuk1kd1

10 years ago[FIX] website_sale: get_website_sale_domain overited in website_event
Christophe Matthieu [Thu, 28 Nov 2013 09:51:42 +0000 (10:51 +0100)]
[FIX] website_sale: get_website_sale_domain overited in website_event

bzr revid: chm@openerp.com-20131128095142-3ez3vaiht8ppr4oh

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

bzr revid: launchpad_translations_on_behalf_of_openerp-20131128060619-0nswl7lls658nujd

10 years ago[FIX] add missing access rules for `test_workflow` test module
Christophe Simonis [Wed, 27 Nov 2013 21:26:18 +0000 (22:26 +0100)]
[FIX] add missing access rules for `test_workflow` test module

bzr revid: chs@openerp.com-20131127212618-rbd0v6nnxx2u68jp

10 years ago[FIX] module loading: do not warn about missing access rules for AbstractModels
Christophe Simonis [Wed, 27 Nov 2013 18:05:30 +0000 (19:05 +0100)]
[FIX] module loading: do not warn about missing access rules for AbstractModels

bzr revid: chs@openerp.com-20131127180530-aoslbam8almrmpbl

10 years ago[ADD] custom website ir.http#dispatch and rerouting
Fabien Meghazi [Wed, 27 Nov 2013 17:04:32 +0000 (18:04 +0100)]
[ADD] custom website ir.http#dispatch and rerouting

bzr revid: fme@openerp.com-20131127170432-z7d1w4ck03d7wwia

10 years ago[FIX] website snippet: background of quotes slider
Christophe Matthieu [Wed, 27 Nov 2013 16:59:14 +0000 (17:59 +0100)]
[FIX] website snippet: background of quotes slider

bzr revid: chm@openerp.com-20131127165914-i4tgbj1fi1q2dqin

10 years ago[FIX] website: in all popups, always order buttons in the same order
Christophe Matthieu [Wed, 27 Nov 2013 16:16:27 +0000 (17:16 +0100)]
[FIX] website: in all popups, always order buttons in the same order

bzr revid: chm@openerp.com-20131127161627-fwokmahwvp8jxhgl

10 years ago[IMP] payment_acquirer_paypal: cleaning + addition of basic s2s methods
Thibault Delavallée [Wed, 27 Nov 2013 16:09:24 +0000 (17:09 +0100)]
[IMP] payment_acquirer_paypal: cleaning + addition of basic s2s methods

The paypal module is now better included in the payment_acquirer process, using standard method naming. Added some logging / cleaning in the code.

Added generic s2s management in payment_acquirer. Implemented basic specific paypal s2s methods.

Updated and cleaned tests.

[MOV] website_sale: payment_acquirer model update is now located in its own models/payment_acquirer.py file

bzr revid: tde@openerp.com-20131127160924-a0fell523ctnaug3

10 years ago[FIX] pad: add break-word css to avoid going out of the field in case of too long...
Martin Trigaux [Wed, 27 Nov 2013 16:03:00 +0000 (17:03 +0100)]
[FIX] pad: add break-word css to avoid going out of the field in case of too long words (eg: urls) (opw 593426)

bzr revid: mat@openerp.com-20131127160300-yx42uee1xqx79ljl

10 years ago[FIX] website_event: commented Ecommerce.domin line that make crash the ecommerce...
Thibault Delavallée [Wed, 27 Nov 2013 16:02:49 +0000 (17:02 +0100)]
[FIX] website_event: commented Ecommerce.domin line that make crash the ecommerce when website event is not loaded.

bzr revid: tde@openerp.com-20131127160249-2fmgyte0l1a84dv6

10 years ago[FIX] payment_acquirer_paypal: fixed return url management in DPN controller
Thibault Delavallée [Wed, 27 Nov 2013 16:02:18 +0000 (17:02 +0100)]
[FIX] payment_acquirer_paypal: fixed return url management in DPN controller

bzr revid: tde@openerp.com-20131127160218-v4qkzcike1rm8g6b

10 years ago[FIX] website_sale: fixed call to website.get_order, located on website model
Thibault Delavallée [Wed, 27 Nov 2013 16:01:54 +0000 (17:01 +0100)]
[FIX] website_sale: fixed call to website.get_order, located on website model

bzr revid: tde@openerp.com-20131127160154-v5qpxuh70axz9cck

10 years ago[IMP] payment_acquirer_paypal: dummy data + removed import of tests
Thibault Delavallée [Wed, 27 Nov 2013 15:36:19 +0000 (16:36 +0100)]
[IMP] payment_acquirer_paypal: dummy data + removed import of tests

bzr revid: tde@openerp.com-20131127153619-4g8savetjkn8clap

10 years ago[FIX] orm: browse() do not prefetch deprecated fields
Christophe Simonis [Wed, 27 Nov 2013 15:25:37 +0000 (16:25 +0100)]
[FIX] orm: browse() do not prefetch deprecated fields

bzr revid: chs@openerp.com-20131127152537-wkof87ut5cdud6z6

10 years ago[FIX]tools, translate: more tolerant code, if the model does not exist anymore (impos...
Denis Ledoux [Wed, 27 Nov 2013 16:11:54 +0000 (17:11 +0100)]
[FIX]tools, translate: more tolerant code, if the model does not exist anymore (impossible to syncrhonize translation terms if there are ir_model_fields with non-existing models)

bzr revid: dle@openerp.com-20131127161154-t8xfjiytqq8ja8fh

10 years ago[MERGE] Sync with website-al
Thibault Delavallée [Wed, 27 Nov 2013 15:24:24 +0000 (16:24 +0100)]
[MERGE] Sync with website-al

bzr revid: tde@openerp.com-20131127152424-wq2gje9d01t2kw34

10 years ago[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9654 rev-id: dle@openerp...
Denis Ledoux [Wed, 27 Nov 2013 15:21:36 +0000 (16:21 +0100)]
[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9654 rev-id: dle@openerp.com-20131127151815-gzk9py9wtzmndziw

bzr revid: dle@openerp.com-20131127152136-5p0lkz4vpfn9qxxx

10 years ago[FIX] [IMP] payment_acquirer_paypal: fixed get_status (GET request -> give no data...
Thibault Delavallée [Wed, 27 Nov 2013 15:20:42 +0000 (16:20 +0100)]
[FIX] [IMP] payment_acquirer_paypal: fixed get_status (GET request -> give no data to urllib); cleaned a bit the code, extracted paypal contact to a dedicated method that tries 3 times if internal server error is given back by paypal + cleaned tests

bzr revid: tde@openerp.com-20131127152042-8va86q3zxsenjy6i