Jairo Llopis
551715b791
[FIX][web_export_view] Correctly export negative monetary numbers
2017-03-30 10:18:40 +02:00
Jairo Llopis
e0fc91aab0
[FIX][web_export_view] Remove monetary formatting
...
Monetary fields were hard to work with in Excel after exporting because having the currency symbol made Excel treat those cells as text.
This patch removes those symbols and thus allows Excel to treat those values as numbers, allowing easier management.
It works no matter the symbol is before or after the value, so in any case it fixes #558 .
2017-03-29 14:46:35 +02:00
Jairo Llopis
22190051e0
[FIX][web_export_view] Make it usable when int fields are present
...
To reproduce the problem, you just had to:
1. Go to *Settings > Technical > User Interface > Views*.
2. Press *Export Current View > Excel*.
You got this:
```
ReferenceError: assignment to undeclared variable tmp
http://localhost:9069/web_export_view/static/src/js/web_export_view.js:95 Traceback:
.on_sidebar_export_view_xls/</<@http://localhost:9069/web_export_view/static/src/js/web_export_view.js:95:29
.each@http://localhost:9069/web/static/lib/jquery/jquery.js:383:49
.on_sidebar_export_view_xls/<@http://localhost:9069/web_export_view/static/src/js/web_export_view.js:75:17
.each@http://localhost:9069/web/static/lib/jquery/jquery.js:383:49
.on_sidebar_export_view_xls@http://localhost:9069/web_export_view/static/src/js/web_export_view.js:68:9
Sidebar<.start/<@http://localhost:9069/web/static/src/js/widgets/sidebar.js:46:17
jQuery.event.dispatch@http://localhost:9069/web/static/lib/jquery/jquery.js:4640:50
jQuery.event.add/elemData.handle@http://localhost:9069/web/static/lib/jquery/jquery.js:4309:41
```
Strict mode was preventing usage of an undeclared variable. Now it's declared.
2017-03-24 12:46:36 +01:00
Jairo Llopis
00119d92d1
[9.0][FIX][web_export_view] ReferenceError: instance is not defined ( #515 )
...
There was a bug that could be easily reproduced by:
1. Go to *Sales > Products*.
2. Choose list view.
3. Select all.
4. *Export current view > Excel*.
It raised this message to the user:
ReferenceError: instance is not defined
This is all due to a wrong migration from v8 code. `instance` exists no more in
v9, instead we need to use some methods and variables from correct modules.
2017-01-04 19:45:40 +01:00
Simone Orsi
20a66c4014
[fix] make JS query work for both community and enterprise edition
2016-11-03 08:53:30 +01:00
Simone Orsi
db311ca1fd
web_export_view: fix JS selectors for v9
2016-11-03 08:53:30 +01:00
Rodney Vargas
d87d629e5c
[FIX]-web_export_view: change the js content, create a new item section
2016-11-03 08:53:30 +01:00
Rodney Vargas
320651f84d
[FIX]-web_export_view: change contributors information
2016-11-03 08:53:30 +01:00
Rodney Vargas
aa13a90549
[ADD]-web_export_view: Migrate from API8 to API9
2016-11-03 08:53:30 +01:00
Torvald B. Bringsvor
bbf49cd478
Handle the thousands separator, even multiple ones.
2015-03-26 12:20:04 +01:00
Torvald B. Bringsvor
f0538f43d1
Small fix to allow integers to be parsed correctly when a locate with a thousand separator is used.
2015-02-07 13:56:50 +01:00
Adil Houmadi
291f122d52
[FIX] Fix bad indentation https://github.com/OCA/web/pull/27#discussion_r15434034
2014-07-26 16:53:36 +02:00
Adil Houmadi
aa05cfd2bb
[FIX] Apply menu only on list view
2014-07-26 15:40:17 +02:00
Adil Houmadi
dd3a326b3e
remove debugger instruction
2014-07-26 14:44:45 +02:00
Adil Houmadi
5ecec62023
Migrate web_export_view to v 8.0
2014-07-26 14:37:23 +02:00
Adil Houmadi
a0c192e8e0
Move plugin for __unported__ dir
2014-07-26 13:57:10 +02:00