Skip to content

Commit

Permalink
Merge pull request dhongu#763 from dhongu/15.0_fix_purchase_refund
Browse files Browse the repository at this point in the history
[15.0][FIX] purchse_refund: fix super()
  • Loading branch information
dhongu authored Dec 5, 2022
2 parents 7de6f6b + 6420345 commit 1c911e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deltatech_purchase_refund/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{
"name": "Refund Purchase",
"summary": "Generare factura storno pentru retururi",
"version": "15.0.1.0.1",
"version": "15.0.1.0.2",
"author": "Terrabit, Dorin Hongu",
"website": "https://www.terrabit.ro",
"category": "Purchases",
Expand Down
2 changes: 1 addition & 1 deletion deltatech_purchase_refund/models/purchase.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class PurchaseOrder(models.Model):
_inherit = "purchase.order"

def _prepare_invoice(self):
invoice_vals = self._prepare_invoice()
invoice_vals = super()._prepare_invoice()
invoice_type = "in_invoice"
for line in self.order_line:
if line.product_id.purchase_method == "purchase":
Expand Down

0 comments on commit 1c911e2

Please sign in to comment.