Skip to content

Commit

Permalink
[MIG] partner_lastname_uppercase: Migration to 17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
HeliconiaSolutions committed Feb 27, 2025
1 parent 57223ea commit ed1b73d
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 13 deletions.
4 changes: 4 additions & 0 deletions partner_lastname_uppercase/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,10 @@ Contributors

- Robin Keunen

- `Heliconia Solutions Pvt. Ltd. <https://www.heliconia.io>`__

- Bhavesh Heliconia

Maintainers
-----------

Expand Down
2 changes: 1 addition & 1 deletion partner_lastname_uppercase/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{
"name": "Partner last name uppercase",
"summary": "Uppercases the the last names of partners",
"version": "16.0.1.0.1",
"version": "17.0.1.0.0",
"author": "Coop IT Easy SC, Odoo Community Association (OCA)",
"license": "AGPL-3",
"maintainer": "Coop IT Easy SC",
Expand Down
2 changes: 2 additions & 0 deletions partner_lastname_uppercase/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
- [Coop IT Easy SC](https://coopiteasy.be):
- Robin Keunen
- [Heliconia Solutions Pvt. Ltd.](https://www.heliconia.io)
- Bhavesh Heliconia
4 changes: 4 additions & 0 deletions partner_lastname_uppercase/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,10 @@ <h2><a class="toc-backref" href="#toc-entry-6">Contributors</a></h2>
<li>Robin Keunen</li>
</ul>
</li>
<li><a class="reference external" href="https://www.heliconia.io">Heliconia Solutions Pvt. Ltd.</a><ul>
<li>Bhavesh Heliconia</li>
</ul>
</li>
</ul>
</div>
<div class="section" id="maintainers">
Expand Down
4 changes: 2 additions & 2 deletions partner_lastname_uppercase/tests/test_res_partner.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Copyright 2023 Coop IT Easy SC
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

from odoo.tests.common import TransactionCase
from odoo.addons.base.tests.common import BaseCommon


class LastnameUppercaseCase(TransactionCase):
class LastnameUppercaseCase(BaseCommon):
@classmethod
def setUpClass(cls):
super().setUpClass()
Expand Down
16 changes: 6 additions & 10 deletions partner_lastname_uppercase/views/res_config_settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,14 @@
<field name="inherit_id" ref="base_setup.res_config_settings_view_form" />
<field name="arch" type="xml">
<xpath expr="//div[@id='companies']" position='after'>
<h2>Uppercase Lastnames</h2>
<div
class="row mt16 o_settings_container"
<block
title="Uppercase Lastnames"
name="convert_lastnames_to_uppercase"
>
<div class="col-xs-12 col-md-6 o_setting_box">
<div class="o_setting_right_pane">
<field name="convert_lastnames_to_uppercase" />
<span class="o_form_label">Uppercase Lastnames</span>
</div>
</div>
</div>
<setting string="Uppercase Lastnames">
<field name="convert_lastnames_to_uppercase" />
</setting>
</block>
</xpath>
</field>
</record>
Expand Down

0 comments on commit ed1b73d

Please sign in to comment.