diff --git a/README.md b/README.md index 585c90eb8..6c459fe54 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,7 @@ Available addons ---------------- addon | version | maintainers | summary --- | --- | --- | --- +[base_comment_template](base_comment_template/) | 18.0.1.0.0 | | Add conditional mako template to any reporton models that inherits comment.template. [bi_sql_editor](bi_sql_editor/) | 18.0.1.0.0 | [![legalsylvain](https://github.com/legalsylvain.png?size=30px)](https://github.com/legalsylvain) | BI Views builder, based on Materialized or Normal SQL Views [report_xlsx](report_xlsx/) | 18.0.1.0.0 | | Base module to create xlsx report [sql_request_abstract](sql_request_abstract/) | 18.0.1.0.0 | [![legalsylvain](https://github.com/legalsylvain.png?size=30px)](https://github.com/legalsylvain) | Abstract Model to manage SQL Requests diff --git a/base_comment_template/README.rst b/base_comment_template/README.rst index 68d67a603..05936c0aa 100644 --- a/base_comment_template/README.rst +++ b/base_comment_template/README.rst @@ -7,7 +7,7 @@ Base Comments Templates !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:3b5eb88dbd79b1149e679ff90f3a24b61a1f07af046693635b7fc3b597479aba + !! source digest: sha256:83536f96c9de60df146e373b7ce8bf3a5c1c7c18f225c668b06ce45a2db4f907 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png @@ -34,8 +34,8 @@ you can use variables from linked models. Two positions are available for the comments: -- above document lines (before_lines) -- below document lines (after_lines) +- above document lines (before_lines) +- below document lines (after_lines) The template are general, and can be attached to any Model and based on some domain defined in the template. You can define one default template @@ -45,16 +45,16 @@ partners. It has a priority field (smaller number = higher priority) In existing reports, if you add this line will get the comment template if you created one like -- ( or without any parameter) +- ( or without any parameter) This module is the base module for following modules: -- sale_comment_template -- purchase_comment_template -- account_comment_template -- stock_picking_comment_template +- sale_comment_template +- purchase_comment_template +- account_comment_template +- stock_picking_comment_template **Table of contents** @@ -69,10 +69,10 @@ designing you comment templates. This module is the base module for following modules: -- sale_comment_template -- purchase_comment_template -- invoice_comment_template -- stock_picking_comment_template +- sale_comment_template +- purchase_comment_template +- invoice_comment_template +- stock_picking_comment_template Usage ===== @@ -87,8 +87,8 @@ Usage 6. Define the Model, Domain the template is linked. 7. Define the Position where the template will be printed: - - above document lines - - below document lines + - above document lines + - below document lines You should have at least one template with Default field set, if you choose a Partner the template is deselected as a Default one. If you @@ -121,9 +121,9 @@ is found. If you want to use Qweb templates, or different context, you can specify it just like in mail.render.mixin with parameters: -- engine: "inline_template", "qweb" or "qweb_view", -- add_context: dict with your own context, -- post_process: perform a post processing on rendered result +- engine: "inline_template", "qweb" or "qweb_view", +- add_context: dict with your own context, +- post_process: perform a post processing on rendered result so you could use it : @@ -155,36 +155,36 @@ Authors Contributors ------------ -- Xavier Jimenez -- Nicolas Bessi -- Yannick Vaucher -- Guewen Baconnier -- Simone Rubino -- `DynApps `__: +- Xavier Jimenez +- Nicolas Bessi +- Yannick Vaucher +- Guewen Baconnier +- Simone Rubino +- `DynApps `__: - - Raf Ven + - Raf Ven -- `Druidoo `__: +- `Druidoo `__: - - Iván Todorovich + - Iván Todorovich -- Pierre Verkest -- `NextERP Romania `__: +- Pierre Verkest +- `NextERP Romania `__: - - Fekete Mihai + - Fekete Mihai -- `Tecnativa `__: +- `Tecnativa `__: - - Carlos Roca - - Víctor Martínez + - Carlos Roca + - Víctor Martínez -- `Jarsa `__: +- `Jarsa `__: - - Alan Ramos + - Alan Ramos -- `Bloopark systems `__: +- `Bloopark systems `__: - - Achraf Mhadhbi + - Achraf Mhadhbi Maintainers ----------- diff --git a/base_comment_template/static/description/index.html b/base_comment_template/static/description/index.html index 72b907e32..cc11591cf 100644 --- a/base_comment_template/static/description/index.html +++ b/base_comment_template/static/description/index.html @@ -367,7 +367,7 @@ ul.auto-toc { !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -!! source digest: sha256:3b5eb88dbd79b1149e679ff90f3a24b61a1f07af046693635b7fc3b597479aba +!! source digest: sha256:83536f96c9de60df146e373b7ce8bf3a5c1c7c18f225c668b06ce45a2db4f907 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

Beta License: AGPL-3 OCA/reporting-engine Translate me on Weblate Try me on Runboat

Add a new mixin class to define templates of comments to print on diff --git a/setup/_metapackage/pyproject.toml b/setup/_metapackage/pyproject.toml index a9d741eae..dc4a97ce7 100644 --- a/setup/_metapackage/pyproject.toml +++ b/setup/_metapackage/pyproject.toml @@ -1,7 +1,8 @@ [project] name = "odoo-addons-oca-reporting-engine" -version = "18.0.20241204.0" +version = "18.0.20250115.0" dependencies = [ + "odoo-addon-base_comment_template==18.0.*", "odoo-addon-bi_sql_editor==18.0.*", "odoo-addon-report_xlsx==18.0.*", "odoo-addon-sql_request_abstract==18.0.*",