Skip to content

Commit 7b5e183

Browse files
committed
[IMP] partner_affiliate: pre-commit auto fixes
1 parent 9ec2a85 commit 7b5e183

File tree

4 files changed

+20
-21
lines changed

4 files changed

+20
-21
lines changed

partner_affiliate/README.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ Partner Affiliates
1717
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
1818
:alt: License: AGPL-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/17.0/partner_affiliate
20+
:target: https://github.com/OCA/partner-contact/tree/18.0/partner_affiliate
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-17-0/partner-contact-17-0-partner_affiliate
23+
:target: https://translation.odoo-community.org/projects/partner-contact-18-0/partner-contact-18-0-partner_affiliate
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=17.0
26+
:target: https://runboat.odoo-community.org/builds?repo=OCA/partner-contact&target_branch=18.0
2727
:alt: Try me on Runboat
2828

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

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

@@ -111,6 +111,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
111111
mission is to support the collaborative development of Odoo features and
112112
promote its widespread use.
113113

114-
This module is part of the `OCA/partner-contact <https://github.com/OCA/partner-contact/tree/17.0/partner_affiliate>`_ project on GitHub.
114+
This module is part of the `OCA/partner-contact <https://github.com/OCA/partner-contact/tree/18.0/partner_affiliate>`_ project on GitHub.
115115

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

partner_affiliate/__manifest__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
66
{
77
"name": "Partner Affiliates",
8-
"version": "17.0.1.1.0",
8+
"version": "18.0.1.0.0",
99
"author": "Camptocamp, "
1010
"Tecnativa, "
1111
"brain-tec AG, "

partner_affiliate/static/description/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ <h1 class="title">Partner Affiliates</h1>
369369
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
370370
!! source digest: sha256:e846ca9176b8c87355ffbebcfca3092a977cc77dc0079b7be0bf74aa5297eeeb
371371
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
372-
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Production/Stable" src="https://img.shields.io/badge/maturity-Production%2FStable-green.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/partner-contact/tree/17.0/partner_affiliate"><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-17-0/partner-contact-17-0-partner_affiliate"><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=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
372+
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Production/Stable" src="https://img.shields.io/badge/maturity-Production%2FStable-green.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/partner-contact/tree/18.0/partner_affiliate"><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-18-0/partner-contact-18-0-partner_affiliate"><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=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
373373
<p>This module adds a new tab “Affiliates” in the partner form view and
374374
modifies the purpose of the tab “Contacts &amp; Addresses”. This new tab
375375
“Affiliates” is visible only if the partner is a company.</p>
@@ -409,7 +409,7 @@ <h1><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h1>
409409
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/partner-contact/issues">GitHub Issues</a>.
410410
In case of trouble, please check there if your issue has already been reported.
411411
If you spotted it first, help us to smash it by providing a detailed and welcomed
412-
<a class="reference external" href="https://github.com/OCA/partner-contact/issues/new?body=module:%20partner_affiliate%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
412+
<a class="reference external" href="https://github.com/OCA/partner-contact/issues/new?body=module:%20partner_affiliate%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
413413
<p>Do not contact contributors directly about support or help with technical issues.</p>
414414
</div>
415415
<div class="section" id="credits">
@@ -459,7 +459,7 @@ <h2><a class="toc-backref" href="#toc-entry-8">Maintainers</a></h2>
459459
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
460460
mission is to support the collaborative development of Odoo features and
461461
promote its widespread use.</p>
462-
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/partner-contact/tree/17.0/partner_affiliate">OCA/partner-contact</a> project on GitHub.</p>
462+
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/partner-contact/tree/18.0/partner_affiliate">OCA/partner-contact</a> project on GitHub.</p>
463463
<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>
464464
</div>
465465
</div>

partner_affiliate/views/res_partner_view.xml

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
<field name="comment" />
4343
<field name="display_name" />
4444
<templates>
45-
<t t-name="kanban-box">
45+
<t t-name="card">
4646
<t
4747
t-set="color"
4848
t-value="kanban_color(record.color.raw_value)"
@@ -96,13 +96,12 @@
9696
style="position:absolute;top:-4px;right:5px;transform:rotateY(0deg) rotate(-45deg);"
9797
/>
9898
</button>
99-
<div t-if="record.function.raw_value"><field
100-
name="function"
101-
/></div>
102-
<div t-if="record.email.raw_value"><field
103-
name="email"
104-
widget="email"
105-
/></div>
99+
<div t-if="record.function.raw_value">
100+
<field name="function" />
101+
</div>
102+
<div t-if="record.email.raw_value">
103+
<field name="email" widget="email" />
104+
</div>
106105
<div
107106
t-if="record.type.raw_value != 'contact'"
108107
>
@@ -117,13 +116,13 @@
117116
<field name="country_id" />
118117
</div>
119118
<div t-if="record.phone.raw_value">Phone: <t
120-
t-esc="record.phone.value"
121-
/></div>
119+
t-esc="record.phone.value"
120+
/></div>
122121
<div
123122
t-if="record.mobile.raw_value"
124123
>Mobile: <t
125-
t-esc="record.mobile.value"
126-
/></div>
124+
t-esc="record.mobile.value"
125+
/></div>
127126
</div>
128127
</div>
129128
</t>

0 commit comments

Comments
 (0)