Commit Graph

24 Commits

Author SHA1 Message Date
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
Pedro M. Baeza
22ce0eeb4a Merge pull request #82 from bringsvor/integer_thousands_separator
Fix parsing of integers with separator
2015-03-26 17:44:09 +01:00
Torvald B. Bringsvor
bbf49cd478 Handle the thousands separator, even multiple ones. 2015-03-26 12:20:04 +01:00
Lorenzo Battistini
ed234d5478 [ADD] icon and README 2015-03-24 15:18:52 +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
Holger Brunn
9972de3b44 move all addons to __unported__, set all addons as not installable 2014-07-07 13:11:28 +02:00
unknown
4aa7ff5204 [web_export_view]: fixes export boolean fields 2014-04-09 11:17:00 +02:00
Sylvain LE GAL
4301609889 [FIX] now export only selected items. 2014-02-18 20:14:42 +01:00
Stefan Rijnhart
acb4b654ab [FIX] Parsing of float values 2013-08-04 20:35:56 +02:00
Stefan Rijnhart
f1ee1b1d77 [FIX] Export of first one2many field works again 2013-07-23 15:46:00 +02:00
Alex Comba
7597b6d364 [FIX] Convert number string to number 2013-06-19 11:50:37 +02:00
Leonardo Pistone
88a27905a2 [add] port web_export_view to OpenERP 7 2013-06-04 11:06:55 +02:00
Leonardo Pistone
c24afa8cf6 [add] module web_export_view copied from 6.1 2013-06-04 09:29:47 +02:00