diff --git a/README.md b/README.md
index c6d4cb82c..5f933f8a8 100644
--- a/README.md
+++ b/README.md
@@ -23,7 +23,7 @@ addon | version | maintainers | summary
--- | --- | --- | ---
[product_sold_by_delivery_week](product_sold_by_delivery_week/) | 16.0.1.0.1 | [](https://github.com/chienandalu) | Adds a field that graphically hints the weekly product sales
[sale_comment_template](sale_comment_template/) | 16.0.1.0.1 | | Comments texts templates on Sale documents
-[sale_layout_category_hide_detail](sale_layout_category_hide_detail/) | 16.0.1.1.1 | | Hide details for sections in sale orders and invoices for reports and customer portal
+[sale_layout_category_hide_detail](sale_layout_category_hide_detail/) | 16.0.1.1.2 | | Hide details for sections in sale orders and invoices for reports and customer portal
[sale_order_line_position](sale_order_line_position/) | 16.0.1.3.0 | | Adds position number on sale order line.
[sale_order_product_recommendation_product_sold_by_delivery_week](sale_order_product_recommendation_product_sold_by_delivery_week/) | 16.0.1.1.0 | [](https://github.com/chienandalu) | Adds the weekly sales field to the recommendation wizard
[sale_order_report_product_image](sale_order_report_product_image/) | 16.0.1.0.0 | | Show product images on Sale documents
diff --git a/sale_layout_category_hide_detail/README.rst b/sale_layout_category_hide_detail/README.rst
index 3b3a57cb3..16ce9deb4 100644
--- a/sale_layout_category_hide_detail/README.rst
+++ b/sale_layout_category_hide_detail/README.rst
@@ -7,7 +7,7 @@ Sale layout category hide detail
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
- !! source digest: sha256:8d714a4d52594b4db101047e7d624de53181efcaed0cf09bc8f606bc4aeab5cf
+ !! source digest: sha256:3a2fb40120a702ad60a8530bcfd4c78296b24c1f62c347e332b0fac6d2f76c3b
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
diff --git a/sale_layout_category_hide_detail/__manifest__.py b/sale_layout_category_hide_detail/__manifest__.py
index 8b29e1482..4f715bd57 100644
--- a/sale_layout_category_hide_detail/__manifest__.py
+++ b/sale_layout_category_hide_detail/__manifest__.py
@@ -5,7 +5,7 @@
"name": "Sale layout category hide detail",
"summary": "Hide details for sections in sale orders and invoices for "
"reports and customer portal",
- "version": "16.0.1.1.1",
+ "version": "16.0.1.1.2",
"category": "Sales Management",
"website": "https://github.com/OCA/sale-reporting",
"author": "Tecnativa, " "Odoo Community Association (OCA)",
diff --git a/sale_layout_category_hide_detail/static/description/index.html b/sale_layout_category_hide_detail/static/description/index.html
index 6e6f13c61..0d6f483dd 100644
--- a/sale_layout_category_hide_detail/static/description/index.html
+++ b/sale_layout_category_hide_detail/static/description/index.html
@@ -8,10 +8,11 @@
/*
:Author: David Goodger (goodger@python.org)
-:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $
+:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $
:Copyright: This stylesheet has been placed in the public domain.
Default cascading style sheet for the HTML output of Docutils.
+Despite the name, some widely supported CSS2 features are used.
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
customize this style sheet.
@@ -274,7 +275,7 @@
margin-left: 2em ;
margin-right: 2em }
-pre.code .ln { color: grey; } /* line numbers */
+pre.code .ln { color: gray; } /* line numbers */
pre.code, code { background-color: #eeeeee }
pre.code .comment, code .comment { color: #5C6576 }
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
@@ -300,7 +301,7 @@
span.pre {
white-space: pre }
-span.problematic {
+span.problematic, pre.problematic {
color: red }
span.section-subtitle {
@@ -366,7 +367,7 @@
Sale layout category hide detail
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-!! source digest: sha256:8d714a4d52594b4db101047e7d624de53181efcaed0cf09bc8f606bc4aeab5cf
+!! source digest: sha256:3a2fb40120a702ad60a8530bcfd4c78296b24c1f62c347e332b0fac6d2f76c3b
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

This module allows you to check/uncheck the new ‘Show details’ and
@@ -440,7 +441,9 @@
This module is maintained by the OCA.
-

+
+
+
OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.
diff --git a/sale_layout_category_hide_detail/tests/test_sale_layout_category_hide_detail.py b/sale_layout_category_hide_detail/tests/test_sale_layout_category_hide_detail.py
index 75b3332b6..cd0b799f5 100644
--- a/sale_layout_category_hide_detail/tests/test_sale_layout_category_hide_detail.py
+++ b/sale_layout_category_hide_detail/tests/test_sale_layout_category_hide_detail.py
@@ -11,6 +11,15 @@ class TestSaleLayoutCategoryHideDetail(SaleCommon):
@classmethod
def setUpClass(cls):
super(TestSaleLayoutCategoryHideDetail, cls).setUpClass()
+ if not cls.env.company.chart_template_id:
+ # Load a CoA if there's none in current company
+ coa = cls.env.ref("l10n_generic_coa.configurable_chart_template", False)
+ if not coa:
+ # Load the first available CoA
+ coa = cls.env["account.chart.template"].search(
+ [("visible", "=", True)], limit=1
+ )
+ coa.try_loading(company=cls.env.company, install_demo=False)
cls.product = cls.env["product.product"].create(
{"name": "Producto test", "type": "consu", "invoice_policy": "order"}
)