Commit Graph

71 Commits

Author SHA1 Message Date
Christophe Simonis 6a9adbca62 [MERGE] forward port of branch 7.0 up to revid 9236 mat@openerp.com-20130613160953-itt79mu5xrl7suv4
bzr revid: chs@openerp.com-20130613181503-82234mo34wxb0oap
2013-06-13 20:15:03 +02:00
Martin Trigaux 66eb2e7f3f [MERGE] [IMP] report_webkit: avoid using same src value for two different values with fallback
bzr revid: mat@openerp.com-20130611141016-nbi737zejyc003fd
2013-06-11 16:10:16 +02:00
Martin Trigaux 45c3fd063b [MERGE] Forward porting of latest 7.0 bugfixes, up to rev. 9193
bzr revid: mat@openerp.com-20130604110041-yemgrfsi02uboe8m
2013-06-04 13:00:41 +02:00
Martin Trigaux b7fb321f5b [MERGE] [FIX] correct path for printing webkit reports on windows server, courtesy of Olivier Laurent (Acsone)
lp bug: https://launchpad.net/bugs/1159702 fixed

bzr revid: mat@openerp.com-20130604084631-pv3echfj33qatqug
2013-06-04 10:46:31 +02:00
Thibault Delavallée a05b0bebbe [FORWARD] Forward port of 7.0 branch until revision 9143.
bzr revid: tde@openerp.com-20130521122359-b5vii7gv8arluz06
2013-05-21 14:23:59 +02:00
Martin Trigaux 8fd6cb92e7 [IMP] use exact writing for fsf address
bzr revid: mat@openerp.com-20130514142837-jt65d8xjd1eozqst
2013-05-14 16:28:37 +02:00
Martin Trigaux 3c11652fac [IMP] trmove double space in fsf address
bzr revid: mat@openerp.com-20130514141132-610k885sxtcr8vpb
2013-05-14 16:11:32 +02:00
Martin Trigaux 7b8f704f90 [FIX] fix FSF address
bzr revid: mat@openerp.com-20130514120424-xwjzdf3mufifl90d
2013-05-14 14:04:24 +02:00
Vo Minh Thu d248aa30ba [REF] get_module_resource() must imported from openerp.modules (instead of openerp.addons).
bzr revid: vmt@openerp.com-20130417064051-dvtgaya0kzyryvac
2013-04-17 08:40:51 +02:00
Vo Minh Thu 5639a52431 [MERGE] use new report API.
bzr revid: vmt@openerp.com-20130328121009-r3n63gmhfkv0dnby
2013-03-28 13:10:09 +01:00
Vo Minh Thu 6e1cb22110 [REF] report_webkit: removed openerp.pooler imports.
bzr revid: vmt@openerp.com-20130327122144-gqg0ez63g7ksoqaw
2013-03-27 13:21:44 +01:00
Olivier LAURENT 396eec00aa [FIX] path declaration must be OS independant => use '/' as neutral path separator
lp bug: https://launchpad.net/bugs/1159702 fixed

bzr revid: olivier.laurent@acsone.eu-20130325164907-4j1ki08mxp0a6y4o
2013-03-25 17:49:07 +01:00
Olivier LAURENT 8f6e543d70 [FIX] report_webkit: Wrong Report template file path throws 'Coercing to Unicode' error : (Maintenance Case : 583490)
cf.  http://bazaar.launchpad.net/~openerp-dev/openobject-addons/7.0-opw-583490-rgo/revision/8519

bzr revid: olivier.laurent@acsone.eu-20130325164313-ccnkn06x16ar32qz
2013-03-25 17:43:13 +01:00
Vo Minh Thu 3bee1cc4cd [FIX] report_webkit: the registering function was passing the correct parser to the Report class, but in fact, its default was wrong (None would never work).
bzr revid: vmt@openerp.com-20130325123644-v3a9p6oj8qh2a6tb
2013-03-25 13:36:44 +01:00
Vo Minh Thu 9b0ced610f [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20130322134958-jhe6m0222jq7wo41
2013-03-22 14:49:58 +01:00
niv-openerp 048ec2774a Added report extender + demo and doc
bzr revid: nicolas.vanhoren@openerp.com-20130226153047-0qzs21v7xiybrjmj
2013-02-26 16:30:47 +01:00
niv-openerp 49b1fa4b52 Switched to jinja
bzr revid: nicolas.vanhoren@openerp.com-20130226135917-vkxa2gaxyxy1v7b0
2013-02-26 14:59:17 +01:00
Vo Minh Thu 9bb5ee90e4 [IMP] removed unused netsvc imports.
bzr revid: vmt@openerp.com-20130222161029-zecwro75yra2vz0d
2013-02-22 17:10:29 +01:00
Ravi Gohil (OpenERP) 0b637725be [FIX] report_webkit: If a certain translateable term happens to be the same src value as on another report (both webkit and non-webkit reports) the resulting translation on a webkit report uses the first translation found (which is highly likely to be from the other report). (Maintenance Case: 586086)
lp bug: https://launchpad.net/bugs/1098602 fixed

bzr revid: rgo@tinyerp.com-20130215084213-h38jfi447y4qpf94
2013-02-15 14:12:13 +05:30
Ravi Gohil (OpenERP) 6d69fe6639 [FIX] report_webkit: Wrong Report template file path throws 'Coercing to Unicode' error : (Maintenance Case : 583490)
bzr revid: rgo@tinyerp.com-20130101095810-7cbw337ul443q66g
2013-01-01 15:28:10 +05:30
Vo Minh Thu 6072fd11af [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20121210111654-0pm3pupnqqeip52n
2012-12-10 12:16:54 +01:00
Olivier Dony f5fd0fc081 [FIX] report_webkit: fix incorrect usage of get_module_resource()
As of 7.0 get_module_resource() enforces that its first argument
should be a module name, followed by extra path components.

+ minimal lint cleanup

bzr revid: odo@openerp.com-20121207175047-ghv0ic3auq8owt0t
2012-12-07 18:50:47 +01:00
Vo Minh Thu ca89ae8f71 [IMP] use the openerp namespace.
bzr revid: vmt@openerp.com-20121206151316-u1eqx41ltjpz2lrd
2012-12-06 16:13:16 +01:00
Vo Minh Thu e7f4891d46 [IMP] use the openerp namespace.
bzr revid: vmt@openerp.com-20121206145632-0h1coh5aaem65wsy
2012-12-06 15:56:32 +01:00
Fabien Pinckaers 745a8ca4c2 [IMP] C2C iprovement of webkit in failed reports
bzr revid: fp@tinyerp.com-20120930125637-m1ydhij1aq7ludsv
2012-09-30 14:56:37 +02:00
d5b3cce651 [FIX] fix issue lp:1003819
* process the information that wkhtmltopdf can write on stderr
* cleanup the code handling file deletion to remove duplication
* provide information to the user about what went wrong

bzr revid: alexandre.fayolle@camptocamp.com-20120724135842-ldwsspsk51i4ne1b
2012-07-24 15:58:42 +02:00
Saurang Suthar(OpenERP) 7e978dce74 [IMP] Improved warning messages for report_webkit, share and wiki modules
bzr revid: pso@tinyerp.com-20120722134024-hu4fbdhw5ga8p1u7
2012-07-22 19:10:24 +05:30
pso (OpenERP) d5d97cb6e3 [MERGE] Improved warning messages for report_webkit, share and wiki modules
bzr revid: pso@tinyerp.com-20120722131934-j9rbotugz3ymvt4m
2012-07-22 18:49:34 +05:30
Kuldeep Joshi (OpenERP) 3c50eb017a [IMP] set logging.getLogger(__name__)
bzr revid: kjo@tinyerp.com-20120622064854-5f6fss55k7305e8q
2012-06-22 12:18:54 +05:30
Stephane Wirtel 4fe0e22bbe [FIX] report_webkit: fix the path computation for the webkithtmltopdf executable
bzr revid: stw@openerp.com-20120216105858-74d2m1qhjhqu8in7
2012-02-16 11:58:58 +01:00
Stephane Wirtel 5d4ff77bd3 [FIX] webkit: Set the right signature for the get_lib function
bzr revid: stw@openerp.com-20120215095527-a3b4ps6lyk735v1h
2012-02-15 10:55:27 +01:00
Antony Lesuisse 137612b4c5 [MERGE] report_webkit move wkhtmltopdf PATH from company to ir config parameters
bzr revid: al@openerp.com-20120215092317-ops1e4bbjepzrsah
2012-02-15 10:23:17 +01:00
Stephane Wirtel 1052e36d7c [FIX] report_webkit: Use the parent of the root_path if we use openerp on Windows
bzr revid: stw@openerp.com-20120213173514-vj6mqv9qrqs0y7k6
2012-02-13 18:35:14 +01:00
Olivier Dony 5ecb66312c [REV] Last merge by AL breaks tests
bzr revid: odo@openerp.com-20120213084242-wn07hua23owewgvm
2012-02-13 09:42:42 +01:00
Antony Lesuisse 87c00a1d3e [MERGE] webkit wkhtmltopdf path configuration
bzr revid: al@openerp.com-20120210173911-9f7oqrtghejse9o4
2012-02-10 18:39:11 +01:00
Stephane Wirtel 7500c3976c [FIX] report_webkit: Integration of WebkitHtmlToPdf
The system will read the default path from the webkit_path defined into the ir.config_parameter.
If there is no value, the system will use the PATH.

bzr revid: stw@openerp.com-20120210160929-thor1qik8i3ybnn2
2012-02-10 17:09:29 +01:00
Olivier Dony c5845be244 [FIX] report_webkit: translations lookup should ignore report name for webkit reports
Webkit/Mako translations are quite different from RML
report translations, and very similar to translations
for Python code terms, i.e. with _(). The method to
lookup the translations at rendering time should thus
be similar to what _() does for Python code terms, and
not depend on the name of the report, which is not
known when exporting the translation template, and is
therefore not available in POT meta-data.
This bears no performance penalty, as we are still
only looking inside 'report'-typed translations with
the matching 'source term'.
The only downside is that this prevents per-report
translations, but this is not supported by our
translation import/export system anyway, so it 
does not matter (msgid strings must be unique
within a PO file, and we don't support context-
sensitive PO files yet).

lp bug: https://launchpad.net/bugs/819334 fixed

bzr revid: odo@openerp.com-20120119102145-tp3w80bhjwq11q84
2012-01-19 11:21:45 +01:00
Olivier Dony 5d743ccc53 [FIX] report_webkit: avoid using report name in temp file path, breaks with non-ASCII (translated) report names
bzr revid: odo@openerp.com-20120119101149-6npyju87vz2mi5c2
2012-01-19 11:11:49 +01:00
nicolas.bessi@camptocamp.com 0694c54010 [FIX] template lookup typo
bzr revid: nicolas.bessi@camptocamp.com-20120109201353-qbbu6yzdhzoen7i6
2012-01-09 21:13:53 +01:00
nicolas.bessi@camptocamp.com 74e627b0c6 [FIX] template lookup
bzr revid: nicolas.bessi@camptocamp.com-20120109201214-211nhcysziaxyhbe
2012-01-09 21:12:14 +01:00
Numerigraphe - Lionel Sausin 779fa653c1 [IMP] Added missing vim mode lines
lp bug: https://launchpad.net/bugs/524279 fixed

bzr revid: ls@numerigraphe.fr-20111122085138-x6u2lcl6vrpyybp9
2011-11-22 09:51:38 +01:00
nicolas.bessi@camptocamp.com 339d6c856a [FIX] translation and formatting support in report_webkit
bzr revid: nicolas.bessi@camptocamp.com-20111012083350-lgzjye93lqp2nhkr
2011-10-12 10:33:50 +02:00
nicolas.bessi@camptocamp.com 97892fb72d [FIX] typo
bzr revid: nicolas.bessi@camptocamp.com-20110921081546-uwwc9nx71pr6u742
2011-09-21 10:15:46 +02:00
nicolas.bessi@camptocamp.com 73adeb660c [IMP] trailing spaces
bzr revid: nicolas.bessi@camptocamp.com-20110921081451-9bdq6wvtjvxbqv3l
2011-09-21 10:14:51 +02:00
nicolas.bessi@camptocamp.com 4d26cf1cf0 [IMP] support precise mode + get ride of notify channel + small refactoring
bzr revid: nicolas.bessi@camptocamp.com-20110921074942-9zukri77gv8eeofd
2011-09-21 09:49:42 +02:00
nicolas.bessi@camptocamp.com a0b42c1f74 [IMP] report available in header and foot in report_webkit
bzr revid: nicolas.bessi@camptocamp.com-20110909104927-xy9mcytpteiwi02w
2011-09-09 12:49:27 +02:00
Olivier Dony a76e08077a [FIX] report_webkit: fixed UTF-8 encoding in debug mode too
bzr revid: odo@openerp.com-20110430015646-j7y9fyv31j6euce3
2011-04-30 03:56:46 +02:00
nicolas.bessi@camptocamp.com 4ee8a210dc [FIX] encoding support fix for use of subprocess
bzr revid: nicolas.bessi@camptocamp.com-20110407083813-m8ymnb2lka3k6qex
2011-04-07 10:38:13 +02:00
nicolas.bessi@camptocamp.com 43e2056a03 [FIX] UTF8 support + utf8 debug mode
bzr revid: nicolas.bessi@camptocamp.com-20110405111214-2ooh7j478kiyzwdb
2011-04-05 13:12:14 +02:00
Vo Minh Thu 8d409fc136 [FIX] report_webkit: forgot to remove the import of commands.
bzr revid: vmt@openerp.com-20110405105100-rzzheoaahr44jn8k
2011-04-05 12:51:00 +02:00