diff --git a/customer_outstanding_statement/__manifest__.py b/customer_outstanding_statement/__manifest__.py index 7010013d..f0d68d14 100644 --- a/customer_outstanding_statement/__manifest__.py +++ b/customer_outstanding_statement/__manifest__.py @@ -4,7 +4,7 @@ { 'name': 'Partner Outstanding Statement', - 'version': '11.0.2.0.0', + 'version': '11.0.2.1.0', 'category': 'Accounting & Finance', 'summary': 'OCA Financial Reports', 'author': "Eficent, Odoo Community Association (OCA)", diff --git a/customer_outstanding_statement/static/src/less/layout_statement.less b/customer_outstanding_statement/static/src/less/layout_statement.less new file mode 100644 index 00000000..4a600646 --- /dev/null +++ b/customer_outstanding_statement/static/src/less/layout_statement.less @@ -0,0 +1,22 @@ +.table-statement { + .amount { + text-align: right !important; + width: 14% //spread 7 columns evenly + } + thead { + border-bottom: solid; // required for clean layout + tr th:first-child { + width: auto !important; // required for clean layout + } + tr th:last-child { + width: 16% !important; // required for boxed layout + } + } +} + +.statement-blocked { + background-color: @gray-lighter-darker !important; + td:last-child { + background-color: @gray-lighter-darker !important; + } +} diff --git a/customer_outstanding_statement/views/statement.xml b/customer_outstanding_statement/views/statement.xml index 209c5649..89cca30a 100644 --- a/customer_outstanding_statement/views/statement.xml +++ b/customer_outstanding_statement/views/statement.xml @@ -2,184 +2,162 @@ + +