Gery Debongnie [Tue, 26 Nov 2013 15:19:06 +0000 (16:19 +0100)]
[IMP] big commit: add query_all_values() method to pivot table, and uses it to add expand_all and update_values functionality to graph view (addon web_graph)
bzr revid: ged@openerp.com-
20131126151906-luj8ri6e4hj444h6
Gery Debongnie [Mon, 25 Nov 2013 09:15:05 +0000 (10:15 +0100)]
[IMP] improves the look of the total in each rows in pivot table view (addon web_graph)
bzr revid: ged@openerp.com-
20131125091505-wts1llbdexhnl8fe
Gery Debongnie [Mon, 25 Nov 2013 09:04:43 +0000 (10:04 +0100)]
[IMP] add total to each rows in pivot table view (addon web_graph)
bzr revid: ged@openerp.com-
20131125090443-r5dbre9wn2jymu37
Gery Debongnie [Mon, 25 Nov 2013 08:06:53 +0000 (09:06 +0100)]
[IMP] adds expand_all button and method to graph view. beware, the code is not efficient (it does lots of db queries) (addon web_graph)
bzr revid: ged@openerp.com-
20131125080653-n3lgq7lb3kb3ygg7
Gery Debongnie [Mon, 25 Nov 2013 07:42:00 +0000 (08:42 +0100)]
[IMP] adds slight color to expanded rows to make it easier to see the subrows (addon web_graph)
bzr revid: ged@openerp.com-
20131125074200-6d3migzpl4x7c44s
Gery Debongnie [Sun, 24 Nov 2013 22:03:10 +0000 (23:03 +0100)]
[IMP] removes a cell when it has been folded (addon web_graph)
bzr revid: ged@openerp.com-
20131124220310-4o1okd02cotbqppq
Gery Debongnie [Sun, 24 Nov 2013 21:48:09 +0000 (22:48 +0100)]
[REF] some more simplifications, using the symetry between cols and rows in addon web_graph
bzr revid: ged@openerp.com-
20131124214809-k08p4x4h0wm4owmq
Gery Debongnie [Sun, 24 Nov 2013 20:58:55 +0000 (21:58 +0100)]
[REF] merge expand_row and expand_col methods into the fold method, also some small code tweaks (addon web_graph)
bzr revid: ged@openerp.com-
20131124205855-eekx2gwhgl4ye9uj
Gery Debongnie [Sun, 24 Nov 2013 20:10:49 +0000 (21:10 +0100)]
[REF] better code organization for chart drawing in addon web_graph
bzr revid: ged@openerp.com-
20131124201049-p7cealv5p11hofr2
Gery Debongnie [Sun, 24 Nov 2013 15:00:34 +0000 (16:00 +0100)]
[REF] merge fold_row and fold_col methods into the fold method (addon web_graph)
bzr revid: ged@openerp.com-
20131124150034-0133mgww0nm3dfta
Gery Debongnie [Sun, 24 Nov 2013 14:52:40 +0000 (15:52 +0100)]
[IMP] add heat map functionality to pivot table (addon web_graph)
bzr revid: ged@openerp.com-
20131124145240-dn5vq5ecb598gf4e
Gery Debongnie [Sun, 24 Nov 2013 14:29:27 +0000 (15:29 +0100)]
[IMP] many very small tweaks to pivot view (addon web_graph)
bzr revid: ged@openerp.com-
20131124142927-jnuqykwfp351337v
Gery Debongnie [Sun, 24 Nov 2013 14:02:39 +0000 (15:02 +0100)]
[IMP] change 'chart type' to 'Mode' text in button, and add a separator line (addon web_graph)
bzr revid: ged@openerp.com-
20131124140239-v4uf5ic1a79kc4ly
Gery Debongnie [Sat, 23 Nov 2013 11:42:01 +0000 (12:42 +0100)]
[REF] slight modifications to the underlying data structure of pivot table in addon web_graph
bzr revid: ged@openerp.com-
20131123114201-g6v6q9r15n9gdzg2
Gery Debongnie [Sat, 23 Nov 2013 10:59:25 +0000 (11:59 +0100)]
[REF] moves utility functions to pivot.js file and remove utility.js in addon web_graph
bzr revid: ged@openerp.com-
20131123105925-edix9lyw9k6tjlmw
Gery Debongnie [Sat, 23 Nov 2013 10:19:22 +0000 (11:19 +0100)]
[REF] moves the data formatting for charts to the charts file (instead of pivot) in addon web_graph
bzr revid: ged@openerp.com-
20131123101922-xi429dmnwpqlfsiq
Gery Debongnie [Sat, 23 Nov 2013 10:11:35 +0000 (11:11 +0100)]
[IMP] add 'clear all groups' and 'swap axis' functionality to pivot table in addon web_graph
bzr revid: ged@openerp.com-
20131123101135-m0cx5eg0o41k7x2m
Gery Debongnie [Fri, 22 Nov 2013 16:04:49 +0000 (17:04 +0100)]
[REF] large refactoring. it separates the data handling code (pivot) from the ui code (drawing, buttons, events (addon web_graph)
bzr revid: ged@openerp.com-
20131122160449-lv2t09bs67ux42m5
Gery Debongnie [Fri, 22 Nov 2013 15:10:25 +0000 (16:10 +0100)]
[REF] large refactoring in progress. goal is to separate the data handling code (pivot) from the ui code (drawing, buttons, events (addon web_graph)
bzr revid: ged@openerp.com-
20131122151025-8npxh5g5y2ema4tq
Gery Debongnie [Fri, 22 Nov 2013 13:59:27 +0000 (14:59 +0100)]
[REF] large refactoring in progress. goal is to separate the data handling code (pivot) from the ui code (drawing, buttons, events (addon web_graph)
bzr revid: ged@openerp.com-
20131122135927-mfaa44juzjhp4kas
Gery Debongnie [Fri, 22 Nov 2013 09:43:22 +0000 (10:43 +0100)]
[REF] large refactoring in progress. goal is to separate the data handling code (pivot) from the ui code (drawing, buttons, events (addon web_graph)
bzr revid: ged@openerp.com-
20131122094322-wn36gtmtv9pgn5su
Gery Debongnie [Fri, 22 Nov 2013 07:43:27 +0000 (08:43 +0100)]
[REF] large refactoring in progress. goal is to separate the data handling code (pivot) from the ui code (drawing, buttons, events (addon web_graph)
bzr revid: ged@openerp.com-
20131122074327-bfnlw3ew1120um0k
Gery Debongnie [Thu, 21 Nov 2013 09:07:19 +0000 (10:07 +0100)]
[IMP] allows row expansion to query and display correct data when columns are already expanded (addon web_graph)
bzr revid: ged@openerp.com-
20131121090719-lauwesqz7c189nba
Gery Debongnie [Wed, 20 Nov 2013 14:19:14 +0000 (15:19 +0100)]
[REF] preparation work to allows row expansion to query and display correct data when columns are already expanded (addon web_graph)
bzr revid: ged@openerp.com-
20131120141914-yf4o5sh4gzagh2ym
Gery Debongnie [Wed, 20 Nov 2013 13:20:42 +0000 (14:20 +0100)]
[FIX] alignment issue in dropdown menu (addon web_graph)
bzr revid: ged@openerp.com-
20131120132042-az2kb3cewkq51hrx
Gery Debongnie [Wed, 20 Nov 2013 13:15:43 +0000 (14:15 +0100)]
[FIX] fixes a bug where dropdown menu used wrong coordinates when expanding rows (addon web_graph)
bzr revid: ged@openerp.com-
20131120131543-d119benx379oglry
Gery Debongnie [Wed, 20 Nov 2013 13:07:48 +0000 (14:07 +0100)]
[FIX] correctly handles + and - signs on rows/columns expansion/folding (addon web_graph)
bzr revid: ged@openerp.com-
20131120130748-mge1w8apby67miqm
Gery Debongnie [Wed, 20 Nov 2013 12:46:32 +0000 (13:46 +0100)]
[IMP] supports columns folding in pivottable (addon web_graph)
bzr revid: ged@openerp.com-
20131120124632-ydjuvtcvou14qivo
Gery Debongnie [Wed, 20 Nov 2013 11:17:28 +0000 (12:17 +0100)]
[FIX] properly clears the current rows when building pivot table (addon web_graph)
bzr revid: ged@openerp.com-
20131120111728-3aqr9xxz8kdhkfg6
Gery Debongnie [Wed, 20 Nov 2013 11:08:21 +0000 (12:08 +0100)]
[IMP] col expansion support in pivottable widget, improve the column headers rendering (addon web_graph)
bzr revid: ged@openerp.com-
20131120110821-8r4q3dybhndm3gjz
Gery Debongnie [Tue, 19 Nov 2013 14:52:33 +0000 (15:52 +0100)]
[IMP] col expansion support in pivottable widget, still many bugs left (addon web_graph)
bzr revid: ged@openerp.com-
20131119145233-n8gjast7q48foku9
Gery Debongnie [Tue, 19 Nov 2013 13:20:24 +0000 (14:20 +0100)]
[IMP] preliminary work on supporting col expansion in pivottable widget (addon web_graph)
bzr revid: ged@openerp.com-
20131119132024-k67wlje2h14p5ptu
Gery Debongnie [Tue, 19 Nov 2013 09:20:53 +0000 (10:20 +0100)]
[IMP] preliminary work on supporting col expansion in pivottable widget (addon web_graph)
bzr revid: ged@openerp.com-
20131119092053-hp1pdgckiplw8mgp
Gery Debongnie [Mon, 18 Nov 2013 15:26:20 +0000 (16:26 +0100)]
[IMP] preliminary work on supporting col expansion in pivottable widget (addon web_graph)
bzr revid: ged@openerp.com-
20131118152620-srzpkuom8rmxlik1
Gery Debongnie [Mon, 18 Nov 2013 14:19:55 +0000 (15:19 +0100)]
[IMP] small code cleanup in addon web_graph
bzr revid: ged@openerp.com-
20131118141955-00qcb19wm0gswvck
Gery Debongnie [Mon, 18 Nov 2013 13:07:56 +0000 (14:07 +0100)]
[REF] moves the loading data code from start to draw function, in widget pivottable (addon web_graph)
bzr revid: ged@openerp.com-
20131118130756-rx6wqcejn92j5sl4
Gery Debongnie [Mon, 18 Nov 2013 12:53:20 +0000 (13:53 +0100)]
[REF] large refactoring. removes widget chartview and merges basicdataview with pivottable widgets in addon web_graph
bzr revid: ged@openerp.com-
20131118125320-uhy58xmxlx4nkvbt
Gery Debongnie [Mon, 18 Nov 2013 09:07:15 +0000 (10:07 +0100)]
[REF] refactoring in progress. removes widget chartview and merges basicdataview with pivottable widgets in addon web_graph
bzr revid: ged@openerp.com-
20131118090715-2e9vgt7y2ynm6nql
Gery Debongnie [Fri, 15 Nov 2013 16:32:47 +0000 (17:32 +0100)]
[ADD] forgot to add utility.js file to addon web_graph
bzr revid: ged@openerp.com-
20131115163247-9tv5t7w9ygcmcnnm
Gery Debongnie [Fri, 15 Nov 2013 16:32:09 +0000 (17:32 +0100)]
[REF] refactoring in progress. removes widget chartview and merges basicdataview with pivottable widgets in addon web_graph
bzr revid: ged@openerp.com-
20131115163209-iebydq0jth2f8lee
Gery Debongnie [Fri, 15 Nov 2013 15:37:01 +0000 (16:37 +0100)]
[REF] refactoring in progress. moves some util functions to its own file in addon web_graph
bzr revid: ged@openerp.com-
20131115153701-rxh1voksnu0ule4t
Gery Debongnie [Fri, 15 Nov 2013 15:16:59 +0000 (16:16 +0100)]
[REF] refactoring in progress. moves charts to its own file in addon web_graph
bzr revid: ged@openerp.com-
20131115151659-g1lc0ypd9v3cxg1p
Gery Debongnie [Fri, 15 Nov 2013 12:13:15 +0000 (13:13 +0100)]
[IMP] makes the text clickable in clickable cells in pivottable (addon web_graph)
bzr revid: ged@openerp.com-
20131115121315-2lb0mptvv44g8xjk
Gery Debongnie [Fri, 15 Nov 2013 11:26:59 +0000 (12:26 +0100)]
[FIX] fixes a bug where the view build a table without clearing the existing rows (addon web_graph)
bzr revid: ged@openerp.com-
20131115112659-mzb4smcr85dq60ww
Gery Debongnie [Fri, 15 Nov 2013 11:19:32 +0000 (12:19 +0100)]
[IMP] smarter behavior when unfolding/refolding: check 'unfolding' level and do not ask what field to expand if it already knows (addon web_graph)
bzr revid: ged@openerp.com-
20131115111932-rdphi3w01nmein7t
Gery Debongnie [Fri, 15 Nov 2013 09:24:11 +0000 (10:24 +0100)]
[IMP] makes display smarter list of options in dropdown menu on pivottable widget (addon web_graph)
bzr revid: ged@openerp.com-
20131115092411-abnckphk4mn9ji3z
Gery Debongnie [Fri, 15 Nov 2013 08:50:37 +0000 (09:50 +0100)]
[IMP] allow pivottable to fold rows (addon web_graph)
bzr revid: ged@openerp.com-
20131115085037-nhbi5x9ooa75drnk
Gery Debongnie [Thu, 14 Nov 2013 16:31:07 +0000 (17:31 +0100)]
[IMP] many usability fixes in pivottable drill down and up (addon web_graph)
bzr revid: ged@openerp.com-
20131114163107-pm3s3siwtzqn98jy
Gery Debongnie [Thu, 14 Nov 2013 15:33:48 +0000 (16:33 +0100)]
[IMP] allows the user to clear the groupbys in pivottable (addon web_graph)
bzr revid: ged@openerp.com-
20131114153348-bux7ldhkhe1jl29e
Gery Debongnie [Thu, 14 Nov 2013 14:07:33 +0000 (15:07 +0100)]
[IMP] changes triangle icon into + and - signs icon in pivot table (addon web_graph)
bzr revid: ged@openerp.com-
20131114140733-9jyvttydbb2gm5jv
Gery Debongnie [Thu, 14 Nov 2013 14:00:15 +0000 (15:00 +0100)]
[IMP] allows expansion of rows in pivottable (addon web_graph)
bzr revid: ged@openerp.com-
20131114140015-h1hqzl5a70921vkq
Gery Debongnie [Thu, 14 Nov 2013 13:17:47 +0000 (14:17 +0100)]
[IMP] work in progress. goal is to allow expansion of rows/cols in pivottable (addon web_graph)
bzr revid: ged@openerp.com-
20131114131747-mq8uh02iplc0xmer
Gery Debongnie [Thu, 14 Nov 2013 10:34:46 +0000 (11:34 +0100)]
[IMP] work in progress. goal is to allow expansion of rows/cols in pivottable (addon web_graph)
bzr revid: ged@openerp.com-
20131114103446-qpqs3j0i8yhbvbg3
Gery Debongnie [Wed, 13 Nov 2013 15:47:31 +0000 (16:47 +0100)]
[IMP] work in progress. goal is to allow expansion of rows/cols in pivottable (addon web_graph)
bzr revid: ged@openerp.com-
20131113154731-lmhcyajqcf2k4bxt
Gery Debongnie [Wed, 13 Nov 2013 14:44:24 +0000 (15:44 +0100)]
[IMP] improve the rendering of the table in pivottable widget (addon web_graph)
bzr revid: ged@openerp.com-
20131113144424-8i4ld0fjggw6nled
Gery Debongnie [Wed, 13 Nov 2013 10:50:59 +0000 (11:50 +0100)]
[IMP] add functionality to basicview widget and rearrange code in addon web_graph
bzr revid: ged@openerp.com-
20131113105059-1l6th5zcn5wrm3x7
Gery Debongnie [Wed, 13 Nov 2013 10:22:04 +0000 (11:22 +0100)]
[FIX] fixes a problem in pyeval catching all exceptions silently
bzr revid: ged@openerp.com-
20131113102204-m0gox7odwgkmon4o
Gery Debongnie [Wed, 13 Nov 2013 09:26:46 +0000 (10:26 +0100)]
[IMP] add redraw flag to basicview widget in addon web_graph
bzr revid: ged@openerp.com-
20131113092646-182veoj027lkbdb6
Gery Debongnie [Wed, 13 Nov 2013 09:18:07 +0000 (10:18 +0100)]
[REF] move the method displaydata to a better place in addon web_graph
bzr revid: ged@openerp.com-
20131113091807-cxmc4aaaswdmkfia
Gery Debongnie [Tue, 12 Nov 2013 16:10:34 +0000 (17:10 +0100)]
[REF] refactoring of addon web_graph. goal is to handle properly the switch of chart view to table view
bzr revid: ged@openerp.com-
20131112161034-yy80ypm39j32sazv
Gery Debongnie [Tue, 12 Nov 2013 13:53:44 +0000 (14:53 +0100)]
[IMP] add rendering of basic table in pivottable widget (addon web_graph)
bzr revid: ged@openerp.com-
20131112135344-fi7mwyd49bqnbg69
Gery Debongnie [Tue, 12 Nov 2013 11:31:34 +0000 (12:31 +0100)]
[REF] large refactoring of addon web_graph (mainly add widget BasicDataView and many cleanups)
bzr revid: ged@openerp.com-
20131112113134-w2298fsh1va4jpm7
Gery Debongnie [Tue, 12 Nov 2013 08:49:55 +0000 (09:49 +0100)]
[FIX] fix pivottable and chartview widget to use their template instead of hardcoded divs (addon web_graph)
bzr revid: ged@openerp.com-
20131112084955-2x8o57ndln0xx0nx
Gery Debongnie [Tue, 12 Nov 2013 08:38:27 +0000 (09:38 +0100)]
[IMP] add access to model fields description in addon web_graph
bzr revid: ged@openerp.com-
20131112083827-fy9i054l9mq3vynz
Gery Debongnie [Fri, 8 Nov 2013 15:41:14 +0000 (16:41 +0100)]
[FIX] fix a bug preventing hide and show method of chartview widget to function properly (addon web_graph)
bzr revid: ged@openerp.com-
20131108154114-25zqn3jq5u6iuibt
Gery Debongnie [Fri, 8 Nov 2013 15:27:17 +0000 (16:27 +0100)]
[IMP] small cleanups to chartview widget (addon web_graph)
bzr revid: ged@openerp.com-
20131108152717-stbx0us8ipom67iq
Gery Debongnie [Fri, 8 Nov 2013 15:20:48 +0000 (16:20 +0100)]
[IMP] add pie, line and bar chart to the chartview widget (addon web_graph)
bzr revid: ged@openerp.com-
20131108152048-0akyhf0c7lcdsqjh
Gery Debongnie [Fri, 8 Nov 2013 13:08:06 +0000 (14:08 +0100)]
[IMP] add widgets (chart view and pivot view) in addon web_graph
bzr revid: ged@openerp.com-
20131108130806-ez2a6sxdsy0bzg62
Gery Debongnie [Fri, 8 Nov 2013 11:50:30 +0000 (12:50 +0100)]
[ADD] add (custom version of) bootstrap library to graph view (addon web_graph)
bzr revid: ged@openerp.com-
20131108115030-0r4e4vk379mqtkzf
Gery Debongnie [Fri, 8 Nov 2013 11:39:00 +0000 (12:39 +0100)]
[ADD] add nvd3 library to graph view (addon web_graph)
bzr revid: ged@openerp.com-
20131108113900-w4vet1okiwiy5pqf
Gery Debongnie [Fri, 8 Nov 2013 11:32:10 +0000 (12:32 +0100)]
[REF] work in progress. reset graph view to minimal state in addon web_graph
bzr revid: ged@openerp.com-
20131108113210-aptz2pne05iwca82
Xavier Morel [Thu, 7 Nov 2013 11:28:58 +0000 (12:28 +0100)]
[IMP] add separators between all completion sections
Depending on the way the search view is setup, a single item
(e.g. "Search foo for bar") can follow a list of a bunch of
completions. In that case, it is hard to notice that it's not just one
more item of said list.
Add a marker on the first of every completion list in order to catch
1-item lists (or lists without titles/categories) and prepend a small
border every time, so that single-element completions following
lists-with-titles can be noticed.
bzr revid: xmo@openerp.com-
20131107112858-1xyvcesize0doblz
Xavier Morel [Thu, 7 Nov 2013 11:12:31 +0000 (12:12 +0100)]
[FIX] don't provide autocompletion to m2o fields when a custom operator or filter_domain is provided
bzr revid: xmo@openerp.com-
20131107111231-nkrllqv0afqdmix6
niv-openerp [Thu, 7 Nov 2013 10:44:43 +0000 (11:44 +0100)]
[FIX] Changed the url of the openerp logo to tarket /web instead of /.
bzr revid: nicolas.vanhoren@openerp.com-
20131107104443-qx6is5y8yovyiz6c
niv-openerp [Wed, 6 Nov 2013 14:36:02 +0000 (15:36 +0100)]
[FIX] Changed the url redirect from / to /web in the db selector. It was not working correctly if the / url redirects on something else than the web admin.
bzr revid: nicolas.vanhoren@openerp.com-
20131106143602-gwyn4jjvn5zwztif
niv-openerp [Tue, 5 Nov 2013 15:21:38 +0000 (16:21 +0100)]
[FIX] Incorrect reference to / in /web/session/logout controller
bzr revid: nicolas.vanhoren@openerp.com-
20131105152138-2628ehdke7rdc1ov
Fabien Meghazi [Tue, 5 Nov 2013 10:20:36 +0000 (11:20 +0100)]
[FIX] session destroy
Sorry all
bzr revid: fme@openerp.com-
20131105102036-34g9mk2u694eqvhn
niv-openerp [Tue, 5 Nov 2013 10:15:48 +0000 (11:15 +0100)]
[FIX] potential bug with the /login url, it could not possibly work due to its authorization level.
Also modified a function that is supposed to redirect to the backend and was still using '/'.
bzr revid: nicolas.vanhoren@openerp.com-
20131105101548-jdsnyh2j4ak0kdbk
Fabien Meghazi [Mon, 4 Nov 2013 17:15:30 +0000 (18:15 +0100)]
[ADD] redirect on login and logout controller
bzr revid: fme@openerp.com-
20131104171530-96irkaom2vjsj9s5
Quentin (OpenERP) [Mon, 4 Nov 2013 13:46:18 +0000 (14:46 +0100)]
[IMP] base, currency: second attempt to include this patch (previously added in revision 4982 then reverted in revision 4984 because of a bug in the server that was making an infinite loop -which has been fixed in previous revision-). Updated the type of name field of res.currency.rate in <datetime> instead of <date> for those who need to update the rate of currencies several times per day
bzr revid: qdp-launchpad@openerp.com-
20131104134618-oujlfwmnpc1xbvml
Quentin (OpenERP) [Mon, 4 Nov 2013 13:43:14 +0000 (14:43 +0100)]
[FIX] expression.py: when searching on a datetime field with an argument formated as a date, conversion should happen _also_ for the '=' operator. This omission was causing an infinite loop beacuse we were pushing the exact same leaf on the stack without any modification
bzr revid: qdp-launchpad@openerp.com-
20131104134314-2mv5wkt13ih9c1yg
Launchpad Translations on behalf of openerp [Sat, 2 Nov 2013 06:06:51 +0000 (06:06 +0000)]
Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-
20131102055722-60w8wrpax87wkxhx
bzr revid: launchpad_translations_on_behalf_of_openerp-
20131102060651-bdts7qkh2850je5u
Christophe Simonis [Thu, 31 Oct 2013 14:40:26 +0000 (15:40 +0100)]
[MERGE] forward port of branch saas-2 up to revid 3865 chs@openerp.com-
20131031111945-u3wi11e4rykpslme
bzr revid: chs@openerp.com-
20131030183314-d75tbpxjjk3u79er
bzr revid: chs@openerp.com-
20131031144026-09f3eqfwfj2bcefs
Christophe Simonis [Thu, 31 Oct 2013 14:32:08 +0000 (15:32 +0100)]
[MERGE] forward port of branch saas-2 up to revid 4968 chs@openerp.com-
20131031142325-vo84hk5co2e2phg0
bzr revid: chs@openerp.com-
20131031143208-4gtdju33sv0wdtcg
Denis Ledoux [Thu, 31 Oct 2013 16:29:28 +0000 (17:29 +0100)]
[MERGE] Forward-port of latest saas-1 bugfixes, up to rev. 8800 rev-id: dle@openerp.com-
20131031162241-goga1hsvwgyqigzd
bzr revid: chs@openerp.com-
20131031142325-vo84hk5co2e2phg0
bzr revid: dle@openerp.com-
20131031143133-wfus2hag57e73by2
bzr revid: dle@openerp.com-
20131031162928-8gpom1ralccy07uc
Olivier Dony [Tue, 5 Nov 2013 12:26:34 +0000 (13:26 +0100)]
[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9567 rev-id: odo@openerp.com-
20131105103011-vkix07lsb6q3y9fd
bzr revid: dle@openerp.com-
20131031142609-jinks18n2ju7usm4
bzr revid: dle@openerp.com-
20131031162241-goga1hsvwgyqigzd
bzr revid: odo@openerp.com-
20131105122634-joau6mg9jqpvbauz
Olivier Dony [Tue, 5 Nov 2013 10:30:11 +0000 (11:30 +0100)]
[FIX] sale,sale_stock: sales analysis view using incorrect JOIN and group by clause
Similarly to the recent fixes in Purchase Analysis,
the Sales Analysis view must not group on the quantity
field. It is one of the columns that must be aggregated,
not used to fold PO lines into the same
result row.
The line count was also incorrect because of this, and
had to be corrected to actually count() the underlying
SO lines.
In addition, the JOINs were done in the wrong order,
which could cause problems (e.g. if an empty SO ever
landed in the database, all the SO line columns
would be empty in the JOIN, and cause errors)
bzr revid: odo@openerp.com-
20131105103011-vkix07lsb6q3y9fd
Olivier Dony [Tue, 5 Nov 2013 10:19:30 +0000 (11:19 +0100)]
[FIX] purchase: analysis view must not group by quantity, otherwise identical PO lines are counted only once
The product quantity is one of the columns that must be
aggregated, not used to fold PO lines into the same
result row.
This, combined with missing aggregation operators
was causing multiple identical PO lines from the
same PO to be merged together and only counted once
in some aggregations.
bzr revid: odo@openerp.com-
20131105101930-f2qbcp12luom08je
Olivier Dony [Mon, 4 Nov 2013 17:32:32 +0000 (18:32 +0100)]
[FIX] stock: no early currency rounding when computing average price
It is a common need to set a higher decimal precision
for `Product Price` (i.e. the product cost field) for
high volume / low value items. This may typically
require up to 4-6 decimals for e.g. EUR/USD-based
companies where the currency has 2 decimals.
In that case the product cost should be stored with
full precision without applying the currency rounding.
The appropriate currency rounding will be applied
anyway as soon as a transaction actually uses that
product cost (typically in a SO/PO)
bzr revid: odo@openerp.com-
20131104173232-84g115x6ykxoc1rh
Olivier Dony [Mon, 4 Nov 2013 17:12:45 +0000 (18:12 +0100)]
[FIX] stock: programming error in average price computation for multiple lines of the same product
While processing a picking we must keep track of
previously processed lines as they modify the
stock on hand but are not yet included in the
`qty_available` function.
Negative stock on hand is handled as if
the stock was zero as far as the average
price computation is concerned.
bzr revid: odo@openerp.com-
20131104171245-z1lgsplyu4cdz9gc
Olivier Dony [Mon, 4 Nov 2013 17:01:18 +0000 (18:01 +0100)]
[FIX] stock: `product cost` field in partial picking wizard must respect decimal precision
Without the right precision the default rounding is
applied and causes a possible loss of precision when
the `Product Price` precision is increased.
This can in turn lead to incorrect average price
computations.
bzr revid: odo@openerp.com-
20131104170118-ls5q0yridevw0jgt
Olivier Dony [Mon, 4 Nov 2013 16:58:26 +0000 (17:58 +0100)]
[FIX] purchase: Purchase Analysis view was using incorrect JOIN order
The starting table for Purchase Analysis is purchase_order_line
not purchase_order. The previous code was using a wrong JOIN
combination starting from purchase_order, which resulted in
a crash if an empty PO was created.
In order to prevent this an extra WHERE clause on product_id
being NOT NULL was added, but this was incorrect too as it
prevented PO lines with no product_id value from appearing
in the Purchase Analysis results, while being perfectly valid.
bzr revid: odo@openerp.com-
20131104165826-kltuzlh4i8q89sk0
Launchpad Translations on behalf of openerp [Tue, 5 Nov 2013 06:00:56 +0000 (06:00 +0000)]
Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-
20131105060056-7xuq20lqt1upcdc6
Martin Trigaux [Mon, 4 Nov 2013 16:37:29 +0000 (17:37 +0100)]
[FIX] orm: when duplicating a record, if duplicates translations on a field from _inherits model, use the id of the parent record instead.
Avoid getting old value by removing 'source' value from read result.
lp bug: https://launchpad.net/bugs/1237878 fixed
bzr revid: mat@openerp.com-
20131104163729-te0p9863g9ydt282
Martin Trigaux [Mon, 4 Nov 2013 16:17:20 +0000 (17:17 +0100)]
[IMP] use assertEqual instead of assertTrue for better logging
bzr revid: mat@openerp.com-
20131104161720-2ofur11haask32ni
Martin Trigaux [Mon, 4 Nov 2013 15:39:46 +0000 (16:39 +0100)]
[ADD] base: tests for translations and duplication
bzr revid: mat@openerp.com-
20131104153946-vhpnbn8t1oxfaep1
Martin Trigaux [Mon, 4 Nov 2013 14:44:27 +0000 (15:44 +0100)]
[IMP] comments
bzr revid: mat@openerp.com-
20131104144427-oyca1g1ti583sq3c
Martin Trigaux [Mon, 4 Nov 2013 14:34:08 +0000 (15:34 +0100)]
[FIX] orm: when duplicating a record, if duplicates translations on a field from _inherits model, use the id of the parent record instead.
Avoid getting old value by removing 'source' value from read result.
lp bug: https://launchpad.net/bugs/1237878 fixed
bzr revid: mat@openerp.com-
20131104143408-o71lyws8uba679hd
Christophe Simonis [Mon, 4 Nov 2013 14:23:10 +0000 (15:23 +0100)]
[FIX] web_kanban: correct design of vertical title on IE
bzr revid: chs@openerp.com-
20131104142310-4ef0byprm3gw4s8d
Christophe Simonis [Mon, 4 Nov 2013 11:05:12 +0000 (12:05 +0100)]
[FIX] document: correct numbering of attachments with the same name
bzr revid: chs@openerp.com-
20131104110512-an7qpur1zckpgu7z