res_taxes = iline.invoice_line_tax_ids.compute_all(
price, quantity=iline.quantity, product=iline.product_id,
partner=self.partner_id)
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
res_taxes = iline.invoice_line_tax_ids.compute_all(
price, quantity=iline.quantity, product=iline.product_id,
partner=self.partner_id)
Hi, crocodile
In Odoo12 "invoice_line_tax_ids" field has been removed. So you can use below line for Odoo 13.0
res_taxes = iline.tax_ids._origin.compute_all(
price, quantity=iline.quantity, product=iline.product_id,
partner=self.partner_id)
Feel free to ask in case you have any query related to the above code.
Thanks,
Ashish Singh (Team Lead)
Webkul Software Private Limited
Hello Odoo Lovers
Please Improve code like this
res_taxes = iline.tax_ids._origin.compute_all(
price, quantity=iline.quantity, product=iline.product_id,
partner=self.partner_id)
not understand why you add this answer when there is same answers already from Mr. Ashish
Mr.Niyas I Post answer First, But I don't why i am second.
I think here we sent post answer on same time or my page are not reloaded.
Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!
AanmeldenGerelateerde posts | Antwoorden | Weergaven | Activiteit | |
---|---|---|---|---|
|
1
jul. 25
|
2504 | ||
|
0
mei 23
|
2272 | ||
|
3
mrt. 25
|
23831 | ||
I can't upload any file in Odoo 13
Opgelost
|
|
1
nov. 22
|
2173 | |
|
1
mei 22
|
5689 |