From 4310145b7d4499b56a4c9cd9683f0295280ccefd Mon Sep 17 00:00:00 2001 From: eLBati Date: Wed, 31 Oct 2018 09:08:01 +0100 Subject: [PATCH] porting l10n_it_account to 12 --- l10n_it_account/__init__.py | 5 - l10n_it_account/__manifest__.py | 7 +- l10n_it_account/models/__init__.py | 1 - l10n_it_account/models/account_tax.py | 1 - .../reports/account_reports_view.xml | 96 ++++++++++--------- .../static/src/css/l10n_it_account.css | 32 +++++++ l10n_it_account/views/account_view.xml | 10 -- 7 files changed, 87 insertions(+), 65 deletions(-) create mode 100644 l10n_it_account/static/src/css/l10n_it_account.css delete mode 100644 l10n_it_account/views/account_view.xml diff --git a/l10n_it_account/__init__.py b/l10n_it_account/__init__.py index 8349f2b52438..69f7babdfb1a 100644 --- a/l10n_it_account/__init__.py +++ b/l10n_it_account/__init__.py @@ -1,8 +1,3 @@ -# Copyright 2010 OpenERP Italian Community -# (). -# Copyright 2014 Associazione Odoo Italia -# (). -# Copyright 2015-2017 Agile Business Group () # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from . import models diff --git a/l10n_it_account/__manifest__.py b/l10n_it_account/__manifest__.py index 1836b27a4b3c..2fb83917ebd5 100644 --- a/l10n_it_account/__manifest__.py +++ b/l10n_it_account/__manifest__.py @@ -2,23 +2,24 @@ # Copyright 2015-2017 Agile Business Group () # Copyright 2015 Link It Spa () # Copyright 2018 Sergio Zanchetta (Associazione PNLUG - Gruppo Odoo) +# Copyright 2018 Lorenzo Battistini # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). { 'name': 'Italian Localization - Account', - 'version': '11.0.1.2.0', + 'version': '12.0.1.0.0', 'category': 'Hidden', 'author': "Agile Business Group, Abstract, " "Odoo Community Association (OCA)", - 'website': 'https://github.com/OCA/l10n-italy/tree/11.0/l10n_it_account', + 'website': 'https://github.com/OCA/l10n-italy/tree/12.0/l10n_it_account', 'license': 'AGPL-3', "depends": [ 'account_fiscal_year', + 'account_tax_balance', 'web', ], "data": [ 'views/account_setting.xml', - 'views/account_view.xml', 'views/account_menuitem.xml', 'views/partner_view.xml', 'views/product_view.xml', diff --git a/l10n_it_account/models/__init__.py b/l10n_it_account/models/__init__.py index d30805ebe4f7..bf09a2c3496a 100644 --- a/l10n_it_account/models/__init__.py +++ b/l10n_it_account/models/__init__.py @@ -1,4 +1,3 @@ -# Copyright 2017 Agile Business Group () # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from . import account_tax diff --git a/l10n_it_account/models/account_tax.py b/l10n_it_account/models/account_tax.py index 77d92131d9c8..33ee5a40b38b 100644 --- a/l10n_it_account/models/account_tax.py +++ b/l10n_it_account/models/account_tax.py @@ -1,4 +1,3 @@ -# Copyright 2017 Agile Business Group () # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from odoo import models, fields diff --git a/l10n_it_account/reports/account_reports_view.xml b/l10n_it_account/reports/account_reports_view.xml index a85a6b368e6f..edcf59ca7dd1 100644 --- a/l10n_it_account/reports/account_reports_view.xml +++ b/l10n_it_account/reports/account_reports_view.xml @@ -45,63 +45,57 @@
-
+


- -
- Vat:
+ TIN:
-
+

diff --git a/l10n_it_account/static/src/css/l10n_it_account.css b/l10n_it_account/static/src/css/l10n_it_account.css new file mode 100644 index 000000000000..3218b3150bc8 --- /dev/null +++ b/l10n_it_account/static/src/css/l10n_it_account.css @@ -0,0 +1,32 @@ +table {border: 0px;} +thead {background: #F5F5F5;} + + +.left_with_line { + text-align:left; vertical-align:text-top; border-top:1px solid #A1A1A1; padding:5px; +} +.right_with_line { + text-align:right; vertical-align:text-top; border-top:1px solid #A1A1A1; padding:5px; +} +.left_without_line { + text-align:left; vertical-align:text-top; padding:5px; +} +.right_without_line { + text-align:right; vertical-align:text-top; padding:5px; +} +.left_with_line_bottom { + text-align:left; vertical-align:text-top; border-bottom:1px solid #A1A1A1; padding:5px; +} +.right_with_line_bottom { + text-align:right; vertical-align:text-top; border-bottom:1px solid #A1A1A1; padding:5px; +} +.left_without_line_bold { + text-align:left; vertical-align:text-top; padding:5px; font-weight: bold; +} +.right_without_line_bold { + text-align:right; vertical-align:text-top; padding:5px; font-weight: bold; white-space: nowrap; +} + +.first_th_row { + border-style:solid;border-width:1px;border-color:#A1A1A1; background: #fff; +} \ No newline at end of file diff --git a/l10n_it_account/views/account_view.xml b/l10n_it_account/views/account_view.xml deleted file mode 100644 index 24bc1d191577..000000000000 --- a/l10n_it_account/views/account_view.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - -