Skip to content

Commit

Permalink
[MIG] l10n_es_partner_mercantil: Migration to 17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
peluko00 committed Nov 20, 2023
1 parent 45fec0f commit 628093a
Show file tree
Hide file tree
Showing 10 changed files with 66 additions and 44 deletions.
51 changes: 30 additions & 21 deletions l10n_es_partner_mercantil/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,25 +17,25 @@ Partner Mercantil
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--spain-lightgray.png?logo=github
:target: https://github.com/OCA/l10n-spain/tree/16.0/l10n_es_partner_mercantil
:target: https://github.com/OCA/l10n-spain/tree/17.0/l10n_es_partner_mercantil
:alt: OCA/l10n-spain
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/l10n-spain-16-0/l10n-spain-16-0-l10n_es_partner_mercantil
:target: https://translation.odoo-community.org/projects/l10n-spain-17-0/l10n-spain-17-0-l10n_es_partner_mercantil
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/l10n-spain&target_branch=16.0
:target: https://runboat.odoo-community.org/builds?repo=OCA/l10n-spain&target_branch=17.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

Añade los siguientes campos en la ficha de empresa (res.partner):

* Libro
* Registro Mercantil
* Hoja
* Folio
* Seccion
* Tomo
- Libro
- Registro Mercantil
- Hoja
- Folio
- Seccion
- Tomo

**Table of contents**

Expand All @@ -45,40 +45,49 @@ Añade los siguientes campos en la ficha de empresa (res.partner):
Usage
=====

Tras instalar el módulo, en los contactos que sean del tipo compañía aparecerán unos campos para insertar los datos mercantiles.
Tras instalar el módulo, en los contactos que sean del tipo compañía
aparecerán unos campos para insertar los datos mercantiles.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-spain/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/l10n-spain/issues/new?body=module:%20l10n_es_partner_mercantil%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
`feedback <https://github.com/OCA/l10n-spain/issues/new?body=module:%20l10n_es_partner_mercantil%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~
-------

* Spanish Localization Team
* Tecnativa

Contributors
~~~~~~~~~~~~
------------

* Pedro M. Baeza <[email protected]>
* Antonio Espinosa <[email protected]>
* Aitor Bouzas <[email protected]>
* Harald Panten <[email protected]>
* `Trey <https://www.trey.es>`_:
- Pedro M. Baeza <[email protected]>

* Vicent Cubells
- Antonio Espinosa <[email protected]>

- Aitor Bouzas <[email protected]>

- Harald Panten <[email protected]>

- `Trey <https://www.trey.es>`__:

- Vicent Cubells

- `APSL <https://apsl.tech>`__:

- Antoni Marroig [email protected]

Maintainers
~~~~~~~~~~~
-----------

This module is maintained by the OCA.

Expand All @@ -90,6 +99,6 @@ 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.

This module is part of the `OCA/l10n-spain <https://github.com/OCA/l10n-spain/tree/16.0/l10n_es_partner_mercantil>`_ project on GitHub.
This module is part of the `OCA/l10n-spain <https://github.com/OCA/l10n-spain/tree/17.0/l10n_es_partner_mercantil>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
2 changes: 1 addition & 1 deletion l10n_es_partner_mercantil/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{
"name": "Partner Mercantil",
"summary": "Añade los datos del registro mercantil a la empresa",
"version": "16.0.1.0.0",
"version": "17.0.1.0.0",
"development_status": "Mature",
"author": "Spanish Localization Team, "
"Tecnativa, "
Expand Down
3 changes: 3 additions & 0 deletions l10n_es_partner_mercantil/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
13 changes: 13 additions & 0 deletions l10n_es_partner_mercantil/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
- Pedro M. Baeza \<<[email protected]>\>

- Antonio Espinosa \<<[email protected]>\>

- Aitor Bouzas \<<[email protected]>\>

- Harald Panten \<<[email protected]>\>

- [Trey](https://www.trey.es):

> - Vicent Cubells
- [APSL](https://apsl.tech):
- Antoni Marroig <[email protected]>
7 changes: 0 additions & 7 deletions l10n_es_partner_mercantil/readme/CONTRIBUTORS.rst

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Añade los siguientes campos en la ficha de empresa (res.partner):

* Libro
* Registro Mercantil
* Hoja
* Folio
* Seccion
* Tomo
- Libro
- Registro Mercantil
- Hoja
- Folio
- Seccion
- Tomo
2 changes: 2 additions & 0 deletions l10n_es_partner_mercantil/readme/USAGE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Tras instalar el módulo, en los contactos que sean del tipo compañía
aparecerán unos campos para insertar los datos mercantiles.
1 change: 0 additions & 1 deletion l10n_es_partner_mercantil/readme/USAGE.rst

This file was deleted.

14 changes: 10 additions & 4 deletions l10n_es_partner_mercantil/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ <h1 class="title">Partner Mercantil</h1>
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:8a19a83cf98a467e4fbbbf84105da4c964adc3a1dc9c5d9cb6b8b4f73400abb3
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Mature" src="https://img.shields.io/badge/maturity-Mature-brightgreen.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/l10n-spain/tree/16.0/l10n_es_partner_mercantil"><img alt="OCA/l10n-spain" src="https://img.shields.io/badge/github-OCA%2Fl10n--spain-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/l10n-spain-16-0/l10n-spain-16-0-l10n_es_partner_mercantil"><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/l10n-spain&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Mature" src="https://img.shields.io/badge/maturity-Mature-brightgreen.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/l10n-spain/tree/17.0/l10n_es_partner_mercantil"><img alt="OCA/l10n-spain" src="https://img.shields.io/badge/github-OCA%2Fl10n--spain-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/l10n-spain-17-0/l10n-spain-17-0-l10n_es_partner_mercantil"><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/l10n-spain&amp;target_branch=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>Añade los siguientes campos en la ficha de empresa (res.partner):</p>
<ul class="simple">
<li>Libro</li>
Expand All @@ -394,14 +394,15 @@ <h1 class="title">Partner Mercantil</h1>
</div>
<div class="section" id="usage">
<h1><a class="toc-backref" href="#toc-entry-1">Usage</a></h1>
<p>Tras instalar el módulo, en los contactos que sean del tipo compañía aparecerán unos campos para insertar los datos mercantiles.</p>
<p>Tras instalar el módulo, en los contactos que sean del tipo compañía
aparecerán unos campos para insertar los datos mercantiles.</p>
</div>
<div class="section" id="bug-tracker">
<h1><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h1>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/l10n-spain/issues">GitHub Issues</a>.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
<a class="reference external" href="https://github.com/OCA/l10n-spain/issues/new?body=module:%20l10n_es_partner_mercantil%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<a class="reference external" href="https://github.com/OCA/l10n-spain/issues/new?body=module:%20l10n_es_partner_mercantil%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p>
</div>
<div class="section" id="credits">
Expand Down Expand Up @@ -431,6 +432,11 @@ <h2><a class="toc-backref" href="#toc-entry-5">Contributors</a></h2>
</ul>
</blockquote>
</li>
<li><p class="first"><a class="reference external" href="https://apsl.tech">APSL</a>:</p>
<ul class="simple">
<li>Antoni Marroig <a class="reference external" href="mailto:toni.marroig1&#64;gmail.com">toni.marroig1&#64;gmail.com</a></li>
</ul>
</li>
</ul>
</div>
<div class="section" id="maintainers">
Expand All @@ -440,7 +446,7 @@ <h2><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h2>
<p>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.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/l10n-spain/tree/16.0/l10n_es_partner_mercantil">OCA/l10n-spain</a> project on GitHub.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/l10n-spain/tree/17.0/l10n_es_partner_mercantil">OCA/l10n-spain</a> project on GitHub.</p>
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
</div>
</div>
Expand Down
5 changes: 1 addition & 4 deletions l10n_es_partner_mercantil/views/res_partner_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@
<field name="inherit_id" ref="base.view_partner_form" />
<field name="arch" type="xml">
<page name="internal_notes" position="after">
<page
string="Commercial Info"
attrs="{'invisible': [('is_company','=',False)]}"
>
<page string="Commercial Info" invisible="not is_company">
<group>
<group>
<field name="es_libro" />
Expand Down

0 comments on commit 628093a

Please sign in to comment.