odoo/odoo.git
10 years ago[MRG] merge with lp;Openobject-addons
Turkesh Patel (Open ERP) [Wed, 4 Dec 2013 09:08:47 +0000 (14:38 +0530)]
[MRG] merge with lp;Openobject-addons

bzr revid: tpa@tinyerp.com-20131204090847-pv3lvxn9cqqdn31e

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

bzr revid: launchpad_translations_on_behalf_of_openerp-20131203054049-9sioco00f1s4dxvt
bzr revid: launchpad_translations_on_behalf_of_openerp-20131203054124-0db72b59pfm46z0f

10 years ago[IMP] add warning re. changed behavior of backbone which may be changed in the client
Xavier Morel [Mon, 2 Dec 2013 15:18:38 +0000 (16:18 +0100)]
[IMP] add warning re. changed behavior of backbone which may be changed in the client

bzr revid: xmo@openerp.com-20131202151838-z26qnz0xpt3tigrd

10 years ago[FIX] breakage due to backbone change: in 1.0+, this.reset() will call this.add()
Xavier Morel [Mon, 2 Dec 2013 15:10:37 +0000 (16:10 +0100)]
[FIX] breakage due to backbone change: in 1.0+, this.reset() will call this.add()

in 0.9, this.add would only be called if items were provided to
reset(), changed in commit cf6e862.

bzr revid: xmo@openerp.com-20131202151037-xxmvu5790p2jsxz6

10 years ago[IMP] upgrade backbone to 1.1.0
Antony Lesuisse [Mon, 2 Dec 2013 14:22:40 +0000 (15:22 +0100)]
[IMP] upgrade backbone to 1.1.0

bzr revid: al@openerp.com-20131202142240-ifh2rua2oiennfao

10 years ago[REM] gravatar support
Antony Lesuisse [Mon, 2 Dec 2013 13:54:14 +0000 (14:54 +0100)]
[REM] gravatar support

bzr revid: al@openerp.com-20131202135414-kkm0wz06naitbp4y

10 years ago[IMP] update fontawseome to 4.0.3
Antony Lesuisse [Mon, 2 Dec 2013 13:38:03 +0000 (14:38 +0100)]
[IMP] update fontawseome to 4.0.3

bzr revid: al@openerp.com-20131202133803-1muybwahwjo9e5sm

10 years ago[MERGE] bootstrap3
Antony Lesuisse [Mon, 2 Dec 2013 13:24:45 +0000 (14:24 +0100)]
[MERGE] bootstrap3

bzr revid: al@openerp.com-20131202132445-oux9j63auh4om284

10 years ago[MERGE] boostrap3 manually merged
Antony Lesuisse [Mon, 2 Dec 2013 13:19:43 +0000 (14:19 +0100)]
[MERGE] boostrap3 manually merged

bzr revid: al@openerp.com-20131202131943-b01fb56u0qsgcs53

10 years ago[MERGE] forward port of branch saas-2 up to revid 4992 chs@openerp.com-20131202105848...
Christophe Simonis [Mon, 2 Dec 2013 11:00:30 +0000 (12:00 +0100)]
[MERGE] forward port of branch saas-2 up to revid 4992 chs@openerp.com-20131202105848-33gcz1715w370rve

bzr revid: chs@openerp.com-20131127110757-5kaay2kcxq0ysb59
bzr revid: chs@openerp.com-20131127161639-yur4rdh3wx43kxle
bzr revid: chs@openerp.com-20131127180647-f8uws77gaym5kfvd
bzr revid: chs@openerp.com-20131202110030-gf20dv2uj5fqv7c2

10 years ago[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9684 rev-id: dle@openerp...
Denis Ledoux [Mon, 9 Dec 2013 15:57:21 +0000 (16:57 +0100)]
[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9684 rev-id: dle@openerp.com-20131209145652-3g9rgnfz1w8k0whw

bzr revid: chs@openerp.com-20131202105848-33gcz1715w370rve
bzr revid: dle@openerp.com-20131204150643-is3y0b9n8enh3yql
bzr revid: chs@openerp.com-20131206152726-pirikn7v8pev90ic
bzr revid: dle@openerp.com-20131206162437-b9niay99mirk44qm
bzr revid: tde@openerp.com-20131209102019-kjeg0rx2au1d5e5v
bzr revid: dle@openerp.com-20131209155721-589zihxx8jmvlpvp

10 years ago[FIX] point_of_sale: ignore TOTAlY returns
Denis Ledoux [Mon, 9 Dec 2013 14:56:52 +0000 (15:56 +0100)]
[FIX] point_of_sale: ignore TOTAlY returns

Returns were partially ignored when typing keystrokes, thanks to a return; when event which equaled 13, but the default behaviour (press on the focused input/button) was not prevented. This is now the case thanks to preventDefault. For instance, just after a discount set, the focused input was pressed and the associated value was added when scanning a new product with the scanner. Therefore, if we entered a discount of 30%, scanning a new product added '0', the last pushed button, to the discount, and then added the product.

bzr revid: dle@openerp.com-20131209145652-3g9rgnfz1w8k0whw

10 years ago[MERGE] [FIX] mail: fixed message_follower_ids function field.
Thibault Delavallée [Mon, 9 Dec 2013 10:08:22 +0000 (11:08 +0100)]
[MERGE] [FIX] mail: fixed message_follower_ids function field.

The set method of the field, set_followers, is now using message_subscribe and message_unsubscribe to have only one access point to adding or removing followers. Previously to this fix it was directly creating entries in the mail_followers table, neglecting the calculation of subtypes and default subtypes.

bzr revid: tde@openerp.com-20131209100822-f19udgfuubshhrg3

10 years ago[MERGE] Sync with 7.0
Thibault Delavallée [Mon, 9 Dec 2013 09:09:03 +0000 (10:09 +0100)]
[MERGE] Sync with 7.0

bzr revid: tde@openerp.com-20131209090903-al4o6uhrhhw4cqcl

10 years ago[REV] mail: removed some changes to be done in trunk, not in 7.0
Thibault Delavallée [Mon, 9 Dec 2013 09:08:02 +0000 (10:08 +0100)]
[REV] mail: removed some changes to be done in trunk, not in 7.0

bzr revid: tde@openerp.com-20131209090802-q8fzn88ia9w6o5pq

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Sun, 8 Dec 2013 05:46:53 +0000 (05:46 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20131207063209-2xi8ba5wu6l6ze00
bzr revid: launchpad_translations_on_behalf_of_openerp-20131208054536-mg4w4d6ljq8ji1nj
bzr revid: launchpad_translations_on_behalf_of_openerp-20131207063232-l64v1fhf1qcpxm2l
bzr revid: launchpad_translations_on_behalf_of_openerp-20131208054646-zixed7abpuze4qt1
bzr revid: launchpad_translations_on_behalf_of_openerp-20131123062625-f7inv72rtg2kel8g
bzr revid: launchpad_translations_on_behalf_of_openerp-20131124054801-1ukcpelfukkvwn60
bzr revid: launchpad_translations_on_behalf_of_openerp-20131125060120-nm8tkfbftg8c88v1
bzr revid: launchpad_translations_on_behalf_of_openerp-20131126060753-jnx5ran2accmo0lh
bzr revid: launchpad_translations_on_behalf_of_openerp-20131127054000-wtg675pf33f3bkar
bzr revid: launchpad_translations_on_behalf_of_openerp-20131129053028-abszdj4y76smnacb
bzr revid: launchpad_translations_on_behalf_of_openerp-20131201054555-3u1m1sy1f2og78nn
bzr revid: launchpad_translations_on_behalf_of_openerp-20131202055227-mm70khzdfnp4qcj9
bzr revid: launchpad_translations_on_behalf_of_openerp-20131207063237-vza5vb51xmd2ipl6
bzr revid: launchpad_translations_on_behalf_of_openerp-20131208054653-f4zth8j3iczlzcqz

10 years ago[FIX]ir_attachement: not self.pool.get(model) instead of model not in self.pool
Denis Ledoux [Fri, 6 Dec 2013 17:36:02 +0000 (18:36 +0100)]
[FIX]ir_attachement: not self.pool.get(model) instead of model not in self.pool

bzr revid: dle@openerp.com-20131206173602-no831oxc6m1kf6lu

10 years ago[FIX] account: correct name_search on account to be validated even at negation
Martin Trigaux [Fri, 6 Dec 2013 17:00:12 +0000 (18:00 +0100)]
[FIX] account: correct name_search on account to be validated even at negation
added test checking every combinaison of name_search

bzr revid: mat@openerp.com-20131206170012-991vs7pa1yzxvav8

10 years ago[FIX] ir_attachement: search, if the model of the ir_attachement has been removed...
Denis Ledoux [Fri, 6 Dec 2013 16:23:14 +0000 (17:23 +0100)]
[FIX] ir_attachement: search, if the model of the ir_attachement has been removed, the search ignore the attachement.

bzr revid: dle@openerp.com-20131206162314-vjpgtag8qhkl1jhk

10 years ago[MERGE] [FIX] orm: Ignore orm (4, *) operations on one2many if link already exists.
Martin Trigaux [Fri, 6 Dec 2013 14:43:01 +0000 (15:43 +0100)]
[MERGE] [FIX] orm: Ignore orm (4, *) operations on one2many if link already exists.

Web client returns (4, ) operations for unchanged line in one2many widgets.
This allows to skip orm write on object where potentially has no access (eg: timesheet line with another user). (opw 599494)

bzr revid: mat@openerp.com-20131206144301-k6ugjota873nz75d

10 years ago[FIX] orm: inverting the condition seems to work (don't ask why)
Martin Trigaux [Fri, 6 Dec 2013 14:22:20 +0000 (15:22 +0100)]
[FIX] orm: inverting the condition seems to work (don't ask why)

bzr revid: mat@openerp.com-20131206142220-nfqiyeic9fdkejxy

10 years ago[FIX]sale: on sale order creation, apply on_change if needed (if required value are...
Denis Ledoux [Fri, 6 Dec 2013 13:51:11 +0000 (14:51 +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-20131206135111-nh31jgspelvwnhat

10 years ago[MERGE] [FIX] account: performance improvement on account.analytic.lines
Martin Trigaux [Fri, 6 Dec 2013 13:11:25 +0000 (14:11 +0100)]
[MERGE] [FIX] account: performance improvement on account.analytic.lines
don't create new analytic lines at move creation, will do it once the move is balanced
don't remove analytic lines (to avoid duplicates) at the begining of the validation of a move, will do it once we create the new correct analytic lines (opw 597719)

bzr revid: mat@openerp.com-20131206131125-fvzy62qqx3gnwmw5

10 years ago[FIX] orm: ignore existing link for operation (4, x) in one2many fields
Martin Trigaux [Fri, 6 Dec 2013 12:54:03 +0000 (13:54 +0100)]
[FIX] orm: ignore existing link for operation (4, x) in one2many fields

bzr revid: mat@openerp.com-20131206125403-r6uemlh7jagw01gh

10 years ago[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9678 rev-id: dle@openerp...
Denis Ledoux [Fri, 6 Dec 2013 12:19:08 +0000 (13:19 +0100)]
[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9678 rev-id: dle@openerp.com-20131206121552-xre6jj34cpfuldoa

bzr revid: dle@openerp.com-20131206121908-oomajjxqtsp8cipc

10 years ago[FIX] purchase: warning uom category different only if the changed field is product_u...
Denis Ledoux [Fri, 6 Dec 2013 12:15:52 +0000 (13:15 +0100)]
[FIX] purchase: warning uom category different only if the changed field is product_uom itself.

Changing product_id with a different unit category does not trigger the uom category change warning

bzr revid: dle@openerp.com-20131206121552-xre6jj34cpfuldoa

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 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[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[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[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] 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[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 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[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[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[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 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[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] 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] 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]note: notes with undefined stages did not appear if the user had defined stages...
Denis Ledoux [Wed, 27 Nov 2013 15:18:15 +0000 (16:18 +0100)]
[FIX]note: notes with undefined stages did not appear if the user had defined stages (they appeared if the user had no stages defined)

bzr revid: dle@openerp.com-20131127151815-gzk9py9wtzmndziw

10 years ago[FIX] base_calendar: do not use deprecated field `organizer`
Christophe Simonis [Wed, 27 Nov 2013 14:55:40 +0000 (15:55 +0100)]
[FIX] base_calendar: do not use deprecated field `organizer`

bzr revid: chs@openerp.com-20131127145540-t8uxk5cpx9d8utm8

10 years ago[MERGE] [IMP] [REV] crm, addons: still stage/state tweaking
Thibault Delavallée [Fri, 29 Nov 2013 09:50:45 +0000 (10:50 +0100)]
[MERGE] [IMP] [REV] crm, addons: still stage/state tweaking
- crm: Mark Won / Lost buttons are back
- crm: now using the new 'fold_field' option to fold some stages on the fold
field of stages. Back to saas-1 bebavhior.
- project, project_issue: task and issue also use the fold_field option.
- project: fixed 'X Tasks' display on the project vignette: now always displaying
'X Tasks at plural form to simplify the view

bzr revid: tde@openerp.com-20131129095045-nij3okz6plauhfbl

10 years ago[IMP] form_view: statusbar widget: folded back as an option.
Thibault Delavallée [Fri, 29 Nov 2013 09:48:11 +0000 (10:48 +0100)]
[IMP] form_view: statusbar widget: folded back as an option.

The widget option 'fold_field' allows to tell the widget to use this field on
the model used for stages to compute the folded selection.

If not set, no stage is folded.

bzr revid: tde@openerp.com-20131129094811-j4f0q1sjudrz715s

10 years ago[MERGE] Sync with trunk
Thibault Delavallée [Fri, 29 Nov 2013 09:46:10 +0000 (10:46 +0100)]
[MERGE] Sync with trunk

bzr revid: tde@openerp.com-20131129094610-qlrd1h502szo0b61

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

bzr revid: launchpad_translations_on_behalf_of_openerp-20131128053139-pjkqtyxh30xqyvpn

10 years ago[MERGE] improvements of 'post entry' wizard in order to allow the selection of severa...
Quentin (OpenERP) [Wed, 27 Nov 2013 15:32:57 +0000 (16:32 +0100)]
[MERGE] improvements of 'post entry' wizard in order to allow the selection of several journals and several periods. Courtesy of Alexis de Lattre (Akretion)

bzr revid: qdp-launchpad@openerp.com-20131127153257-9e4ajwqvrmbuvxrn

10 years ago[FIX] account: Set the alignment of Total parallel to amount in invoice report
Martin Trigaux [Wed, 27 Nov 2013 14:51:45 +0000 (15:51 +0100)]
[FIX] account: Set the alignment of Total parallel to amount in invoice report

bzr revid: mat@openerp.com-20131127145145-qr48qhkvcw02e9ww

10 years ago[FIX]google_drive: using res.users has_group method to know if the user is admin...
Denis Ledoux [Wed, 27 Nov 2013 14:20:49 +0000 (15:20 +0100)]
[FIX]google_drive: using res.users has_group method to know if the user is admin, instead of reading groups_id of the user (and, also, fixed the read call with a string instead of an array for the fields to read)

bzr revid: dle@openerp.com-20131127142049-v9sr5ldc9g4cct98

10 years ago[FIX]google_spreadsheet: if formula contained html special chars, the formula was...
Denis Ledoux [Wed, 27 Nov 2013 13:35:00 +0000 (14:35 +0100)]
[FIX]google_spreadsheet: if formula contained html special chars, the formula was not written on the spreadsheet. The formula is now html escaped before sending the writting request on the spreadsheet.

bzr revid: dle@openerp.com-20131127133500-18vra6sqs6cb3loh

10 years ago[FIX] image issue.
Turkesh Patel (Open ERP) [Wed, 27 Nov 2013 13:04:11 +0000 (18:34 +0530)]
[FIX] image issue.

bzr revid: tpa@tinyerp.com-20131127130411-wsng5u7yo43rdyh0

10 years ago[FIX] mail: decode filename at email reception (if non-ascii characters) (opw 591729)
Martin Trigaux [Wed, 27 Nov 2013 12:40:21 +0000 (13:40 +0100)]
[FIX] mail: decode filename at email reception (if non-ascii characters) (opw 591729)

bzr revid: mat@openerp.com-20131127124021-bliapaggdjd1xnuz

10 years ago[MERGE] forward port of branch saas-2 up to revid 9017 chs@openerp.com-20131127110552...
Christophe Simonis [Wed, 27 Nov 2013 11:12:08 +0000 (12:12 +0100)]
[MERGE] forward port of branch saas-2 up to revid 9017 chs@openerp.com-20131127110552-3u2nxwu01gxj9i7m

bzr revid: chs@openerp.com-20131127111208-iclt7a9ib7oucumh

10 years ago[MERGE] remove warnings
Christophe Simonis [Wed, 27 Nov 2013 11:05:52 +0000 (12:05 +0100)]
[MERGE] remove warnings

bzr revid: chs@openerp.com-20131127110552-3u2nxwu01gxj9i7m

10 years ago[MERGE] forward port of branch 7.0 up to revid 9651 chs@openerp.com-20131127104459...
Christophe Simonis [Wed, 27 Nov 2013 11:00:46 +0000 (12:00 +0100)]
[MERGE] forward port of branch 7.0 up to revid 9651 chs@openerp.com-20131127104459-jb77x7quwcvtifm7

bzr revid: dle@openerp.com-20131126171210-jovr7e7efehuq3s2
bzr revid: chs@openerp.com-20131127110046-4ow36dkuuyzgf1pl

10 years ago[MERGE] forward port of branch 7.0 up to revid 5151 launchpad_translations_on_behalf_...
Christophe Simonis [Wed, 27 Nov 2013 10:58:28 +0000 (11:58 +0100)]
[MERGE] forward port of branch 7.0 up to revid 5151 launchpad_translations_on_behalf_of_openerp-20131127053913-ypnlpggd4wt58pzx

bzr revid: chs@openerp.com-20131127105828-ng8z4by1tszmj9d2

10 years ago[MERGE] {purchase,purchase_requisition}: choose the right warehouse when creating...
Christophe Simonis [Wed, 27 Nov 2013 10:44:59 +0000 (11:44 +0100)]
[MERGE] {purchase,purchase_requisition}: choose the right warehouse when creating purchase orders from purchase order/requisition

bzr revid: chs@openerp.com-20131127104459-jb77x7quwcvtifm7

10 years ago[IMP] [REV] crm, addons: still stage/state tweaking
Thibault Delavallée [Wed, 27 Nov 2013 09:53:00 +0000 (10:53 +0100)]
[IMP] [REV] crm, addons: still stage/state tweaking
- crm: Mark Won / Lost buttons are back
- crm: now using the new 'fold_field' option to fold some stages on the fold
field of stages. Back to saas-1 bebavhior.
- project, project_issue: task and issue also use the fold_field option.
- project: fixed 'X Tasks' display on the project vignette: now always displaying
'X Tasks at plural form to simplify the view.

bzr revid: tde@openerp.com-20131127095300-9onzlt5pl9u82zt6

10 years ago[IMP] form_view: statusbar widget: folded back as an option.
Thibault Delavallée [Wed, 27 Nov 2013 09:50:37 +0000 (10:50 +0100)]
[IMP] form_view: statusbar widget: folded back as an option.

The widget option 'fold_field' allows to tell the widget to use this field on
the model used for stages to compute the folded selection.

If not set, no stage is folded.

bzr revid: tde@openerp.com-20131127095037-me1cvl272ex1e6r9

10 years ago[FIX] sale, purchase: don't copy the customer/supplier reference when copying a SO/PO
Quentin (OpenERP) [Wed, 27 Nov 2013 08:46:25 +0000 (09:46 +0100)]
[FIX] sale, purchase: don't copy the customer/supplier reference when copying a SO/PO

bzr revid: qdp-launchpad@openerp.com-20131127084625-dqgoloz4q47zlpti

10 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Wed, 27 Nov 2013 04:37:35 +0000 (04:37 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20131127043735-yp016yh8n07kzusm

10 years ago[IMP] orm: copy() does not copy deprecated fields
Christophe Simonis [Tue, 26 Nov 2013 18:52:10 +0000 (19:52 +0100)]
[IMP] orm: copy() does not copy deprecated fields

bzr revid: chs@openerp.com-20131126185210-8kd5stdexa4ozn2m

10 years ago[FIX] purchase_requisition: copy method _get_warehouse from purchase module to avoid...
Christophe Simonis [Tue, 26 Nov 2013 18:07:26 +0000 (19:07 +0100)]
[FIX] purchase_requisition: copy method _get_warehouse from purchase module to avoid crash if purchase_requisition is updated but not purchase

bzr revid: chs@openerp.com-20131126180726-ng0gue9pedmuykj9