Skip to content

Commit

Permalink
[MIG] partner_invoicing_mode: Migration to 18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
chaule97 committed Nov 8, 2024
1 parent 9d4c8d7 commit 8684f46
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 16 deletions.
2 changes: 2 additions & 0 deletions partner_invoicing_mode/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ Contributors

- Nils Coenen <[email protected]>

- Chau Le <[email protected]>

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

Expand Down
2 changes: 1 addition & 1 deletion partner_invoicing_mode/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
"name": "Partner Invoicing Mode",
"version": "17.0.1.0.0",
"version": "18.0.1.0.0",
"summary": "Base module for handling multiple partner invoicing mode",
"author": "Camptocamp, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/account-invoicing",
Expand Down
4 changes: 1 addition & 3 deletions partner_invoicing_mode/data/ir_cron.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@
<odoo noupdate="1">
<record id="ir_cron_generate_standard_invoice" model="ir.cron">
<field name="name">Generate Standard Invoices</field>
<field eval="False" name="active" />
<field name="active" eval="False" />
<field name="user_id" ref="base.user_root" />
<field name="interval_number">1</field>
<field name="interval_type">days</field>
<field name="numbercall">-1</field>
<field eval="False" name="doall" />
<field name="model_id" ref="model_sale_order" />
<field name="code">model.cron_generate_standard_invoices()</field>
<field
Expand Down
1 change: 0 additions & 1 deletion partner_invoicing_mode/models/res_company.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,4 @@ class ResCompany(models.Model):
invoicing_mode_standard_last_execution = fields.Datetime(
string="Last execution (standard)",
help="Last execution of standard invoicing.",
readonly=True,
)
2 changes: 2 additions & 0 deletions partner_invoicing_mode/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@
> - Denis Roussel \<<[email protected]>\>
- Nils Coenen \<<[email protected]>\>

- Chau Le \<<[email protected]>\>
2 changes: 2 additions & 0 deletions partner_invoicing_mode/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,8 @@ <h2><a class="toc-backref" href="#toc-entry-5">Contributors</a></h2>
</li>
<li><p class="first">Nils Coenen &lt;<a class="reference external" href="mailto:nils.coenen&#64;nico-solutions.de">nils.coenen&#64;nico-solutions.de</a>&gt;</p>
</li>
<li><p class="first">Chau Le &lt;<a class="reference external" href="mailto:chaulb&#64;trobz.com">chaulb&#64;trobz.com</a>&gt;</p>
</li>
</ul>
</div>
<div class="section" id="other-credits">
Expand Down
3 changes: 2 additions & 1 deletion partner_invoicing_mode/tests/test_invoice_mode.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
from freezegun import freeze_time

from odoo import fields
from odoo.tests.common import Form, TransactionCase
from odoo.tests import Form
from odoo.tests.common import TransactionCase

from odoo.addons.queue_job.tests.common import trap_jobs

Expand Down
21 changes: 11 additions & 10 deletions partner_invoicing_mode/views/res_config_settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,17 @@
string="Invoicing Mode"
help="Standard Invoicing Options"
>
<div class="mt16">
<div class="content-group" id="standard_invoicing_settings">
<div>
<label
for="invoicing_mode_standard_last_execution"
string="Last executed on"
class="col-lg-4 o_light_label"
/>
<field name="invoicing_mode_standard_last_execution" />
</div>
<div class="content-group" id="standard_invoicing_settings">
<div class="mt16">
<label
for="invoicing_mode_standard_last_execution"
string="Last executed on"
class="col-lg-4 o_light_label"
/>
<field
name="invoicing_mode_standard_last_execution"
readonly="1"
/>
</div>
</div>
</setting>
Expand Down

0 comments on commit 8684f46

Please sign in to comment.