Skip to content
Snippets Groups Projects
Commit 47dec868 authored by konykon's avatar konykon
Browse files

Add tax to subscription request invoice line

parent 46c703a8
No related branches found
No related tags found
No related merge requests found
Pipeline #64955 passed
......@@ -137,3 +137,9 @@ class SubscriptionRequest(models.Model):
"""
self = self.with_company(self.company_id)
return self.validate_subscription_request()
def _prepare_invoice_line(self, product, partner, qty):
res = super()._prepare_invoice_line(product, partner, qty)
res["tax_ids"] = product.taxes_id
return res
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment