Skip to content

Commit

Permalink
[MIG] repair_reinvoice: Miration to 16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
PauBForgeFlow committed Aug 16, 2023
1 parent 89077cc commit 67f19d9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
Empty file added repair_reinvoice/README.rst
Empty file.
2 changes: 1 addition & 1 deletion repair_reinvoice/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

{
"name": "Repair Reinvoice",
"version": "14.0.1.0.0",
"version": "16.0.1.0.0",
"development_status": "Alpha",
"license": "LGPL-3",
"category": "Repair",
Expand Down
1 change: 1 addition & 0 deletions repair_reinvoice/models/repair_order.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ def _create_invoices(self, group=False):
for repair_id in repair_dict:
repair = self.env["repair.order"].browse(repair_id)
repair.invoice_ids += repair.invoice_id
return

def action_created_invoices(self):
self.ensure_one()
Expand Down
5 changes: 3 additions & 2 deletions repair_reinvoice/tests/test_repair_reinvoice.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
from odoo.fields import Date
from odoo.tests import common
from odoo.tests import common, tagged


class TestMrpRepairReinvoice(common.SavepointCase):
@tagged("post_install", "-at_install")
class TestMrpRepairReinvoice(common.TransactionCase):
@classmethod
def setUpClass(cls):
super(TestMrpRepairReinvoice, cls).setUpClass()
Expand Down

0 comments on commit 67f19d9

Please sign in to comment.