3
0
Fork 0
Commit Graph

63 Commits (a53490d5f85342f1347204ac588ddbac9c44b819)

Author SHA1 Message Date
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
OCA Transbot f20f51c3bf OCA Transbot updated translations from Transifex 2017-01-07 03:30:40 -05: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
OCA Transbot f67c973580 OCA Transbot updated translations from Transifex 2016-11-29 14:34:34 -05:00
Simone Orsi 6a424d3ac2 [add] known issue section in README, update my email 2016-11-03 08:53:30 +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 8a9710a005 [MIG] Make modules uninstallable 2015-10-14 02:57:05 +02:00
Stéphane Bidoul fa199590b3 [UPD] prefix versions with 8.0 2015-10-09 10:03:39 +02:00
Yannick Vaucher 9aa6964ff4 Add bug tracker link on README.rst 2015-05-22 19:45:36 +02:00
Matjaž Mozetič 7e6d952b31 Slovene translations and translation template 2015-04-24 08:09:56 +02: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
PabloCM fc0c62e411 [FIX] web_export_view: Handler method renamed to avoid name collision with the original index used in the native excel export 2015-03-05 12:12:06 +01:00
Alexandre Fayolle 6706754e70 Add OCA as author of OCA addons
In order to get visibility on https://www.odoo.com/apps the OCA board has
decided to add the OCA as author of all the addons maintained as part of the
association.
2015-03-02 17:29:19 +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
Sylvain LE GAL 140d50d779 [FIX] pylint 2014-12-05 20:52:00 +01:00
Sylvain LE GAL 96e6102aec [FIX] 'web_export_view' flake8 2014-10-15 00:47:06 +02:00
Adil Houmadi 01872a582b [FIX] : see => https://github.com/OCA/web/pull/27#discussion-diff-15447231 2014-08-02 11:05:20 +02: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 434e119c51 [Fix] ./web_export_view/__init__.py:21:19: W292 no newline at end of file 2014-07-26 14:57:47 +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
Launchpad Translations on behalf of webaddons-core-editors 5ec8fa40a3 Launchpad automatic translations update. 2014-06-28 06:02:57 +00:00
Launchpad Translations on behalf of webaddons-core-editors 0ed03afcbe Launchpad automatic translations update. 2014-05-27 06:04:45 +00:00
Launchpad Translations on behalf of webaddons-core-editors 3392cc752e Launchpad automatic translations update. 2014-05-17 07:09:49 +00:00
Launchpad Translations on behalf of webaddons-core-editors 676e60a876 Launchpad automatic translations update. 2014-04-29 06:40:51 +00:00
unknown 386dc06bc5 [web_export_view]: fixes export boolean fields 2014-04-28 10:57:47 +02:00
Launchpad Translations on behalf of webaddons-core-editors a62d47694c Launchpad automatic translations update. 2014-04-12 09:24:36 +00:00
Launchpad Translations on behalf of webaddons-core-editors 90b0a19cd8 Launchpad automatic translations update. 2014-04-11 05:59:16 +00:00
unknown 4aa7ff5204 [web_export_view]: fixes export boolean fields 2014-04-09 11:17:00 +02:00
Launchpad Translations on behalf of webaddons-core-editors a6e3cdbc2c Launchpad automatic translations update. 2014-04-02 06:44:01 +00:00
Launchpad Translations on behalf of webaddons-core-editors 0caf9b4d99 Launchpad automatic translations update. 2014-03-14 06:58:04 +00:00
Sylvain LE GAL 5e35c5aa63 [MRG] 2014-03-08 00:16:08 +01:00
Sylvain LE GAL 2e22dfbf78 [FIX] correct a spelling mistake. 2014-03-08 00:15:05 +01:00
Sylvain LE GAL 6240ebc642 [FIX] now export only selected items. 2014-03-07 15:00:28 +01:00
Launchpad Translations on behalf of webaddons-core-editors 0894e2e3dd Launchpad automatic translations update. 2014-03-04 08:26:46 +00:00
Sylvain LE GAL ab0b0e0f29 [MRG] 2014-02-25 23:50:39 +01:00
Launchpad Translations on behalf of webaddons-core-editors 981dc8e902 Launchpad automatic translations update. 2014-02-21 06:37:48 +00:00
Sylvain LE GAL 4301609889 [FIX] now export only selected items. 2014-02-18 20:14:42 +01:00
Sylvain LE GAL dafc6c0f52 [ADD] Add FR translation for 'web_export_view' module 2014-02-18 19:21:54 +01:00