Martin Trigaux [Wed, 18 Dec 2013 13:00:39 +0000 (14:00 +0100)]
[FIX] gamification: check grant badges are now sistematic except for superuser (always possible)
bzr revid: mat@openerp.com-
20131218130039-y5vp0wt48ejd3jrh
Martin Trigaux [Wed, 18 Dec 2013 12:14:59 +0000 (13:14 +0100)]
[FIX] gamification: move manifest order and remove useless browse
bzr revid: mat@openerp.com-
20131218121459-zlfumwysdx9qm7d9
Martin Trigaux [Wed, 18 Dec 2013 11:52:27 +0000 (12:52 +0100)]
[FIX] gamification: rename view files
bzr revid: mat@openerp.com-
20131218115227-39ii3so3uupc7vp8
Martin Trigaux [Wed, 18 Dec 2013 11:12:43 +0000 (12:12 +0100)]
[REF] gamification: python tests and other improvements
bzr revid: mat@openerp.com-
20131218111243-npnauv6mxhb4nttg
Martin Trigaux [Wed, 18 Dec 2013 08:59:07 +0000 (09:59 +0100)]
[REF] gamification: mode to adequate folders
bzr revid: mat@openerp.com-
20131218085907-6501sfdif2rk4a0b
Martin Trigaux [Tue, 17 Dec 2013 17:02:32 +0000 (18:02 +0100)]
[REF] gamification
bzr revid: mat@openerp.com-
20131217170232-e0zruxzl1wlycaji
Martin Trigaux [Tue, 17 Dec 2013 16:46:19 +0000 (17:46 +0100)]
[REF] gamification
bzr revid: mat@openerp.com-
20131217164619-ewgj8cclza3u44pp
Martin Trigaux [Tue, 17 Dec 2013 16:15:41 +0000 (17:15 +0100)]
[REF] gamification: pretty much changing half of the code to make tde happy...
bzr revid: mat@openerp.com-
20131217161541-oxsgy7gmko2x6qui
Martin Trigaux [Tue, 17 Dec 2013 10:48:13 +0000 (11:48 +0100)]
[IMP] gamification: licency stuff
bzr revid: mat@openerp.com-
20131217104813-7nh422l1d85s6y51
Martin Trigaux [Mon, 16 Dec 2013 15:47:28 +0000 (16:47 +0100)]
[IMP] gamification: use DEFAULT_SERVER_DATE_FORMAT instead of %Y-%m-%d
bzr revid: mat@openerp.com-
20131216154728-xhmazn36jmjpv6ai
Martin Trigaux [Mon, 16 Dec 2013 15:43:17 +0000 (16:43 +0100)]
[FIX] gamification: replace isoformat -> DEFAULT_SERVER_DATE_FORMAT
bzr revid: mat@openerp.com-
20131216154317-8xliud4s23zvj9yu
Martin Trigaux [Mon, 16 Dec 2013 15:14:57 +0000 (16:14 +0100)]
[IMP] gamification: update manifest
bzr revid: mat@openerp.com-
20131216151457-6vmwb6b6os0e3enn
Martin Trigaux [Mon, 16 Dec 2013 15:07:26 +0000 (16:07 +0100)]
[IMP] gamification: add portal_gamification module to add security rules
bzr revid: mat@openerp.com-
20131216150726-su27319fvvxevam6
Martin Trigaux [Mon, 16 Dec 2013 14:23:52 +0000 (15:23 +0100)]
[IMP] gamification: remove unused variables, add missing ones
bzr revid: mat@openerp.com-
20131216142352-2s6isuvobm6xyxa4
Martin Trigaux [Mon, 16 Dec 2013 14:20:27 +0000 (15:20 +0100)]
[IMP] gamification: revert partially rev 8929, hidden if form view but lower priority. This is needed for set your avatar hack (done server side in write())
bzr revid: mat@openerp.com-
20131216142027-u4adogapahjm9vm0
Martin Trigaux [Mon, 16 Dec 2013 14:02:31 +0000 (15:02 +0100)]
[FIX] gamification: display computation_mode on widget view
bzr revid: mat@openerp.com-
20131216140231-hp4ydc3gs3pvalcp
Martin Trigaux [Mon, 16 Dec 2013 13:32:36 +0000 (14:32 +0100)]
[FIX] gamification: priority to manual goals when getting click action
bzr revid: mat@openerp.com-
20131216133236-vbzr4cytqprkkkx5
Martin Trigaux [Mon, 16 Dec 2013 13:27:48 +0000 (14:27 +0100)]
[FIX] gamification: avoid traceback in goal computation if target == 0 (even if does not make much sense)
bzr revid: mat@openerp.com-
20131216132748-i4o71hmxyeyedznx
Martin Trigaux [Mon, 16 Dec 2013 13:18:24 +0000 (14:18 +0100)]
[FIX] hr_gamification: use correct granting method
bzr revid: mat@openerp.com-
20131216131824-webc2alxly7l5z83
Martin Trigaux [Thu, 12 Dec 2013 11:55:24 +0000 (12:55 +0100)]
[FIX] gamification: no, actually make record rule for every user, will handle portal later
bzr revid: mat@openerp.com-
20131212115524-u25hz4xjj9l8gatb
Martin Trigaux [Thu, 12 Dec 2013 11:36:39 +0000 (12:36 +0100)]
[FIX] gamification: make record rule global and not for employees only
bzr revid: mat@openerp.com-
20131212113639-lg2w2pm1mldbqe7a
Martin Trigaux [Thu, 12 Dec 2013 10:50:05 +0000 (11:50 +0100)]
[FIX] gamification_sale_crm: include lead converted to opportunity into lead count goal
bzr revid: mat@openerp.com-
20131212105005-waw5n2wpe0gzwxqg
Martin Trigaux [Thu, 12 Dec 2013 10:31:15 +0000 (11:31 +0100)]
[FIX] hr_gamification: hr officers can see any goals
bzr revid: mat@openerp.com-
20131212103115-1i3tn2cez2iee8e3
Martin Trigaux [Thu, 12 Dec 2013 10:26:24 +0000 (11:26 +0100)]
[FIX] gamification: move icon to description folder
bzr revid: mat@openerp.com-
20131212102624-obfsh2nsclhpv4n9
Martin Trigaux [Thu, 12 Dec 2013 10:14:44 +0000 (11:14 +0100)]
[FIX] gamification: change field name unit -> suffix
bzr revid: mat@openerp.com-
20131212101444-v1y643ra8kl4eet0
Martin Trigaux [Thu, 12 Dec 2013 09:32:34 +0000 (10:32 +0100)]
[MERGE] sync with trunk
bzr revid: mat@openerp.com-
20131212093234-11xachvlsou862q4
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
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
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
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
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
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
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
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
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
Martin Trigaux [Mon, 9 Dec 2013 15:45:37 +0000 (16:45 +0100)]
[IMP] fix licence
bzr revid: mat@openerp.com-
20131209154537-r5hpcveuxmvcdj10
Martin Trigaux [Mon, 9 Dec 2013 15:42:01 +0000 (16:42 +0100)]
[MERGE] sync with trunk
bzr revid: mat@openerp.com-
20131209154201-1s0f98h43y5mu9ui
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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