Jairo Llopis
551715b791
[FIX][web_export_view] Correctly export negative monetary numbers
8 years ago
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 .
8 years ago
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.
8 years ago
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.
8 years ago
Simone Orsi
20a66c4014
[fix] make JS query work for both community and enterprise edition
9 years ago
Simone Orsi
db311ca1fd
web_export_view: fix JS selectors for v9
9 years ago
Rodney Vargas
d87d629e5c
[FIX]-web_export_view: change the js content, create a new item section
9 years ago
Rodney Vargas
320651f84d
[FIX]-web_export_view: change contributors information
9 years ago
Rodney Vargas
aa13a90549
[ADD]-web_export_view: Migrate from API8 to API9
9 years ago
Torvald B. Bringsvor
bbf49cd478
Handle the thousands separator, even multiple ones.
10 years ago
Torvald B. Bringsvor
f0538f43d1
Small fix to allow integers to be parsed correctly when a locate with a thousand separator is used.
10 years ago
Adil Houmadi
291f122d52
[FIX] Fix bad indentation https://github.com/OCA/web/pull/27#discussion_r15434034
10 years ago
Adil Houmadi
aa05cfd2bb
[FIX] Apply menu only on list view
10 years ago
Adil Houmadi
dd3a326b3e
remove debugger instruction
10 years ago
Adil Houmadi
5ecec62023
Migrate web_export_view to v 8.0
10 years ago
Adil Houmadi
a0c192e8e0
Move plugin for __unported__ dir
10 years ago