Skip to content

Commit

Permalink
Merge pull request #224 from OCA/15.0
Browse files Browse the repository at this point in the history
Syncing from upstream OCA/sale-reporting (15.0)
  • Loading branch information
bt-admin authored May 25, 2024
2 parents d2b980e + fe8ffaa commit cd6ec0f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ addon | version | maintainers | summary
[base_multicompany_reporting_currency](base_multicompany_reporting_currency/) | 15.0.1.0.1 | | Adds the possibility to specify Multicompany Reporting Currency
[product_sold_by_delivery_week](product_sold_by_delivery_week/) | 15.0.1.0.2 | [![chienandalu](https://github.com/chienandalu.png?size=30px)](https://github.com/chienandalu) | Adds a field that graphically hints the weekly product sales
[sale_comment_template](sale_comment_template/) | 15.0.1.0.1 | | Comments texts templates on Sale documents
[sale_layout_category_hide_detail](sale_layout_category_hide_detail/) | 15.0.1.0.0 | | Hide details for sections in sale orders and invoices for reports and customer portal
[sale_layout_category_hide_detail](sale_layout_category_hide_detail/) | 15.0.1.0.1 | | Hide details for sections in sale orders and invoices for reports and customer portal
[sale_multicompany_reporting_currency](sale_multicompany_reporting_currency/) | 15.0.1.0.2 | [![yankinmax](https://github.com/yankinmax.png?size=30px)](https://github.com/yankinmax) | Adds Amount in multicompany reporting currency to Sale Order
[sale_order_line_position](sale_order_line_position/) | 15.0.1.1.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/) | 15.0.1.0.0 | [![chienandalu](https://github.com/chienandalu.png?size=30px)](https://github.com/chienandalu) | Adds the weekly sales field to the recommendation wizard
Expand Down
2 changes: 1 addition & 1 deletion sale_layout_category_hide_detail/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:33db59b491ea1d8f91558aa1be29c3ca0f1ca754289b323c41cf5d447d35db90
!! source digest: sha256:71b4c1406f936a5b51a5cb0e4275857a9f679c6944600a905142d07e72633d5f
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
Expand Down
2 changes: 1 addition & 1 deletion sale_layout_category_hide_detail/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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": "15.0.1.0.0",
"version": "15.0.1.0.1",
"category": "Sales Management",
"website": "https://github.com/OCA/sale-reporting",
"author": "Tecnativa, " "Odoo Community Association (OCA)",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
Expand Down Expand Up @@ -367,7 +366,7 @@ <h1 class="title">Sale layout category hide detail</h1>
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:33db59b491ea1d8f91558aa1be29c3ca0f1ca754289b323c41cf5d447d35db90
!! source digest: sha256:71b4c1406f936a5b51a5cb0e4275857a9f679c6944600a905142d07e72633d5f
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/sale-reporting/tree/15.0/sale_layout_category_hide_detail"><img alt="OCA/sale-reporting" src="https://img.shields.io/badge/github-OCA%2Fsale--reporting-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/sale-reporting-15-0/sale-reporting-15-0-sale_layout_category_hide_detail"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/sale-reporting&amp;target_branch=15.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>This module allows you to check/uncheck the new ‘Show details’ and
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,7 @@ odoo.define(
},
_renderBodyCell: function (record, node) {
var $cell = this._super.apply(this, arguments);
var isSection = record.data.display_type === "line_section";
var isNote = record.data.display_type === "line_note";
if (isSection || isNote) {
if (record.data.display_type === "line_section") {
if (this._allowRemoveClassHidden(node.attrs.name)) {
return $cell.removeClass("o_hidden");
} else if (node.attrs.name === "name") {
Expand Down

0 comments on commit cd6ec0f

Please sign in to comment.