Skip to content
Snippets Groups Projects
Commit 13e955a8 authored by konykon's avatar konykon
Browse files

Add tax to subscription request invoice line

parent d4dd5f8a
No related branches found
No related tags found
2 merge requests!253[REL] Release 06/11/23,!249Link tax to cs product and subscri[tion request invoice line
Pipeline #64957 passed
This commit is part of merge request !249. Comments created here will be created in the context of that merge request.
......@@ -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