You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

653 lines
21 KiB

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  3. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  5. <head>
  6. <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  7. <meta name="generator"
  8. content="Docutils 0.14: http://docutils.sourceforge.net/"/>
  9. <title>Web Export Current View</title>
  10. <style type="text/css">
  11. /*
  12. :Author: David Goodger (goodger@python.org)
  13. :Id: $Id: html4css1.css 7952 2016-07-26 18:15:59Z milde $
  14. :Copyright: This stylesheet has been placed in the public domain.
  15. Default cascading style sheet for the HTML output of Docutils.
  16. See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to
  17. customize this style sheet.
  18. */
  19. /* used to remove borders from tables and images */
  20. .borderless, table.borderless td, table.borderless th {
  21. border: 0
  22. }
  23. table.borderless td, table.borderless th {
  24. /* Override padding for "table.docutils td" with "! important".
  25. The right padding separates the table cells. */
  26. padding: 0 0.5em 0 0 ! important
  27. }
  28. .first {
  29. /* Override more specific margin styles with "! important". */
  30. margin-top: 0 ! important
  31. }
  32. .last, .with-subtitle {
  33. margin-bottom: 0 ! important
  34. }
  35. .hidden {
  36. display: none
  37. }
  38. .subscript {
  39. vertical-align: sub;
  40. font-size: smaller
  41. }
  42. .superscript {
  43. vertical-align: super;
  44. font-size: smaller
  45. }
  46. a.toc-backref {
  47. text-decoration: none;
  48. color: black
  49. }
  50. blockquote.epigraph {
  51. margin: 2em 5em;
  52. }
  53. dl.docutils dd {
  54. margin-bottom: 0.5em
  55. }
  56. object[type="image/svg+xml"], object[type="application/x-shockwave-flash"] {
  57. overflow: hidden;
  58. }
  59. /* Uncomment (and remove this text!) to get bold-faced definition list terms
  60. dl.docutils dt {
  61. font-weight: bold }
  62. */
  63. div.abstract {
  64. margin: 2em 5em
  65. }
  66. div.abstract p.topic-title {
  67. font-weight: bold;
  68. text-align: center
  69. }
  70. div.admonition, div.attention, div.caution, div.danger, div.error,
  71. div.hint, div.important, div.note, div.tip, div.warning {
  72. margin: 2em;
  73. border: medium outset;
  74. padding: 1em
  75. }
  76. div.admonition p.admonition-title, div.hint p.admonition-title,
  77. div.important p.admonition-title, div.note p.admonition-title,
  78. div.tip p.admonition-title {
  79. font-weight: bold;
  80. font-family: sans-serif
  81. }
  82. div.attention p.admonition-title, div.caution p.admonition-title,
  83. div.danger p.admonition-title, div.error p.admonition-title,
  84. div.warning p.admonition-title, .code .error {
  85. color: red;
  86. font-weight: bold;
  87. font-family: sans-serif
  88. }
  89. /* Uncomment (and remove this text!) to get reduced vertical space in
  90. compound paragraphs.
  91. div.compound .compound-first, div.compound .compound-middle {
  92. margin-bottom: 0.5em }
  93. div.compound .compound-last, div.compound .compound-middle {
  94. margin-top: 0.5em }
  95. */
  96. div.dedication {
  97. margin: 2em 5em;
  98. text-align: center;
  99. font-style: italic
  100. }
  101. div.dedication p.topic-title {
  102. font-weight: bold;
  103. font-style: normal
  104. }
  105. div.figure {
  106. margin-left: 2em;
  107. margin-right: 2em
  108. }
  109. div.footer, div.header {
  110. clear: both;
  111. font-size: smaller
  112. }
  113. div.line-block {
  114. display: block;
  115. margin-top: 1em;
  116. margin-bottom: 1em
  117. }
  118. div.line-block div.line-block {
  119. margin-top: 0;
  120. margin-bottom: 0;
  121. margin-left: 1.5em
  122. }
  123. div.sidebar {
  124. margin: 0 0 0.5em 1em;
  125. border: medium outset;
  126. padding: 1em;
  127. background-color: #ffffee;
  128. width: 40%;
  129. float: right;
  130. clear: right
  131. }
  132. div.sidebar p.rubric {
  133. font-family: sans-serif;
  134. font-size: medium
  135. }
  136. div.system-messages {
  137. margin: 5em
  138. }
  139. div.system-messages h1 {
  140. color: red
  141. }
  142. div.system-message {
  143. border: medium outset;
  144. padding: 1em
  145. }
  146. div.system-message p.system-message-title {
  147. color: red;
  148. font-weight: bold
  149. }
  150. div.topic {
  151. margin: 2em
  152. }
  153. h1.section-subtitle, h2.section-subtitle, h3.section-subtitle,
  154. h4.section-subtitle, h5.section-subtitle, h6.section-subtitle {
  155. margin-top: 0.4em
  156. }
  157. h1.title {
  158. text-align: center
  159. }
  160. h2.subtitle {
  161. text-align: center
  162. }
  163. hr.docutils {
  164. width: 75%
  165. }
  166. img.align-left, .figure.align-left, object.align-left, table.align-left {
  167. clear: left;
  168. float: left;
  169. margin-right: 1em
  170. }
  171. img.align-right, .figure.align-right, object.align-right, table.align-right {
  172. clear: right;
  173. float: right;
  174. margin-left: 1em
  175. }
  176. img.align-center, .figure.align-center, object.align-center {
  177. display: block;
  178. margin-left: auto;
  179. margin-right: auto;
  180. }
  181. table.align-center {
  182. margin-left: auto;
  183. margin-right: auto;
  184. }
  185. .align-left {
  186. text-align: left
  187. }
  188. .align-center {
  189. clear: both;
  190. text-align: center
  191. }
  192. .align-right {
  193. text-align: right
  194. }
  195. /* reset inner alignment in figures */
  196. div.align-right {
  197. text-align: inherit
  198. }
  199. /* div.align-center * { */
  200. /* text-align: left } */
  201. .align-top {
  202. vertical-align: top
  203. }
  204. .align-middle {
  205. vertical-align: middle
  206. }
  207. .align-bottom {
  208. vertical-align: bottom
  209. }
  210. ol.simple, ul.simple {
  211. margin-bottom: 1em
  212. }
  213. ol.arabic {
  214. list-style: decimal
  215. }
  216. ol.loweralpha {
  217. list-style: lower-alpha
  218. }
  219. ol.upperalpha {
  220. list-style: upper-alpha
  221. }
  222. ol.lowerroman {
  223. list-style: lower-roman
  224. }
  225. ol.upperroman {
  226. list-style: upper-roman
  227. }
  228. p.attribution {
  229. text-align: right;
  230. margin-left: 50%
  231. }
  232. p.caption {
  233. font-style: italic
  234. }
  235. p.credits {
  236. font-style: italic;
  237. font-size: smaller
  238. }
  239. p.label {
  240. white-space: nowrap
  241. }
  242. p.rubric {
  243. font-weight: bold;
  244. font-size: larger;
  245. color: maroon;
  246. text-align: center
  247. }
  248. p.sidebar-title {
  249. font-family: sans-serif;
  250. font-weight: bold;
  251. font-size: larger
  252. }
  253. p.sidebar-subtitle {
  254. font-family: sans-serif;
  255. font-weight: bold
  256. }
  257. p.topic-title {
  258. font-weight: bold
  259. }
  260. pre.address {
  261. margin-bottom: 0;
  262. margin-top: 0;
  263. font: inherit
  264. }
  265. pre.literal-block, pre.doctest-block, pre.math, pre.code {
  266. margin-left: 2em;
  267. margin-right: 2em
  268. }
  269. pre.code .ln {
  270. color: grey;
  271. }
  272. /* line numbers */
  273. pre.code, code {
  274. background-color: #eeeeee
  275. }
  276. pre.code .comment, code .comment {
  277. color: #5C6576
  278. }
  279. pre.code .keyword, code .keyword {
  280. color: #3B0D06;
  281. font-weight: bold
  282. }
  283. pre.code .literal.string, code .literal.string {
  284. color: #0C5404
  285. }
  286. pre.code .name.builtin, code .name.builtin {
  287. color: #352B84
  288. }
  289. pre.code .deleted, code .deleted {
  290. background-color: #DEB0A1
  291. }
  292. pre.code .inserted, code .inserted {
  293. background-color: #A3D289
  294. }
  295. span.classifier {
  296. font-family: sans-serif;
  297. font-style: oblique
  298. }
  299. span.classifier-delimiter {
  300. font-family: sans-serif;
  301. font-weight: bold
  302. }
  303. span.interpreted {
  304. font-family: sans-serif
  305. }
  306. span.option {
  307. white-space: nowrap
  308. }
  309. span.pre {
  310. white-space: pre
  311. }
  312. span.problematic {
  313. color: red
  314. }
  315. span.section-subtitle {
  316. /* font-size relative to parent (h1..h6 element) */
  317. font-size: 80%
  318. }
  319. table.citation {
  320. border-left: solid 1px gray;
  321. margin-left: 1px
  322. }
  323. table.docinfo {
  324. margin: 2em 4em
  325. }
  326. table.docutils {
  327. margin-top: 0.5em;
  328. margin-bottom: 0.5em
  329. }
  330. table.footnote {
  331. border-left: solid 1px black;
  332. margin-left: 1px
  333. }
  334. table.docutils td, table.docutils th,
  335. table.docinfo td, table.docinfo th {
  336. padding-left: 0.5em;
  337. padding-right: 0.5em;
  338. vertical-align: top
  339. }
  340. table.docutils th.field-name, table.docinfo th.docinfo-name {
  341. font-weight: bold;
  342. text-align: left;
  343. white-space: nowrap;
  344. padding-left: 0
  345. }
  346. /* "booktabs" style (no vertical lines) */
  347. table.docutils.booktabs {
  348. border: 0px;
  349. border-top: 2px solid;
  350. border-bottom: 2px solid;
  351. border-collapse: collapse;
  352. }
  353. table.docutils.booktabs * {
  354. border: 0px;
  355. }
  356. table.docutils.booktabs th {
  357. border-bottom: thin solid;
  358. text-align: left;
  359. }
  360. h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
  361. h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
  362. font-size: 100%
  363. }
  364. ul.auto-toc {
  365. list-style-type: none
  366. }
  367. </style>
  368. </head>
  369. <body>
  370. <div class="document" id="web-export-current-view">
  371. <h1 class="title">Web Export Current View</h1>
  372. <!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  373. !! This file is generated by oca-gen-addon-readme !!
  374. !! changes will be overwritten. !!
  375. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
  376. <p><a class="reference external"
  377. href="https://odoo-community.org/page/development-status"><img
  378. alt="Beta"
  379. src="https://img.shields.io/badge/maturity-Beta-yellow.png"/></a>
  380. <a class="reference external"
  381. href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img
  382. alt="License: AGPL-3"
  383. src="https://img.shields.io/badge/licence-AGPL--3-blue.png"/></a>
  384. <a class="reference external"
  385. href="https://github.com/OCA/web/tree/12.0/web_export_view"><img
  386. alt="OCA/web"
  387. src="https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github"/></a>
  388. <a class="reference external"
  389. href="https://translation.odoo-community.org/projects/web-12-0/web-12-0-web_export_view"><img
  390. alt="Translate me on Weblate"
  391. src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png"/></a>
  392. <a class="reference external"
  393. href="https://runbot.odoo-community.org/runbot/162/12.0"><img
  394. alt="Try me on Runbot"
  395. src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png"/></a>
  396. </p>
  397. <p>One of the best Odoo’s features is exporting custom data to CSV/XLS. You
  398. can
  399. do it by clicking on the export link in the sidebar. The export action
  400. allows
  401. us to configure what to be exported by selecting fields, etc, and
  402. allows you
  403. to save your export as a template so that you can export it once again
  404. without
  405. having to configure it again.</p>
  406. <p>That feature is as great and advanced as limited for an everyday
  407. experience.
  408. A lot of customers want simply to export the tree view they are looking
  409. to.</p>
  410. <p>If you miss this feature as us, probably you’ll find an answer into our
  411. web_export_view module.</p>
  412. <p><strong>Table of contents</strong></p>
  413. <div class="contents local topic" id="contents">
  414. <ul class="simple">
  415. <li><a class="reference internal" href="#configuration" id="id1">Configuration</a>
  416. </li>
  417. <li><a class="reference internal" href="#usage" id="id2">Usage</a>
  418. </li>
  419. <li><a class="reference internal" href="#known-issues-roadmap"
  420. id="id3">Known issues / Roadmap</a></li>
  421. <li><a class="reference internal" href="#bug-tracker" id="id4">Bug
  422. Tracker</a></li>
  423. <li><a class="reference internal" href="#credits"
  424. id="id5">Credits</a>
  425. <ul>
  426. <li><a class="reference internal" href="#authors" id="id6">Authors</a>
  427. </li>
  428. <li><a class="reference internal" href="#contributors"
  429. id="id7">Contributors</a></li>
  430. <li><a class="reference internal" href="#maintainers"
  431. id="id8">Maintainers</a></li>
  432. </ul>
  433. </li>
  434. </ul>
  435. </div>
  436. <div class="section" id="configuration">
  437. <h1><a class="toc-backref" href="#id1">Configuration</a></h1>
  438. <p>If we wanted to disallow users to use the features provided by this
  439. module, we
  440. can add them to the group <em>Disallow Export View Data to
  441. Excel</em>.</p>
  442. </div>
  443. <div class="section" id="usage">
  444. <h1><a class="toc-backref" href="#id2">Usage</a></h1>
  445. <p>After you installed it, you’ll find an additional link ‘Export
  446. current view’
  447. right on the sidebar. By clicking on it you’ll get a XLS file
  448. contains
  449. the same data of the tree view you are looking at, headers
  450. included.</p>
  451. </div>
  452. <div class="section" id="known-issues-roadmap">
  453. <h1><a class="toc-backref" href="#id3">Known issues / Roadmap</a></h1>
  454. <p>Pedro M. Baeza (<a class="reference external"
  455. href="mailto:pedro.baeza&#64;tecnativa.com">pedro.baeza&#64;tecnativa.com</a>):
  456. When you have groups, they are not exported to Excel. It would be
  457. desirable to have this option.
  458. One of the problems with this module is that you can’t export data
  459. from a view with mode=”tree”.
  460. Changing the approach to have the button always visible (we should
  461. relocate it also to another place,
  462. as the current location is not visible for these views), and
  463. digging correctly in the DOM elements
  464. for this view (very similar to the normal tree view one) will do
  465. the trick. This will also help users
  466. to locate the feature, as it’s hidden now by default and users
  467. don’t think about selecting records.
  468. The behavior will be: nothing selected &gt; you export all
  469. (including groups).
  470. Something or all selected: export the selection.</p>
  471. </div>
  472. <div class="section" id="bug-tracker">
  473. <h1><a class="toc-backref" href="#id4">Bug Tracker</a></h1>
  474. <p>Bugs are tracked on <a class="reference external"
  475. href="https://github.com/OCA/web/issues">GitHub
  476. Issues</a>.
  477. In case of trouble, please check there if your issue has already
  478. been reported.
  479. If you spotted it first, help us smashing it by providing a
  480. detailed and welcomed
  481. <a class="reference external"
  482. href="https://github.com/OCA/web/issues/new?body=module:%20web_export_view%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.
  483. </p>
  484. <p>Do not contact contributors directly about support or help with
  485. technical issues.</p>
  486. </div>
  487. <div class="section" id="credits">
  488. <h1><a class="toc-backref" href="#id5">Credits</a></h1>
  489. <div class="section" id="authors">
  490. <h2><a class="toc-backref" href="#id6">Authors</a></h2>
  491. <ul class="simple">
  492. <li>Henry Zhou</li>
  493. <li>Agile Business Group</li>
  494. </ul>
  495. </div>
  496. <div class="section" id="contributors">
  497. <h2><a class="toc-backref" href="#id7">Contributors</a></h2>
  498. <ul class="simple">
  499. <li>Henry Zhou (MAXodoo) &lt;<a class="reference external"
  500. href="mailto:zhouhenry&#64;live.com">zhouhenry&#64;live.com</a>&gt;
  501. </li>
  502. <li>Rodney &lt;<a class="reference external"
  503. href="https://github.com/rv-clearcorp">https://github.com/rv-clearcorp</a>&gt;
  504. </li>
  505. <li>Simone Orsi &lt;<a class="reference external"
  506. href="mailto:simahawk&#64;gmail.com">simahawk&#64;gmail.com</a>&gt;
  507. </li>
  508. <li>Lorenzo Battistini &lt;<a class="reference external"
  509. href="mailto:lorenzo.battistini&#64;agilebg.com">lorenzo.battistini&#64;agilebg.com</a>&gt;
  510. </li>
  511. <li>Stefan Rijnhart &lt;<a class="reference external"
  512. href="mailto:stefan&#64;therp.nl">stefan&#64;therp.nl</a>&gt;
  513. </li>
  514. <li>Leonardo Pistone &lt;<a class="reference external"
  515. href="mailto:leonardo.pistone&#64;camptocamp.com">leonardo.pistone&#64;camptocamp.com</a>&gt;
  516. </li>
  517. <li>Jose Maria Bernet &lt;<a class="reference external"
  518. href="mailto:josemaria.bernet&#64;guadaltech.es">josemaria.bernet&#64;guadaltech.es</a>&gt;
  519. </li>
  520. <li>Alexandre Díaz &lt;<a class="reference external"
  521. href="mailto:dev&#64;redneboa.es">dev&#64;redneboa.es</a>&gt;
  522. </li>
  523. <li>Valtteri Lattu &lt;<a class="reference external"
  524. href="mailto:valtteri.lattu&#64;tawasta.fi">valtteri.lattu&#64;tawasta.fi</a>&gt;
  525. </li>
  526. <li><a class="reference external"
  527. href="https://www.tecnativa.com">Tecnativa</a>:
  528. <ul>
  529. <li>David Vidal</li>
  530. <li>Ernesto Tejeda</li>
  531. </ul>
  532. </li>
  533. </ul>
  534. </div>
  535. <div class="section" id="maintainers">
  536. <h2><a class="toc-backref" href="#id8">Maintainers</a></h2>
  537. <p>This module is maintained by the OCA.</p>
  538. <a class="reference external image-reference"
  539. href="https://odoo-community.org"><img
  540. alt="Odoo Community Association"
  541. src="https://odoo-community.org/logo.png"/></a>
  542. <p>OCA, or the Odoo Community Association, is a nonprofit
  543. organization whose
  544. mission is to support the collaborative development of Odoo
  545. features and
  546. promote its widespread use.</p>
  547. <p>This module is part of the <a class="reference external"
  548. href="https://github.com/OCA/web/tree/12.0/web_export_view">OCA/web</a>
  549. project on GitHub.</p>
  550. <p>You are welcome to contribute. To learn how please visit <a
  551. class="reference external"
  552. href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.
  553. </p>
  554. </div>
  555. </div>
  556. </div>
  557. </body>
  558. </html>