Simone Orsi
66969f51fa
[FIX] Report: get_pdf: don't miss main elements when parsing html
...
Main elements can have more than one class, thus can be ignored by the previous
naive xpath. This patch brings a stronger xpath.
2014-11-05 11:49:53 +01:00
David Monjoie
d492a4d64a
[FIX] report: fix report HTML editor scrollbar in Firefox
2014-10-30 12:25:13 +01:00
Simon Lejeune
440fb712cb
[FIX] Report: use ir.config 'report.url' key as base url if it exists
...
Browse ir.config 'report.url' with superuser as
the user may want to restrict access of this key to the public
2014-10-24 16:37:30 +02:00
Paulius Sladkevičius
83b4742b56
[FIX] Render of report shouldn't update context
...
With API 8 context is frozendict that don't support update
2014-10-23 17:33:37 +02:00
Christophe Simonis
2b192bef22
[FIX] report: do not fail if PDF cannot be saved as attachment due to AccessError
2014-10-16 15:50:26 +02:00
Olivier Dony
7439421ad2
[I18N] Update translations from Launchpad 8.0 branches
2014-10-08 17:52:25 +02:00
Simon Lejeune
176404dd14
[FIX] Report: attachment_use need attachment
2014-09-24 17:33:00 +02:00
Simon Lejeune
5936a5c4a6
[FIX] Report: attachment and attachment_use: fix logic
...
Previously, attachment and attachment_use were only functionnal when used
simultaneously. The code did not consider the fact that the user may want
an historic of all the printed reports. This commit allow the use of
attachment without attachment_use.
It also tell explicitely qweb to generate the branding (used to separate
reports from a unique html when printing multiple reports). Before, it was
functional only when website was installed, because we forced 'editable' that
only has meaning in website.
2014-09-24 16:48:39 +02:00
Olivier Dony
b74d830eb2
[I18N] Update translation templates with latest term changes
2014-09-23 19:13:50 +02:00
Simon Lejeune
f299b40fe6
[FIX] report: windows: lower level of file opening/closing, which to find wkhtmltpdf
...
* Use of 'which' to find the wkhtmltopdf binary (allow the win32 service to find it)
* Use of mkstemp and manual close of the file descriptors
2014-09-23 14:07:03 +02:00
DEEP SILVER ACCESSORY
e458be4a14
[FIX] Report: compatibility issues on Windows
...
This commit fixes two different issues specific to Windows:
* NamedTemporaryFile behavior, requiring a file to be closed before being
accessed a second time
* Wkhtmltopdf crash when the document's dpi is inferor to 96
2014-09-23 14:07:03 +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
53aa92d3c9
[I18N] Update translations from Launchpad branches
2014-09-18 11:47:16 +02:00
Simon Lejeune
ce0dcac161
[FIX] report: /report/download route should not be website enabled
...
There's a little magic inside the website enabled route modifying the
context's lang, thus breaking the logic to print the report in the
current user's lang. The direct route to display the report should
stay in website_enabled mode, as it allows to switch lang, use the
website translator and so on.
2014-09-12 12:29:29 +02:00
Simon Lejeune
4b82cf666f
[FIX] Report: search associated qweb views: do not forward context
...
The context may be inconsistent (for instance, containing a group_by associated to another
model). The client will take care of keeping it consistent. Fixes issue #1768
2014-09-09 14:36:00 +02:00
Olivier Dony
fac96241df
[I18N] Update 8.0 translations with latest changes from Launchpad
2014-09-08 19:04:25 +02:00
Xavier Morel
7558e2e786
[IMP] distribute branding on @groups instead of disabling edition
...
Avoids 2 rendering passes, and allows editing e.g. events detail page, which
couldn't be done (due to groups=public in a mail component)
fixes #1994
2014-09-08 11:16:06 +02:00
Olivier Dony
50ef63881a
[I18N] Update 8.0 translation with latest source code
2014-08-14 17:01:54 +02:00
rlu-odoo
8b67a7202d
[REF] OpenERP --> Odoo in various UI texts
...
Rebranding has been done in:
- data/demo files
- html templates
- help notices
- comments
- logger messages
- and other various messages
(Commit taken from odoo-dev:8.0-improve-openerp-odoo-rlu at rev 7deaa08)
Closes #1260
2014-07-18 13:45:41 +02:00
Raphael Collet
cbe2dbb672
[MERGE] new v8 api by rco
...
A squashed merge is required as the conversion of the apiculture branch from
bzr to git was not correctly done. The git history contains irrelevant blobs
and commits. This branch brings a lot of changes and fixes, too many to list
exhaustively.
- New orm api, objects are now used instead of ids
- Environements to encapsulates cr uid context while maintaining backward compatibility
- Field compute attribute is a new object oriented way to define function fields
- Shared browse record cache
- New onchange protocol
- Optional copy flag on fields
- Documentation update
- Dead code cleanup
- Lots of fixes
2014-07-06 17:05:41 +02:00
Simon Lejeune
9cf4c03167
[FIX] display an error message instead of True when a group prevent to edit a report
2014-06-29 17:15:00 +02:00
Simon Lejeune
64fdc4bbcf
[REF] no more hardcoded html in report.py
2014-06-29 15:54:18 +02:00
Simon Lejeune
891c890d73
[FIX] handle the case where request is bound, request.website exist but is None
2014-06-27 19:12:44 +02:00
Simon Lejeune
f24fe427fa
[FIX] remove useless view inheritance correction
2014-06-27 12:04:52 +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
Xavier Morel
ba4b203e31
[FIX] report rendering should ignore http.Retry
2014-06-17 15:19:54 +02:00
Fabien Meghazi
faa09da325
Removed version="7.0" from form views
2014-06-12 09:09:59 +02:00
Olivier Dony
04211015fc
[MERGE] Forward-port of latest saas-4 fixes, up to 0452851
2014-05-27 20:49:49 +02:00
Richard Mathot
e28c810123
[FIX] website: convert non-standard HTML metatag to data attribute
2014-05-26 08:51:38 +02:00
Simon Lejeune
1f97c40c9c
[FIX] Report: get the wkhtmltopdf version in a cleaner way with a simple regex
2014-05-21 14:05:18 +02:00
Simon Lejeune
58d3a6f3f7
[FIX] Report: inform the user that he may not print a pdf report while his openerp is running with only one worker; adapt method to extract wkhtmltopdf version to also work on mac where the ouput of '--version' is different from gnu/linux binary
2014-05-21 13:06:31 +02:00
Simon Lejeune
654df600c1
[FIX] Report: less verbose error message
2014-05-21 13:02:59 +02:00
Simon Lejeune
226579a80d
[FIX] Report: removed psutil/signal/openerp worker crap
2014-05-21 13:01:42 +02:00
Simon Lejeune
1745c738ee
[FIX] Report: double the default height/width of barcode image to avoid a blurred/unusable barcode once integrated in a report
2014-05-21 12:59:05 +02:00
Simon Lejeune
4019b2b334
[FIX] Report: do not raise when wkhtmltopdf returns a code 1. In most cases, it is due to some http requests which did not success *but* the pdf is still acceptable. Far from the best commit ever, but it avoids to completely crash when just a link to an image is wrong
2014-05-21 12:56:56 +02:00
Simon Lejeune
35c5e56718
[FIX] address div more to the left on external reports
2014-05-21 11:57:45 +02:00
Fabien Meghazi
8eed143112
[IMP] Invert multilang logic in route decorator. True by default, can be set to False explicitlty
2014-05-13 11:35:45 +02:00
Quentin (OpenERP)
70eb74a260
[MERGE] merged with trunk up to revision 9425. Needs to find another icon for Traceability on lot, though
...
bzr revid: qdp-launchpad@openerp.com-20140507182917-erjammra4okyei1c
2014-05-07 20:29:17 +02:00
Christophe Simonis
b8089a1521
[MERGE] forward port of branch saas-4 up to revid 9410 chs@openerp.com-20140507164207-kmme4tsrd4w1m7l1
...
bzr revid: chs@openerp.com-20140507170112-bjeltv2b0coy60am
2014-05-07 19:01:12 +02:00
Josse Colpaert
8b84615de1
[MERGE] Merge from trunk test
...
bzr revid: jco@openerp.com-20140502130352-c3h1fk332eqyd78b
2014-05-02 15:03:52 +02:00
Simon Lejeune
7ad6d7a150
[FIX] Report: usage of ids in get_action more consistent: only pass them when they are useful, else pass an empty list
...
bzr revid: sle@openerp.com-20140502130310-106au0jsza0b3nwe
2014-05-02 15:03:10 +02:00
Antony Lesuisse
7e25b9ae55
[MERGE] saas-4 report_webkit missing dependency on report
...
bzr revid: al@openerp.com-20140501152604-4cobh5ui47dt4pem
bzr revid: al@openerp.com-20140501155633-gefnc3zqcsr2rhaz
bzr revid: al@openerp.com-20140501161156-4wbsvhh8gz4r22h3
2014-05-01 18:11:56 +02:00
Fabien Meghazi
8474a2ed6f
[MERGE] Web assets moved from manifests to ir.ui.view bundles
...
bzr revid: fme@openerp.com-20140430151509-mme5st89o1hj4zcs
2014-04-30 17:15:09 +02:00
Simon Lejeune
437bf4e04f
[MERGE] trunk
...
bzr revid: sle@openerp.com-20140429170245-y02h8z7elx7pu5km
2014-04-29 19:02:45 +02:00
Simon Lejeune
5957efbde9
[MERGE] trunk
...
bzr revid: sle@openerp.com-20140428093503-mhb4nd70u8ctoyok
2014-04-28 11:35:03 +02:00
Fabien Meghazi
4f16d15120
[IMP] rename editor assets
...
bzr revid: fme@openerp.com-20140425101753-gz6c8q9huw9c04yp
2014-04-25 12:17:53 +02:00
Quentin (OpenERP)
7a6b00b651
[MERGE] merged with trunk up to revision 9381
...
bzr revid: qdp-launchpad@openerp.com-20140425090414-vpg4szws9y4fgznc
2014-04-25 11:04:14 +02:00
Fabien Meghazi
1c4e2cfd22
[IMP] bundlify addons (except website)
...
bzr revid: fme@openerp.com-20140424172129-ze74eaz2eaidmxhm
2014-04-24 19:21:29 +02:00
Simon Lejeune
b667f6a292
[MERGE] trunk
...
bzr revid: sle@openerp.com-20140422124030-gowf9zyx1d36j01g
bzr revid: sle@openerp.com-20140424124655-95ex30m25soiu4wd
2014-04-24 14:46:55 +02:00
Simon Lejeune
f340fc33ea
[MERGE] saas-4
...
bzr revid: sle@openerp.com-20140423141323-8rlqxuovo720hbyg
2014-04-23 16:13:23 +02:00