diff --git a/pms/__manifest__.py b/pms/__manifest__.py
index 0ed57189b..8ecb0a5e1 100644
--- a/pms/__manifest__.py
+++ b/pms/__manifest__.py
@@ -29,6 +29,7 @@
# "partner_identification_unique_by_category",
"queue_job",
"web_timeline",
+ "partner_identification",
],
"data": [
"security/pms_security.xml",
diff --git a/pms/static/description/index.html b/pms/static/description/index.html
index 176315462..222ba4e89 100644
--- a/pms/static/description/index.html
+++ b/pms/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 @@ pre.literal-block, pre.doctest-block, pre.math, pre.code {
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.option {
span.pre {
white-space: pre }
-span.problematic {
+span.problematic, pre.problematic {
color: red }
span.section-subtitle {
@@ -438,7 +439,9 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
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/pms_l10n_es/__manifest__.py b/pms_l10n_es/__manifest__.py
index a7b8c4232..5f512d913 100644
--- a/pms_l10n_es/__manifest__.py
+++ b/pms_l10n_es/__manifest__.py
@@ -20,7 +20,6 @@
"queue_job",
"base_vat",
"l10n_es_aeat",
- "l10n_es_aeat_partner_identification",
],
"external_dependencies": {
"python": [
diff --git a/pms_l10n_es/data/pms_data.xml b/pms_l10n_es/data/pms_data.xml
index 541759efd..7d31144f9 100644
--- a/pms_l10n_es/data/pms_data.xml
+++ b/pms_l10n_es/data/pms_data.xml
@@ -62,37 +62,6 @@ else:
-
-
-
-
-
- 02
-
-
- 05
-
-
- 05
-
-
- 03
-
-
- 06
-
-
- 06
-
10
diff --git a/pms_l10n_es/models/pms_checkin_partner.py b/pms_l10n_es/models/pms_checkin_partner.py
index 3fd7bf3a8..0119f7faa 100644
--- a/pms_l10n_es/models/pms_checkin_partner.py
+++ b/pms_l10n_es/models/pms_checkin_partner.py
@@ -1,5 +1,4 @@
import logging
-import re
from odoo import api, fields, models
@@ -64,40 +63,3 @@ class PmsCheckinPartner(models.Model):
manual_fields = super(PmsCheckinPartner, self)._checkin_manual_fields(depends)
manual_fields.extend(["support_number"])
return manual_fields
-
- def _get_partner_by_document(self, document_number, document_type):
- # if not find partner by documents (super method) then search by
- # partner fields, VAT, or aeat_identification equivalent
- partner = super(PmsCheckinPartner, self)._get_partner_by_document(
- document_number, document_type
- )
- document_number = re.sub(r"[^a-zA-Z0-9]", "", document_number).upper()
- if not partner and document_number and document_type:
- search_field_name = False
- if document_type.aeat_identification_type in ["03", "05", "06"]:
- search_field_name = "aeat_identification"
- search_comparison = "="
- elif document_type.aeat_identification_type in ["02", "04"]:
- # If we have a NIF, we search by VAT (with or without country code)
- search_field_name = "vat"
- search_comparison = "=like"
- document_number = "%" + document_number
- if search_field_name:
- partner = self.env["res.partner"].search(
- [
- ("is_company", "=", False),
- ("is_agency", "=", False),
- (search_field_name, search_comparison, document_number),
- ],
- limit=1,
- )
- if (
- partner
- and partner.vat
- and len(partner.vat) - len(document_number) > 2
- ):
- # The country code length is 2, so if the difference is greater than 2
- # the partner is not the same
- # TODO: this method need pass country code to search
- partner = False
- return partner
diff --git a/pms_l10n_es/static/description/index.html b/pms_l10n_es/static/description/index.html
index 31b475af8..f8403484f 100644
--- a/pms_l10n_es/static/description/index.html
+++ b/pms_l10n_es/static/description/index.html
@@ -1,4 +1,3 @@
-
@@ -9,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.
@@ -275,7 +275,7 @@ pre.literal-block, pre.doctest-block, pre.math, pre.code {
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 }
@@ -301,7 +301,7 @@ span.option {
span.pre {
white-space: pre }
-span.problematic {
+span.problematic, pre.problematic {
color: red }
span.section-subtitle {
@@ -415,7 +415,9 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
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/pms_l10n_es_sii/__manifest__.py b/pms_l10n_es_sii/__manifest__.py
index b3c7e7f72..4d8506a3c 100644
--- a/pms_l10n_es_sii/__manifest__.py
+++ b/pms_l10n_es_sii/__manifest__.py
@@ -10,7 +10,6 @@
"license": "AGPL-3",
"depends": [
"l10n_es_aeat_sii_oca",
- "l10n_es_aeat_partner_identification",
"pms",
],
"data": ["data/pms_data.xml"],
diff --git a/pms_l10n_es_sii/static/description/index.html b/pms_l10n_es_sii/static/description/index.html
index 6fcbd405f..04b13aee1 100644
--- a/pms_l10n_es_sii/static/description/index.html
+++ b/pms_l10n_es_sii/static/description/index.html
@@ -1,4 +1,3 @@
-
@@ -9,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.
@@ -275,7 +275,7 @@ pre.literal-block, pre.doctest-block, pre.math, pre.code {
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 }
@@ -301,7 +301,7 @@ span.option {
span.pre {
white-space: pre }
-span.problematic {
+span.problematic, pre.problematic {
color: red }
span.section-subtitle {
@@ -416,7 +416,9 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
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/setup/_metapackage/VERSION.txt b/setup/_metapackage/VERSION.txt
deleted file mode 100644
index 10c18cf72..000000000
--- a/setup/_metapackage/VERSION.txt
+++ /dev/null
@@ -1 +0,0 @@
-14.0.20240510.0
\ No newline at end of file
diff --git a/setup/_metapackage/setup.py b/setup/_metapackage/setup.py
deleted file mode 100644
index e687138a7..000000000
--- a/setup/_metapackage/setup.py
+++ /dev/null
@@ -1,28 +0,0 @@
-import setuptools
-
-with open('VERSION.txt', 'r') as f:
- version = f.read().strip()
-
-setuptools.setup(
- name="odoo14-addons-oca-pms",
- description="Meta package for oca-pms Odoo addons",
- version=version,
- install_requires=[
- 'odoo14-addon-account_asset_pms',
- 'odoo14-addon-mis_builder_pms',
- 'odoo14-addon-multi_pms_properties',
- 'odoo14-addon-pms',
- 'odoo14-addon-pms_account_move_budget',
- 'odoo14-addon-pms_housekeeping',
- 'odoo14-addon-pms_hr_property',
- 'odoo14-addon-pms_l10n_es',
- 'odoo14-addon-pms_l10n_es_sii',
- 'odoo14-addon-pms_rooming_xls',
- 'odoo14-addon-pos_pms_link',
- ],
- classifiers=[
- 'Programming Language :: Python',
- 'Framework :: Odoo',
- 'Framework :: Odoo :: 14.0',
- ]
-)