Skip to content

Commit

Permalink
[MIG] onchange_helper: Migration to 18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
thienvh332 committed Oct 8, 2024
1 parent 2c3c027 commit 15b87e1
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 4 deletions.
7 changes: 7 additions & 0 deletions onchange_helper/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,13 @@ Contributors
- Andrea Stirpe <[email protected]>
- Souheil Bejaoui <[email protected]>
- Kevin Khao <[email protected]>
- Thien Vo <[email protected]>

Other credits
-------------

The migration of this module from 17.0 to 18.0 was financially supported
by Camptocamp.

Maintainers
-----------
Expand Down
2 changes: 1 addition & 1 deletion onchange_helper/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

{
"name": "Onchange Helper",
"version": "17.0.1.0.1",
"version": "18.0.1.0.0",
"summary": "Technical module that ease execution" " of onchange in Python code",
"author": "Akretion,Camptocamp,Odoo Community Association (OCA)",
"website": "https://github.com/OCA/server-tools",
Expand Down
2 changes: 1 addition & 1 deletion onchange_helper/models/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def play_onchanges(self, values, onchange_fields):
for field in [
field for field in onchange_fields if field in self._onchange_methods
]:
onchange_values = self.onchange(all_values, field, onchange_specs)
onchange_values = self.onchange(all_values, [field], onchange_specs)
new_values.update(self._get_new_values(values, onchange_values))
all_values.update(new_values)

Expand Down
1 change: 1 addition & 0 deletions onchange_helper/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
- Andrea Stirpe \<<[email protected]>\>
- Souheil Bejaoui \<<[email protected]>\>
- Kevin Khao \<<[email protected]>\>
- Thien Vo \<<[email protected]>\>
1 change: 1 addition & 0 deletions onchange_helper/readme/CREDITS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The migration of this module from 17.0 to 18.0 was financially supported by Camptocamp.
11 changes: 9 additions & 2 deletions onchange_helper/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,8 @@ <h1 class="title">Onchange Helper</h1>
<li><a class="reference internal" href="#credits" id="toc-entry-4">Credits</a><ul>
<li><a class="reference internal" href="#authors" id="toc-entry-5">Authors</a></li>
<li><a class="reference internal" href="#contributors" id="toc-entry-6">Contributors</a></li>
<li><a class="reference internal" href="#maintainers" id="toc-entry-7">Maintainers</a></li>
<li><a class="reference internal" href="#other-credits" id="toc-entry-7">Other credits</a></li>
<li><a class="reference internal" href="#maintainers" id="toc-entry-8">Maintainers</a></li>
</ul>
</li>
</ul>
Expand Down Expand Up @@ -465,10 +466,16 @@ <h2><a class="toc-backref" href="#toc-entry-6">Contributors</a></h2>
<li>Andrea Stirpe &lt;<a class="reference external" href="mailto:a.stirpe&#64;onestein.nl">a.stirpe&#64;onestein.nl</a>&gt;</li>
<li>Souheil Bejaoui &lt;<a class="reference external" href="mailto:souheil.bejaoui&#64;acsone.eu">souheil.bejaoui&#64;acsone.eu</a>&gt;</li>
<li>Kevin Khao &lt;<a class="reference external" href="mailto:kevin.khao&#64;akretion.com">kevin.khao&#64;akretion.com</a>&gt;</li>
<li>Thien Vo &lt;<a class="reference external" href="mailto:thienvh&#64;trobz.com">thienvh&#64;trobz.com</a>&gt;</li>
</ul>
</div>
<div class="section" id="other-credits">
<h2><a class="toc-backref" href="#toc-entry-7">Other credits</a></h2>
<p>The migration of this module from 17.0 to 18.0 was financially supported
by Camptocamp.</p>
</div>
<div class="section" id="maintainers">
<h2><a class="toc-backref" href="#toc-entry-7">Maintainers</a></h2>
<h2><a class="toc-backref" href="#toc-entry-8">Maintainers</a></h2>
<p>This module is maintained by the OCA.</p>
<a class="reference external image-reference" href="https://odoo-community.org">
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
Expand Down

0 comments on commit 15b87e1

Please sign in to comment.