Skip to content

Commit a382afa

Browse files
committed
[MIG] company_default_partner_pricelist: Migration to 16.0
1 parent cb3dcf7 commit a382afa

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

company_default_partner_pricelist/README.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ Company Default Partner Pricelist
1717
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
1818
:alt: License: LGPL-3
1919
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fpartner--contact-lightgray.png?logo=github
20-
:target: https://github.com/OCA/partner-contact/tree/13.0/company_default_partner_pricelist
20+
:target: https://github.com/OCA/partner-contact/tree/16.0/company_default_partner_pricelist
2121
:alt: OCA/partner-contact
2222
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23-
:target: https://translation.odoo-community.org/projects/partner-contact-13-0/partner-contact-13-0-company_default_partner_pricelist
23+
:target: https://translation.odoo-community.org/projects/partner-contact-16-0/partner-contact-16-0-company_default_partner_pricelist
2424
:alt: Translate me on Weblate
2525
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
26-
:target: https://runboat.odoo-community.org/builds?repo=OCA/partner-contact&target_branch=13.0
26+
:target: https://runboat.odoo-community.org/builds?repo=OCA/partner-contact&target_branch=16.0
2727
:alt: Try me on Runboat
2828

2929
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -53,7 +53,7 @@ Bug Tracker
5353
Bugs are tracked on `GitHub Issues <https://github.com/OCA/partner-contact/issues>`_.
5454
In case of trouble, please check there if your issue has already been reported.
5555
If you spotted it first, help us to smash it by providing a detailed and welcomed
56-
`feedback <https://github.com/OCA/partner-contact/issues/new?body=module:%20company_default_partner_pricelist%0Aversion:%2013.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
56+
`feedback <https://github.com/OCA/partner-contact/issues/new?body=module:%20company_default_partner_pricelist%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
5757

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

@@ -85,6 +85,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
8585
mission is to support the collaborative development of Odoo features and
8686
promote its widespread use.
8787

88-
This module is part of the `OCA/partner-contact <https://github.com/OCA/partner-contact/tree/13.0/company_default_partner_pricelist>`_ project on GitHub.
88+
This module is part of the `OCA/partner-contact <https://github.com/OCA/partner-contact/tree/16.0/company_default_partner_pricelist>`_ project on GitHub.
8989

9090
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

company_default_partner_pricelist/__manifest__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"summary": """
77
Define default partner pricelist per company.
88
""",
9-
"version": "13.0.1.0.1",
9+
"version": "16.0.1.0.0",
1010
"author": "ForgeFlow, Odoo Community Association (OCA)",
1111
"website": "https://github.com/OCA/partner-contact",
1212
"category": "Partner Management",

company_default_partner_pricelist/i18n/company_default_partner_pricelist.pot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
msgid ""
66
msgstr ""
7-
"Project-Id-Version: Odoo Server 13.0\n"
7+
"Project-Id-Version: Odoo Server 16.0\n"
88
"Report-Msgid-Bugs-To: \n"
99
"Last-Translator: \n"
1010
"Language-Team: \n"

company_default_partner_pricelist/static/description/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ <h1 class="title">Company Default Partner Pricelist</h1>
368368
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
369369
!! source digest: sha256:0f3bf1f33bb78d925a93f4930fc19d1354f4c7d93aa48a1450d46f1f4e181bd1
370370
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
371-
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/licence-LGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/partner-contact/tree/13.0/company_default_partner_pricelist"><img alt="OCA/partner-contact" src="https://img.shields.io/badge/github-OCA%2Fpartner--contact-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/partner-contact-13-0/partner-contact-13-0-company_default_partner_pricelist"><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/partner-contact&amp;target_branch=13.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
371+
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/licence-LGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/partner-contact/tree/16.0/company_default_partner_pricelist"><img alt="OCA/partner-contact" src="https://img.shields.io/badge/github-OCA%2Fpartner--contact-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/partner-contact-16-0/partner-contact-16-0-company_default_partner_pricelist"><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/partner-contact&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
372372
<p>If the pricelist of a partner is not explicitly set, Odoo will try by default
373373
to find a valid pricelist based on the country of the partner.</p>
374374
<p>This module allows assigning a default pricelist for each company in the system
@@ -397,7 +397,7 @@ <h1><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h1>
397397
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/partner-contact/issues">GitHub Issues</a>.
398398
In case of trouble, please check there if your issue has already been reported.
399399
If you spotted it first, help us to smash it by providing a detailed and welcomed
400-
<a class="reference external" href="https://github.com/OCA/partner-contact/issues/new?body=module:%20company_default_partner_pricelist%0Aversion:%2013.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
400+
<a class="reference external" href="https://github.com/OCA/partner-contact/issues/new?body=module:%20company_default_partner_pricelist%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
401401
<p>Do not contact contributors directly about support or help with technical issues.</p>
402402
</div>
403403
<div class="section" id="credits">
@@ -424,7 +424,7 @@ <h2><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h2>
424424
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
425425
mission is to support the collaborative development of Odoo features and
426426
promote its widespread use.</p>
427-
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/partner-contact/tree/13.0/company_default_partner_pricelist">OCA/partner-contact</a> project on GitHub.</p>
427+
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/partner-contact/tree/16.0/company_default_partner_pricelist">OCA/partner-contact</a> project on GitHub.</p>
428428
<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>
429429
</div>
430430
</div>

company_default_partner_pricelist/tests/test_company_default_partner_pricelist.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ def test_company_default_partner_pricelist(self):
2626
# When the default is changed for the active company, the pricelist of
2727
# the partner is the one assigned to the current company
2828
self.env.company.default_property_product_pricelist = self.pricelist_2
29-
self.partner.invalidate_cache()
29+
self.partner.invalidate_recordsetg()
3030
self.assertEqual(self.partner.property_product_pricelist, self.pricelist_2)
3131

3232
self.env.company.default_property_product_pricelist = self.pricelist_3
33-
self.partner.invalidate_cache()
33+
self.partner.invalidate_recordset()
3434
self.assertEqual(self.partner.property_product_pricelist, self.pricelist_3)
3535

3636
self.env.company.default_property_product_pricelist = False
37-
self.partner.invalidate_cache()
37+
self.partner.invalidate_recordset()
3838
self.assertEqual(self.partner.property_product_pricelist, self.base_pricelist)
3939

4040
# Finally, when modified explicitly, the pricelist is the one

0 commit comments

Comments
 (0)