summaryrefslogtreecommitdiff
path: root/doc/reference/reports.rst
AgeCommit message (Collapse)Author
2021-05-04[MOV] doc: move documentation to a dedicated repositoryVictor Feyens
In odoo/documentation-user#945, the developer documentation is merged with the user documentation in a single repository and build config. This commit then removes source files for the developer documentation from the odoo/odoo repository. DOC PR: https://github.com/odoo/documentation-user/pull/945 task-2351938 task-2352371 task-2205684 task-2352544 Co-authored-by: Victor Feyens <vfe@odoo.com> Co-authored-by: Antoine Vandevenne <anv@odoo.com>
2020-08-21[FIX] doc: correct typos including a parameter nameRaf Geens
closes odoo/odoo#56232 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-07-28[FIX] doc: remove <act_window> and <report>Xavier Morel
* remove <report> and <act_window> form the backend tutorial * remove documentation for <report> in the report doc Also various fixes and improvements: * add ACL to the wizard in the tutorial, as transients now require ACLs * fix indentation & spacing in rST * reword a few bits * improve styling of footnote references (and recompile stylesheet with recent lessc which apparently changes its output formatting quite a bit)
2020-05-07[FIX] doc: escape URLMartin Trigaux
The ampersand (&) needs to be html encoded to be evaluated correctly Cherry-picked from odoo/odoo#46526 Courtesy of Olaf Closes odoo/odoo#46526 closes odoo/odoo#50852 X-original-commit: 28b977d4702cd64290c5e48f39c8df2ad9819483 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-02-07[IMP] doc: some precisions/fixesVictor Feyens
closes odoo/odoo#44869 X-original-commit: c8c311b8d463d1db7f3700c1bb5dac076abab905 Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2019-10-30[DOC] render_html -> _get_report_valuesmreficent
closes odoo/odoo#39616 X-original-commit: 9beebf2b54959727407f3959e26cd1ee874c3307 Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2019-10-25[IMP] doc: build a module linksVictor Feyens
closes odoo/odoo#39395 X-original-commit: af66df3337e3a5cbf3cb7b7832460f0af1d97cc7 Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2019-09-18[DOC] batch of UI, Https, linter correctionsVictor Feyens
2019-09-12[FIX] *: remove buggy calls to with_contextJairo Llopis
When .with_context() is called with a dictionary as 1st positional argument, it will replace context (and not modify the referenced keys) It may create bugs when losing the content of the context (e.g. remove partner's language) This is a partial merge of #36164 without the inventory part as discussed. closes odoo/odoo#36729 X-forward: 4717ccfa Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-02-20[MERGE] forward port branch saas-11.3 up to 2c495502aa3Christophe Simonis
2019-02-19[MERGE] forward port branch saas-15 up to c6c3d73391aChristophe Simonis
2019-02-04[DOC] reports: add documentation for custom fontsYenthe666
closes odoo/odoo#30813
2018-07-27[REF] *: BS4, adapt col-related classesqsm-odoo
col-lg-* -> col-xl-* col-md-* -> col-lg-* col-sm-* -> col-md-* col-xs-* -> col-* col-lg-offset-* -> offset-xl-* col-md-offset-* -> offset-lg-* col-sm-offset-* -> offset-md-* col-xs-offset-* -> offset-* col-lg-pull-* -> order-xl-1 col-md-pull-* -> order-lg-1 col-sm-pull-* -> order-md-1 col-xs-pull-* -> order-1 col-lg-push-* -> order-xl-2 col-md-push-* -> order-lg-2 col-sm-push-* -> order-md-2 col-xs-push-* -> order-2
2018-04-18[IMP] doc: add link to qweb variable syntaxMartin Trigaux
To mention you can use the {{ var }} syntax too Closes #12035
2017-10-23[FIX] doc: some changes due to Odoo 11Richard Mathot
* Gantt view definitions have been changed * reports call different templates than Odoo 10.0 * XML-RPC and JSON-RPC examples migrated to Python 3
2016-10-11[FIX] doc: building correctly autoclass referencesMartin Trigaux
2016-08-10[FIX] report: Pass correctly the docids to render_html methodYannick Tivisse
In the 'get_html' method, the report is using a custom model to render its html, we should use its own 'render_html' method to generate the report. During the module migration, we replaced 'report_model.render_html(cr, uid, ids, data=data, context=context)' by 'report_model.render_html(data=data)' The new API signature of 'get_html' is @api.model def get_html(self, docids, report_name, data=None): That way, 'render_html' doesn't receive docids anymore when called. We should do instead if report_model is not None: return report_model.browse(docids).render_html(data=data) As render_html is an api.multi method, this is all wrong too, because we'll send a browse record with the custom report model to the render_html method, to use the ids with 'self.ids' that are absolutely not corresponding to the report model but to to the record model we want to print (an invoice for example). In old API style we were sending a list of ids, but it's not correct to keep the same behavior by sending a browse record with only the ids relevant. We have also to change render_html method decorator to @api.model with a new signature @api.model def render_html(self, docids, data=None): And replace the call to render_html by if report_model is not None: return report_model.render_html(docids, data=data) In the case the report is printed from a wizard, this is sufficient because the ids are taken from the active_ids in context, or in data. In the case the report is printed from a simple action, we should replace the occurence of 'self.ids' (which doesn't mean anything) to 'docids' This fix doesn't solve the printing issues for the custom accounting reports, because the method get_pdf has been reimplemented in the module account_reports.
2016-07-25[MERGE] forward port branch saas-11 up to 7ae5121Christophe Simonis
2016-07-22[FIX] doc: correct spelling mistake in referencergeleta
Closes #12865
2016-07-05[TYPO] qweb: use the same option attribute for t-esc t-raw and t-fieldChristophe Matthieu
t-options instead of t-field-options
2016-06-14[FIX] templates: remplace true by True for t-field-optionsChristophe Matthieu
t-field-options is a python dictionary. 'true' is evaluated as None because the qweb did not find any value for 'true' key.
2016-03-11[DOC] report: paperformat available in report declarationDamien Bouvy
No warning needed concerning the stupid parperformat_id inheritance hack.
2015-11-23[MERGE] forward port of branch 8.0 up to 6f29cbeDenis Ledoux
2015-11-20[DOC] reports: clarification about stylesJairo Llopis
* correct xpath to add style in report.styles * informations about style troubleshoot closes #9105
2015-07-07[MERGE] forward port of branch 8.0 up to 2de301dChristophe Simonis
2015-07-07[ADD] doc: new themeXavier Morel
Pretty much completely rewritten theme with custom HTML translator and a few parts of the old theme extracted to their own extensions. Banner images thought not to be that huge after all, and not worth the hassle of them living in a different repository. co-authored with @stefanorigano
2015-02-06[IMP] doc: update report doc to include t-lang attribute in template ↵Damien Bouvy
translation
2015-01-27[IMP] doc: documentation for qweb reportsDamien Bouvy
closes #4876
2014-11-03[FIX] doc: fit code example to new APINicolas Bustillos
When using this code as is, the 'ids' variable throws an exception for not being defined. In the new API, 'ids' is no longer given as a function variable but as a variable within 'self'. close #3406
2014-08-22[ADD] doc: new documentation, with training tutorials, and new scaffoldingRaphael Collet