odoo/odoo.git
10 years ago[IMP] Show button google cal only on crm meeting model
jke-openerp [Tue, 17 Dec 2013 12:18:08 +0000 (13:18 +0100)]
[IMP] Show button google cal only on crm meeting model

bzr revid: jke@openerp.com-20131217121808-miv2zlo2guuxrt1r

10 years ago[TYPO] Continue install module google calendar and descriptions + typo + ...
jke-openerp [Mon, 16 Dec 2013 16:21:47 +0000 (17:21 +0100)]
[TYPO] Continue install module google calendar and descriptions + typo + ...

bzr revid: jke@openerp.com-20131216162147-qygweglpl0k6qzux

10 years ago[FIX] Move old uniq constraint of google_id from crm_meeting to calendar.attendee
jke-openerp [Fri, 13 Dec 2013 17:25:00 +0000 (18:25 +0100)]
[FIX] Move old uniq  constraint of google_id from crm_meeting to calendar.attendee

bzr revid: jke@openerp.com-20131213172500-nclgwxrldbf9nyxu

10 years ago[IMP] Move google Id from event to attendee to allow to an event to be on several...
jke-openerp [Fri, 13 Dec 2013 16:27:52 +0000 (17:27 +0100)]
[IMP] Move google Id from event to attendee to allow to an event to be on several google calendars

bzr revid: jke@openerp.com-20131213162752-q6z3v7yplj3m8p7b

10 years ago[REF] Cleaning old code, remove commented code, ...
jke-openerp [Fri, 13 Dec 2013 10:35:17 +0000 (11:35 +0100)]
[REF] Cleaning old code, remove commented code, ...

bzr revid: jke@openerp.com-20131213103517-ynzu2ti596dh3zm4

10 years ago[IMP] Add description on Google Calendar module
jke-openerp [Thu, 12 Dec 2013 11:05:50 +0000 (12:05 +0100)]
[IMP] Add description on Google Calendar module

bzr revid: jke@openerp.com-20131212110550-kf8mgq605v7ddben

10 years ago[Typo] Typo access security...
jke-openerp [Wed, 11 Dec 2013 19:18:57 +0000 (20:18 +0100)]
[Typo] Typo access security...

bzr revid: jke@openerp.com-20131211191857-uegy2x34lnf7mhaj

10 years ago[Typo] Typo access security
jke-openerp [Wed, 11 Dec 2013 18:53:42 +0000 (19:53 +0100)]
[Typo] Typo access security

bzr revid: jke@openerp.com-20131211185342-lhcb8kl8ekzc3bb5

10 years ago[IMP] Add wizard and tuto for google synchro. add permission missing on calendar...
jke-openerp [Wed, 11 Dec 2013 16:38:49 +0000 (17:38 +0100)]
[IMP] Add wizard and tuto for google synchro. add permission missing on calendar object

bzr revid: jke@openerp.com-20131211163849-z438c5d8m7w4qt3l

10 years ago[REF] Ref to remove warning about missing user_id in calendar.attendee
jke-openerp [Wed, 11 Dec 2013 13:06:35 +0000 (14:06 +0100)]
[REF] Ref to remove warning about missing user_id in calendar.attendee

bzr revid: jke@openerp.com-20131211130635-hjrb306zrph4dcg5

10 years ago[MERGE] Merge with trunk
jke-openerp [Wed, 11 Dec 2013 09:21:35 +0000 (10:21 +0100)]
[MERGE] Merge with trunk

bzr revid: jke@openerp.com-20131211092135-9liltq7anwapl8jo

10 years ago[MERGE] Merge with trunk
jke-openerp [Wed, 11 Dec 2013 08:50:00 +0000 (09:50 +0100)]
[MERGE] Merge with trunk

bzr revid: jke@openerp.com-20131210165643-q9y3um1wkik52aam
bzr revid: jke@openerp.com-20131211085000-k34jnv099p667is4

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

bzr revid: launchpad_translations_on_behalf_of_openerp-20131211053249-7onr7u94z5rfg60p
bzr revid: launchpad_translations_on_behalf_of_openerp-20131212051525-n6q6vsucee027ihr

10 years ago[FIX] http: correctly handle the rollback when an exception is raised. Indeed dispath...
Thibault Delavallée [Wed, 11 Dec 2013 11:23:04 +0000 (12:23 +0100)]
[FIX] http: correctly handle the rollback when an exception is raised. Indeed dispathc serializes the exception, leading to the error being catched before we check and rollback the transaction. This commit fixes this.

bzr revid: tde@openerp.com-20131211112304-m2591t7endfetptc

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

bzr revid: launchpad_translations_on_behalf_of_openerp-20131211053156-p3v0gn1hf6l8c8h7
bzr revid: launchpad_translations_on_behalf_of_openerp-20131211055224-g9i9shv9qqhb93cz

10 years ago[REF] Refactoring complete of synchro calendar with pre-processing
jke-openerp [Tue, 10 Dec 2013 16:56:09 +0000 (17:56 +0100)]
[REF] Refactoring complete of synchro calendar with pre-processing

bzr revid: jke@openerp.com-20131210165609-72tc122gwgxm0p5u

10 years ago[REF] Refactoring complete of synchro calendar with pre-processing
jke-openerp [Tue, 10 Dec 2013 16:45:25 +0000 (17:45 +0100)]
[REF] Refactoring complete of synchro calendar with pre-processing

bzr revid: jke@openerp.com-20131210164525-y8z6yhandea7x0ry

10 years ago[CHG] replace [Add] button in m2m lists by link in row, similar to o2m
Xavier Morel [Tue, 10 Dec 2013 16:44:43 +0000 (17:44 +0100)]
[CHG] replace [Add] button in m2m lists by link in row, similar to o2m

Task 4941

Extracted relevant section from One2ManyList which already implemented
it previously, then created and hooked in m2m list using (inheriting
from) extracted code.

bzr revid: xmo@openerp.com-20131210164443-ur44b8g5gdrt8jt1

10 years ago[MERGE] [FIX] res_font: requires server commit 5011
Martin Trigaux [Mon, 9 Dec 2013 17:15:51 +0000 (18:15 +0100)]
[MERGE] [FIX] res_font: requires server commit 5011
Mainly fix reports
Adapt API to new res_font methods
See server commit message for more information

bzr revid: mat@openerp.com-20131209171551-fgiv790hcvjnp1ly

10 years ago[MERGE] [FIX] res_font: make it works in multiworker environment
Martin Trigaux [Mon, 9 Dec 2013 17:13:38 +0000 (18:13 +0100)]
[MERGE] [FIX] res_font: make it works in multiworker environment

res_font model gains family, path and mode field
Basic fonts embedded in pdf (Helvetica, Times and Courier) are data
Fix reports using font names to be valid (eg: DejaVu Sans Bold -> DejaVuSans-Bold)
default_get of res_company does not scan the filesystem anymore
family field is new name_get font for res_font (more user friendly)
Domain on displayed font to only 'normal ones' (not bold or italic)
Handle fonts in 'book' mode as normal in setTTFontMapping
Relax constraint on res_font to unique family and name ('name' was actually family before)
font_scan is called on 'reload fonts' action button and for each report rendering
font_scan is lazy when loaded from report and scanning the filesystem only if no font recorded in filesystem
'/dev/null' in font path is used to add fonts in the list but not loaded by reportlab
Scanning the filesystem triggers clear_caches
clear_cache resets the list of found fonts to empty list to make font_scan call to reload the full list (when redering a report on any worker, will always get the updated font list after a scan)
Add access rights for fonts (read everybody, create admin, call font_scan as superuser in report rendering)
Remove font hack with BaseCustomTTFonts, rely fully on the system fonts
Use glob instead of listdir (needed for path like '/usr/share/fonts/TTF/*')
Make warning message from reportlab more self-explaining.

Also make the runbot green (which is nice)

bzr revid: mat@openerp.com-20131209171338-o796pldia9da3kt2

10 years ago[MERGE] sync with trunk
Martin Trigaux [Mon, 9 Dec 2013 16:39:36 +0000 (17:39 +0100)]
[MERGE] sync with trunk

bzr revid: mat@openerp.com-20131209154236-jjawy50a8tvmyayb
bzr revid: mat@openerp.com-20131209163936-6n9z81etuejkdpsg

10 years ago[TESTS] mail: mute logger back in mail tests
Thibault Delavallée [Mon, 9 Dec 2013 16:09:23 +0000 (17:09 +0100)]
[TESTS] mail: mute logger back in mail tests

bzr revid: tde@openerp.com-20131209160923-3yisgzqmns6pviud

10 years ago[FIX] font: family with one l (Familly is a commune in the Calvados department in...
Martin Trigaux [Mon, 9 Dec 2013 15:57:02 +0000 (16:57 +0100)]
[FIX] font: family with one l (Familly is a commune in the Calvados department in the Basse-Normandie region in northwestern France.)

bzr revid: mat@openerp.com-20131209155702-negir6agbiugfctz

10 years ago[IMP] fix licence
Martin Trigaux [Mon, 9 Dec 2013 15:45:37 +0000 (16:45 +0100)]
[IMP] fix licence

bzr revid: mat@openerp.com-20131209154537-r5hpcveuxmvcdj10

10 years ago[MERGE] sync with trunk
Martin Trigaux [Mon, 9 Dec 2013 15:42:01 +0000 (16:42 +0100)]
[MERGE] sync with trunk

bzr revid: mat@openerp.com-20131209154201-1s0f98h43y5mu9ui

10 years ago[FIX] font: trigger signal for clear cache instead on self
Martin Trigaux [Mon, 9 Dec 2013 15:38:42 +0000 (16:38 +0100)]
[FIX] font: trigger signal for clear cache instead on self

bzr revid: mat@openerp.com-20131209153842-l13zfc24at7cfisc

10 years ago[IMP] font: better handeling of multiworker environement
Martin Trigaux [Mon, 9 Dec 2013 15:14:54 +0000 (16:14 +0100)]
[IMP] font: better handeling of multiworker environement

bzr revid: mat@openerp.com-20131209151454-5rylu5alldd3ixmh

10 years ago[REF] Synchro method create-delete-update, to replace with always active=False and...
jke-openerp [Mon, 9 Dec 2013 14:08:19 +0000 (15:08 +0100)]
[REF] Synchro method create-delete-update, to replace with always active=False and pre-processing

bzr revid: jke@openerp.com-20131209140819-v0njlfjvl2biep2m

10 years ago[FIX] font: revert previous (use name and not familly in reportlab), fix reports...
Martin Trigaux [Mon, 9 Dec 2013 13:37:42 +0000 (14:37 +0100)]
[FIX] font: revert previous (use name and not familly in reportlab), fix reports using spaces

bzr revid: mat@openerp.com-20131209133742-7u1sesoinrmfpwf0

10 years ago[FIX] font: revert previous (use name and not familly in reportlab), fix reports...
Martin Trigaux [Mon, 9 Dec 2013 13:34:31 +0000 (14:34 +0100)]
[FIX] font: revert previous (use name and not familly in reportlab), fix reports using spaces

bzr revid: mat@openerp.com-20131209133431-6gjhq1zmrb2ro6eo

10 years ago[FIX] font: correct call to font_scan, add book to displayed mode
Martin Trigaux [Mon, 9 Dec 2013 13:21:32 +0000 (14:21 +0100)]
[FIX] font: correct call to font_scan, add book to displayed mode

bzr revid: mat@openerp.com-20131209132132-61qg1zsybh6zcxim

10 years ago[FIX] font: correct call to font_scan, add book to displayed mode
Martin Trigaux [Mon, 9 Dec 2013 13:21:09 +0000 (14:21 +0100)]
[FIX] font: correct call to font_scan, add book to displayed mode

bzr revid: mat@openerp.com-20131209132109-c2bluohdj7hkp2px

10 years ago[FIX] font: avoid removing fake fonts
Martin Trigaux [Mon, 9 Dec 2013 13:08:44 +0000 (14:08 +0100)]
[FIX] font: avoid removing fake fonts

bzr revid: mat@openerp.com-20131209130844-b8gvcfgqf5t744ir

10 years ago[FIX] font: correctly place font_scan call, use superuser_id, restrict rights for...
Martin Trigaux [Mon, 9 Dec 2013 12:57:05 +0000 (13:57 +0100)]
[FIX] font: correctly place font_scan call, use superuser_id, restrict rights for general users, invert name and family

bzr revid: mat@openerp.com-20131209125705-gk2sjiwxqyxc702r

10 years ago[IMP] font: move lazy loading to report_rml instead of report_sxw
Martin Trigaux [Mon, 9 Dec 2013 11:32:07 +0000 (12:32 +0100)]
[IMP] font: move lazy loading to report_rml instead of report_sxw

bzr revid: mat@openerp.com-20131209113207-qwipb3urh8gbb04s

10 years ago[IMP] font: reload font list only when empty
Martin Trigaux [Mon, 9 Dec 2013 11:18:11 +0000 (12:18 +0100)]
[IMP] font: reload font list only when empty

bzr revid: mat@openerp.com-20131209111811-2oisaal26bku7mpt

10 years ago[FIX] base_setup: adapt api
Martin Trigaux [Mon, 9 Dec 2013 11:08:50 +0000 (12:08 +0100)]
[FIX] base_setup: adapt api

bzr revid: mat@openerp.com-20131209110850-f1asm1ow6isfdtqa

10 years ago[IMP] font: add security rule, lazy loading at first report rendering
Martin Trigaux [Mon, 9 Dec 2013 11:05:11 +0000 (12:05 +0100)]
[IMP] font: add security rule, lazy loading at first report rendering

bzr revid: mat@openerp.com-20131209110511-l72dgop00bfdeq3v

10 years ago[MERGE] [FORWARD] Forward port of saas-2 branch until revision 9036 (revid tde@opener...
Thibault Delavallée [Mon, 9 Dec 2013 10:50:31 +0000 (11:50 +0100)]
[MERGE] [FORWARD] Forward port of saas-2 branch until revision 9036 (revid tde@openerp.com-20131209102019-kjeg0rx2au1d5e5v)

bzr revid: tde@openerp.com-20131209105031-17920wsidpqrwmxj

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 [Mon, 9 Dec 2013 05:19:59 +0000 (05:19 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20131209051959-7j1f1anh77czkpsn

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[MERGE] [FIX] account_anglo_saxon: at invoice validation, the price for the analytic...
Martin Trigaux [Thu, 5 Dec 2013 16:38:02 +0000 (17:38 +0100)]
[MERGE] [FIX] account_anglo_saxon: at invoice validation, the price for the analytic lines should be computed using the price_unit of the related stock.move instead of the product standard price (useful if different valuation method, could have price difference between delivery and invoice time)

bzr revid: mat@openerp.com-20131205163802-chgmkik9qj0s5kw6

10 years ago[FIX] account_anglo_saxon: at invoice validation, the price for the analytic lines...
Martin Trigaux [Thu, 5 Dec 2013 16:34:06 +0000 (17:34 +0100)]
[FIX] account_anglo_saxon: at invoice validation, the price for the analytic lines should be computed using the price_unit of the related stock.move instead of the product standard price (useful if different valuation method, could have price difference between delivery and invoice time)

bzr revid: mat@openerp.com-20131205163406-3rvupbbj3sm9q550

10 years ago[MERGE] [IMP] crm, sale_crm: improved sales team kanban view
Thibault Delavallée [Thu, 5 Dec 2013 16:00:29 +0000 (17:00 +0100)]
[MERGE] [IMP] crm, sale_crm: improved sales team kanban view

Including:
- sales team members are displayed
- fixed sparklines whose numbers were incorrect
- sparklines now redirect to a correct report view, filtered for the sales team, grouped by month, in order to have matching results between the vignette links and the displayed reports
- custom css in crm put in a sass file
- sale_crm extend the crm reports, to add the section_id field in the reports, allowing to filter / group by salesteam. The analysis view has been put into several methods to allow extension.

bzr revid: tde@openerp.com-20131205160029-1tljp52ovcavwxel

10 years ago[MERGE] [FIX] web_kanban_gauge: check the value entered in the forecast
Thibault Delavallée [Thu, 5 Dec 2013 16:00:10 +0000 (17:00 +0100)]
[MERGE] [FIX] web_kanban_gauge: check the value entered in the forecast

[IMP] web_kanban_sparkline: added an option to add a suffix in the sparkline tooltips

bzr revid: tde@openerp.com-20131205160010-8ecv8b618fa6rywj

10 years ago[IMP] crm: sales team kanban view: added suffix on opportunity sparkline + fixed...
Thibault Delavallée [Thu, 5 Dec 2013 15:14:24 +0000 (16:14 +0100)]
[IMP] crm: sales team kanban view: added suffix on opportunity sparkline + fixed the one on leads

bzr revid: tde@openerp.com-20131205151424-kctwivphai3kspkz

10 years ago[CLEAN] web_kanban_sparkline: removed tootip_suffix_field, not used and not necessary
Thibault Delavallée [Thu, 5 Dec 2013 15:13:55 +0000 (16:13 +0100)]
[CLEAN] web_kanban_sparkline: removed tootip_suffix_field, not used and not necessary

bzr revid: tde@openerp.com-20131205151355-p2vtq5s1etv145my

10 years ago[CLEAN] web_kanban_gauge: removed unnecessary code before merging
Thibault Delavallée [Thu, 5 Dec 2013 15:03:37 +0000 (16:03 +0100)]
[CLEAN] web_kanban_gauge: removed unnecessary code before merging

bzr revid: tde@openerp.com-20131205150337-5lwc6w7whrtlwp5d

10 years ago[CLEAN] crm: effectively removed commented code
Thibault Delavallée [Thu, 5 Dec 2013 14:53:44 +0000 (15:53 +0100)]
[CLEAN] crm: effectively removed commented code

bzr revid: tde@openerp.com-20131205145344-y7ierj85glu439l7

10 years ago[CLEAN] sale_crm: cleaning before merging
Thibault Delavallée [Thu, 5 Dec 2013 14:45:05 +0000 (15:45 +0100)]
[CLEAN] sale_crm: cleaning before merging
- sales report: the group by salesteam was wrongly placed in the view
- sale_crm: fixed computation for sparklines, now bar graph should display the same
result as the sales analysis
- added a forgottent cursor: pointer for a gauge
- moved the gauges in the dom
- sale_crm: report: removed extra content not necessary

bzr revid: tde@openerp.com-20131205144505-jfsd8lh91r1b13a1

10 years ago[FIX] crm: sales team kanban view: added an oe_clear beceause of alignment issues...
Thibault Delavallée [Thu, 5 Dec 2013 14:43:44 +0000 (15:43 +0100)]
[FIX] crm: sales team kanban view: added an oe_clear beceause of alignment issues when adding things below item_list.

bzr revid: tde@openerp.com-20131205144344-d8616y18n2lvnkgu

10 years ago[CLEAN] crm: cleaned modifications before merging :
Thibault Delavallée [Thu, 5 Dec 2013 12:47:49 +0000 (13:47 +0100)]
[CLEAN] crm: cleaned modifications before merging :
- moved css into sass file to standardize the process
- commented some records added in the xml file of crm.case.section that do not seem necessary

bzr revid: tde@openerp.com-20131205124749-3a1quhetgxq2d224

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[MERGE] Sync with trunk, notably for bootstrap that landed in trunk
Thibault Delavallée [Thu, 5 Dec 2013 10:24:02 +0000 (11:24 +0100)]
[MERGE] Sync with trunk, notably for bootstrap that landed in trunk

bzr revid: tde@openerp.com-20131205102402-v6p1c1duimd9m59l

10 years ago[MERGE] Sync with trunk, notably for bootstrap that landed in trunk
Thibault Delavallée [Thu, 5 Dec 2013 10:23:52 +0000 (11:23 +0100)]
[MERGE] Sync with trunk, notably for bootstrap that landed in trunk

bzr revid: tde@openerp.com-20131205102352-ncx6whb8r0fejgcc

10 years ago[IMP] [FIX] mail: mail_thread: routing: check for exact message_id.
Thibault Delavallée [Thu, 5 Dec 2013 10:05:34 +0000 (11:05 +0100)]
[IMP] [FIX] mail: mail_thread: routing: check for exact message_id.

When processing an incoming email, we try to find a parent for the email based on references. Before this merge, it was done using openerp-<model-<res_id> pattern. However it is buggy. Indeed having two OpenERP sending emails to each other leads to messages being inserted in a wrong thread (model and res_id of the first OpenERP for both instances).

Now we search for an exact match between the references and the stored message_ids. As each message_id can be considered as unique the number of collisions is lessened. This won't cause any issues with OpenERP >= 7.0.

A compatibility mode is implemented for <= 6.1: as in those versions the message_id is not stored, we fall back on the previous behavior for records having messages without message_id. This indicates that the record was created before 7.0.

Tests have been updated accordingly, and a test added for the compatibility mode.

bzr revid: tde@openerp.com-20131205100534-2rlyun8wqng3qa6f

10 years ago[IMP] [CLEAN] mail: mail_thread: routing
Thibault Delavallée [Thu, 5 Dec 2013 09:39:21 +0000 (10:39 +0100)]
[IMP] [CLEAN] mail: mail_thread: routing
- removed a debug print statement
- now searching all references once instead of each reference one at a time
to lessen the number of queries; as the newest message will be the first
in the search result, it's ok.

bzr revid: tde@openerp.com-20131205093921-h7sits57vqc51c8p

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 ago[MERGE] Sync with trunk
Thibault Delavallée [Thu, 5 Dec 2013 09:36:09 +0000 (10:36 +0100)]
[MERGE] Sync with trunk

bzr revid: tde@openerp.com-20131205093609-3lj3hsxz2vsudhw3

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[MERGE] forward port of branch saas-2 up to revid 9029 chs@openerp.com-20131204125051...
Christophe Simonis [Wed, 4 Dec 2013 13:00:23 +0000 (14:00 +0100)]
[MERGE] forward port of branch saas-2 up to revid 9029 chs@openerp.com-20131204125051-dexejzwigpu0z1yy

bzr revid: chs@openerp.com-20131204130023-lgravuoxwlt39pek

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 ago[FIX] ir.http: catch all authentification errors
Christophe Simonis [Wed, 4 Dec 2013 10:24:30 +0000 (11:24 +0100)]
[FIX] ir.http: catch all authentification errors

bzr revid: chs@openerp.com-20131204102430-qxqk8qtze5n5rqe8

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] http response handling inside request context
Antony Lesuisse [Tue, 3 Dec 2013 21:56:40 +0000 (22:56 +0100)]
[FIX] http response handling inside request context

bzr revid: al@openerp.com-20131203215640-ev45het902u6afls

10 years ago[FIX] MockRequestCase
Antony Lesuisse [Tue, 3 Dec 2013 21:47:05 +0000 (22:47 +0100)]
[FIX] MockRequestCase

bzr revid: al@openerp.com-20131203214705-6tz63yqo9kk73ztx

10 years ago[IMP] manual exception handling for non-json controllers
Antony Lesuisse [Tue, 3 Dec 2013 19:16:21 +0000 (20:16 +0100)]
[IMP] manual exception handling for non-json controllers

bzr revid: al@openerp.com-20131203191621-xu2350cw0u3izn3s

10 years ago[IMP] http improvement
Antony Lesuisse [Tue, 3 Dec 2013 19:06:39 +0000 (20:06 +0100)]
[IMP] http improvement
- context manager request object (removes some ugly hacks)
- improve http error handling
- add lazyresponses

bzr revid: al@openerp.com-20131203190639-e8r1qm9wc82t8g4k

10 years ago[FIX] rml2pdf: use glob instead of listdir to match on '/usr/share/fonts/TTF/*/*...
Martin Trigaux [Tue, 3 Dec 2013 16:15:16 +0000 (17:15 +0100)]
[FIX] rml2pdf: use glob instead of listdir to match on '/usr/share/fonts/TTF/*/*.ttf'

bzr revid: mat@openerp.com-20131203161516-c118p7bmztuyrwlr

10 years ago[FIX] base_setup: adapt to new api for font
Martin Trigaux [Tue, 3 Dec 2013 15:42:28 +0000 (16:42 +0100)]
[FIX] base_setup: adapt to new api for font

bzr revid: mat@openerp.com-20131203154228-35dw4o874zncbvtv

10 years ago[FIX] font: better default and don't trigger onchange if no font selected
Martin Trigaux [Tue, 3 Dec 2013 15:41:16 +0000 (16:41 +0100)]
[FIX] font: better default and don't trigger onchange if no font selected

bzr revid: mat@openerp.com-20131203154116-mzqfvu02r8kx2xt3

10 years ago[FIX] font: add columns for family, path and mode
Martin Trigaux [Tue, 3 Dec 2013 15:17:53 +0000 (16:17 +0100)]
[FIX] font: add columns for family, path and mode

bzr revid: mat@openerp.com-20131203151753-ycz8pyp1eg382qps

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