Browse Source

[MIG]partner_contact_address_default: Migration to 13.0

14.0
manu 4 years ago
committed by Zar21
parent
commit
98845f8505
  1. 4
      partner_contact_address_default/README.rst
  2. 6
      partner_contact_address_default/__manifest__.py
  3. 4
      partner_contact_address_default/readme/CONTRIBUTORS.rst
  4. 4
      partner_contact_address_default/tests/test_partner_contact_address_default.py

4
partner_contact_address_default/README.rst

@ -65,6 +65,10 @@ Contributors
* Carlos Dauden
* Sergio Teruel
* `Sygel <https://www.sygel.es>`_:
* Manuel Regidor
Maintainers
~~~~~~~~~~~

6
partner_contact_address_default/__manifest__.py

@ -4,7 +4,7 @@
{
"name": "Partner Contact address default",
"summary": "Set a default delivery and invoice address for contacts",
"version": "12.0.1.0.0",
"version": "13.0.1.0.0",
"development_status": "Beta",
"category": "Generic Modules/Base",
"website": "https://github.com/OCA/partner-contact",
@ -12,6 +12,6 @@
"license": "AGPL-3",
"application": False,
"installable": True,
"depends": ["base",],
"data": ["views/res_partner_views.xml",],
"depends": ["base"],
"data": ["views/res_partner_views.xml"],
}

4
partner_contact_address_default/readme/CONTRIBUTORS.rst

@ -2,3 +2,7 @@
* Carlos Dauden
* Sergio Teruel
* `Sygel <https://www.sygel.es>`_:
* Manuel Regidor

4
partner_contact_address_default/tests/test_partner_contact_address_default.py

@ -8,7 +8,7 @@ class TestPartnerContactAddressDefault(common.TransactionCase):
def setUp(self):
super().setUp()
self.Partner = self.env["res.partner"]
self.partner = self.Partner.create({"name": "Parent partner",})
self.partner = self.Partner.create({"name": "Parent partner"})
self.partner_child_delivery1 = self.Partner.create(
{
"name": "Child delivery 1",
@ -24,7 +24,7 @@ class TestPartnerContactAddressDefault(common.TransactionCase):
}
)
self.partner_child_invoice = self.Partner.create(
{"name": "Child invoice", "type": "invoice", "parent_id": self.partner.id,}
{"name": "Child invoice", "type": "invoice", "parent_id": self.partner.id}
)
def test_contact_address_default(self):

Loading…
Cancel
Save