Yannick Tivisse
09affe7cdf
[IMP] Replace translate_doc method by t-lang attribute as this method is deprecated
...
now that we have a cleaner system to switch translation when calling a qweb template.
Update the docstring too.
Replace :
<t t-foreach="doc_ids" t-as="doc_id">
<t t-raw="translate_doc(doc_id, doc_model, 'partner_id.lang', account.report_invoice_document')"/>
</t>
By :
<t t-foreach="doc_ids" t-as="doc_id">
<t t-call="'account.report_invoice_document" t-lang="doc_id.partner_id.lang"/>µ
</t>
Impacted modules : acccount, purchase, report_intrastat.
2015-07-17 14:48:41 +02:00
Christophe Matthieu
c9492f8904
[IMP] report: adapt report to use web_editor and remove website_report
2015-07-10 17:00:11 +02:00
Olivier Dony
0bd4545348
[LEGAL] Use global LICENSE/COPYRIGHT files, remove boilerplate text
...
- Preserved explicit 3rd-party copyright notices
- Explicit boilerplate should not be necessary - copyright law applies
automatically in all countries thanks to Berne Convention + WTO rules,
and a reference to the applicable license is clear enough.
2015-06-02 03:16:04 +02:00
Christophe Simonis
5aba579e74
[MERGE] forward port of branch saas-6 up to 42db2db
2015-03-21 15:54:05 +01:00
Christophe Simonis
a329aa1949
[MERGE] forward port of branch 8.0 up to e27744d
2015-03-18 14:05:02 +01:00
Nandan Jani
6ffef2b053
[IMP] website_quote: improve navspy tracking, make history work and cleanup
...
Backport of master commit 742acbb454
2015-03-13 17:03:05 +01:00
Nandan Jani
d1d8802a40
[IMP] website_quote: support printing for the customer
...
Backport of master commit ed9f8fdbb4
2015-03-13 16:55:11 +01:00
Nandan Jani
742acbb454
[IMP] website_quote : make history work and clean the template and refactor js. Improved update quote button when quotation is accepted it will display back to sale order button, and updated Edit Template link.
2015-03-10 15:29:19 +01:00
Nandan Jani
ed9f8fdbb4
[IMP] website_quote: allow the user to print web quotation to pdf. This required to add col-xs-XX class on snippets, extract SaleOrder Content into a new template to create the report to print. The hidden-print class has been added into rendering report style, since wkhtmltopdf don't really support media-print CSS class.
...
Conflicts:
addons/website_quote/data/website_quotation_demo.xml
2015-03-10 15:29:19 +01:00
David Monjoie
1e8932f769
[IMP] website: extracted language selector in its own template
...
It is a technical part of the website, it actually acts like a "Language Widget", I don't see any good reason to not extract it into its own template.
I needed this for a designer who wanted to move the language selection elsewhere, and I realized it was not already in its own template. Worse, we already had a duplication of this content in our own module!
I need this in saas-6 to get rid of the actual third duplications of this content which exists in 8.0 (counting the theme).
2015-03-02 14:09:55 +01:00
Christophe Simonis
08f9c6d7bd
[FIX] website_report: change method signature
2015-02-19 18:18:48 +01:00
Christophe Simonis
61483e1a25
[MERGE] forward port of branch 8.0 up to 9333c62
2015-02-19 17:32:31 +01:00
Denis Ledoux
0167acbb52
[FIX] report : translation of report using website editor
...
In the website editor, the translations are loaded using
the route 'get_view_translations', which returns the translations
of the templates loaded by the website (t-call calls)
The thing is, report templates use the 'translate_doc' method
to actually load the report, translated in the partner language,
and the templates loaded by this method are not seen by the website,
therefore, when calling 'get_view_translations', those report
templates were just ignored, thus their translations are not loaded.
This rev. injects the templates loaded with translate_doc
when rendering the report into the method 'customize_template_get'
(which is used by 'get_view_translations' to retrieve the loaded templates).
The translations of the reports are therefore now loaded corretly when
hitting the "translate" button in the website editor for reports.
Besides, this rev. has as (good) side-effect to add the template,
in the template selection input when editing using the HTML editor.
opw-620713
2015-02-18 16:21:42 +01:00
Olivier Dony
8e03852fd4
[I18N] Update translations from Launchpad 8.0 branches
2015-01-26 16:36:51 +01:00
Olivier Dony
39f00b3637
[I18N] Update translation templates with latest terms
...
Total new terms: 270
Total deleted terms: 82
Total identical terms: 19653
Old total number of terms: 19735
New total number of terms: 19923
2015-01-21 15:31:22 +01:00
Olivier Dony
a6d24db305
[I18N] Update translations from Launchpad 8.0 branches
2014-11-19 17:49:12 +01:00
Olivier Dony
7439421ad2
[I18N] Update translations from Launchpad 8.0 branches
2014-10-08 17:52:25 +02:00
Olivier Dony
1c5b5e4290
[I18N] Update translations from Launchpad 8.0 branches
...
server: rev. 26 rev-id launchpad_translations_on_behalf_of_openerp-20140923072744-tkfs0yinu8msjh09
addons: rev. 39 rev-id launchpad_translations_on_behalf_of_openerp-20140923072715-5j7qvnuvmmb1zzy1
web: rev. 23 rev-id launchpad_translations_on_behalf_of_openerp-20140923072757-jvh9l6r2x0vfcyhb
2014-09-23 13:42:05 +02:00
Olivier Dony
fac96241df
[I18N] Update 8.0 translations with latest changes from Launchpad
2014-09-08 19:04:25 +02:00
Olivier Dony
50ef63881a
[I18N] Update 8.0 translation with latest source code
2014-08-14 17:01:54 +02:00
Simon Lejeune
fc8592adf2
[FIX] Report: translation fixed, use of 'primary clone' of web.layout and website.layout, minimal template is now a QWeb template
2014-06-27 12:00:49 +02:00
Simon Lejeune
195fa93168
[MERGE] backend front end integration
...
Render the top-menu (backend menu or frontend editbar) server-side.
Use Fontawesome icons (mail, timezone, chat).
Refactor website widgets, split Website.editorBarin editorbar, ace, editorbar- content, editorbarCustomize.
2014-06-27 11:03:34 +02:00
Christophe Matthieu
bc3fc54fac
[IMP] Tour: add tour in web module; tour became available in backend.
2014-06-18 12:25:13 +02:00
Fabien Meghazi
46b422def0
[REM] useless id's in script and links
...
bzr revid: fme@openerp.com-20140430073104-qwb0opveyx5hnplg
2014-04-30 09:31:04 +02:00
Fabien Meghazi
b7003a382a
[MERGE] upstream
...
bzr revid: fme@openerp.com-20140429154104-csm3jq6uxy9tk1ea
2014-04-29 17:41:04 +02:00
Fabien Meghazi
eae846f2c8
[FIX] remove @translatable conditions and de-activate group_website_designer specifics
...
Bundlification (and later merge of editor and web client) can't work with conditional
script inclusion
bzr revid: fme@openerp.com-20140425124913-9jsfhbfhoq6j6xxl
2014-04-25 14:49:13 +02:00
chm@openerp.com
ee7ff4bd07
[MERGE] from trunk
...
bzr revid: chm@openerp.com-20140423154852-gzegxqrzb2sj01zl
2014-04-23 17:48:52 +02:00
Simon Lejeune
146326e039
[FIX] website_report: added transfo.js
...
bzr revid: sle@openerp.com-20140416141100-11f1s3c5vfahn083
2014-04-16 16:11:00 +02:00
chm@openerp.com
a001e9c4bc
[FIX] website: tour for website_event_sale
...
bzr revid: chm@openerp.com-20140414084833-gsanxrhysk7jn9bo
2014-04-14 10:48:33 +02:00
chm@openerp.com
8a3e35e3bb
[MERGE] from trunk
...
bzr revid: chm@openerp.com-20140408154510-8snznjqkrdl3jwdg
2014-04-08 17:45:10 +02:00
Simon Lejeune
4975d2b9dc
[FIX] fixed report translation and translate overdue report into partner's lang
...
bzr revid: sle@openerp.com-20140403143235-mpw30fq4j2nyov6x
2014-04-03 16:32:35 +02:00
chm@openerp.com
99ac3ff81b
[MERGE] from trunk
...
bzr revid: chm@openerp.com-20140326105539-9hf1x7u6lvh2hq2f
2014-03-26 11:55:39 +01:00
Simon Lejeune
b6f6f8614a
[FIX] Handle the case where website is installed but the pdf generation is not called in a website request context
...
bzr revid: sle@openerp.com-20140324174630-43wi6nlh6bigaq7g
2014-03-24 18:46:30 +01:00
Simon Lejeune
1128743932
[FIX] Added the decorator website on the get_file route, correctly pass the context on the mrp bom structure and allow to install report module without pypdf installed
...
bzr revid: sle@openerp.com-20140321122103-mzp465s8hxckq4ai
2014-03-21 13:21:03 +01:00
chm@openerp.com
429324999c
[IMP] website tour: remove tag script and css to lib bootstrap
...
bzr revid: chm@openerp.com-20140321112344-mwh2p8pp02j9sdq0
2014-03-21 12:23:44 +01:00
Simon Lejeune
e06cefb4be
[FIX] Correctly separate website variable between report and website_report layouts
...
bzr revid: sle@openerp.com-20140321111742-rzkykk00z6fbum8d
2014-03-21 12:17:42 +01:00
Simon Lejeune
57e6e8fd28
[FIX] Multiples fixes: correct context passing, changed osv.Model to osv.AbstractModel to avoid creating tables in database when the model use for the reports contains only method
...
bzr revid: sle@openerp.com-20140321105806-0bwo992995la91fe
2014-03-21 11:58:06 +01:00
Simon Lejeune
1be06b0a67
[IMP] Independance from the website module: moved the editor into a 'website_report' module
...
bzr revid: sle@openerp.com-20140219105327-xx2jaqu4dvhv5goh
2014-02-19 11:53:27 +01:00