From 50249ccdbc7f2ac7001ab5f3e462c22a3b01fe50 Mon Sep 17 00:00:00 2001 From: Roberto Fichera Date: Tue, 25 Jun 2024 21:24:40 +0200 Subject: [PATCH] [14.0][IMP][l10n_eu_oss] Add form/tree/search view to account.tax model to show oss_country_id field --- l10n_eu_oss/README.rst | 2 +- l10n_eu_oss/__manifest__.py | 1 + l10n_eu_oss/static/description/index.html | 13 ++++--- l10n_eu_oss/views/account_tax_view.xml | 42 +++++++++++++++++++++++ 4 files changed, 52 insertions(+), 6 deletions(-) create mode 100644 l10n_eu_oss/views/account_tax_view.xml diff --git a/l10n_eu_oss/README.rst b/l10n_eu_oss/README.rst index 25c7a1ab0..f36e4b395 100644 --- a/l10n_eu_oss/README.rst +++ b/l10n_eu_oss/README.rst @@ -7,7 +7,7 @@ L10n EU OSS !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:165a538057e0fb7b6741bf436cb7b463ecaeb86921840868245879e9ac507482 + !! source digest: sha256:543965eb78ef954195c90846b9de540bfaf369831f96abb16493afe639753166 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png diff --git a/l10n_eu_oss/__manifest__.py b/l10n_eu_oss/__manifest__.py index 7882664d3..e1618c926 100644 --- a/l10n_eu_oss/__manifest__.py +++ b/l10n_eu_oss/__manifest__.py @@ -17,5 +17,6 @@ "data/oss.tax.rate.csv", "wizard/l10n_eu_oss_wizard.xml", "views/res_config_settings.xml", + "views/account_tax_view.xml", ], } diff --git a/l10n_eu_oss/static/description/index.html b/l10n_eu_oss/static/description/index.html index 109d7cf12..f45952fd9 100644 --- a/l10n_eu_oss/static/description/index.html +++ b/l10n_eu_oss/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 @@

L10n EU OSS

!! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -!! source digest: sha256:165a538057e0fb7b6741bf436cb7b463ecaeb86921840868245879e9ac507482 +!! source digest: sha256:543965eb78ef954195c90846b9de540bfaf369831f96abb16493afe639753166 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

Production/Stable License: AGPL-3 OCA/account-fiscal-rule Translate me on Weblate Try me on Runboat

This module has been created to help with the tax mapping according to the EU One-Stop-Shop law, that concerns many companies that carry out distance sales.

@@ -470,7 +471,9 @@

Contributors

Maintainers

This module is maintained by the OCA.

-Odoo Community Association + +Odoo Community Association +

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/l10n_eu_oss/views/account_tax_view.xml b/l10n_eu_oss/views/account_tax_view.xml new file mode 100644 index 000000000..41753db14 --- /dev/null +++ b/l10n_eu_oss/views/account_tax_view.xml @@ -0,0 +1,42 @@ + + + + + account.tax.view.form.inherit.l10n.eu.oss + account.tax + + + + + + + + + + account.tax.view.tree.inherit.l10n.eu.oss + account.tax + + + + + + + + + + account.tax.search.tree.inherit.l10n.eu.oss + account.tax + + + + + + + + +