Is it possible to show both tax included and tax excluded total price in invoice lines ?
I try to show both columns in the account invoice form :
* total of an invoice line, tax excluded
* total of an invoice line, tax included.
I know that it is possible to set the tax object to be included or excluded in product price, but I don't see the way to show both in invoice form.
I already extended account.invoice.line as follow :
from openerp import api, models, fields
import openerp.addons.decimal_precision as dp
_inherit = 'account.invoice.line'
price_with_tax = fields.Float(string='Prix TTC', digits= dp.get_precision('Product Price'), store=True, readonly=True,)
I guess I should override the method below, but i don't know how to calculate and load the total line with included tax into the line...
Thank you in advance for your help