Hi
how to get amount of tax in selection
my file .py:
def _get_tva_p(self,cr,uid,ids,name,arg,context=None):
obj=self.pool.get('account.tax')
for tax in obj.browse(self,cr,uid,ids,context):
return ((tax.amount,tax.amount))
'tva_p': fields.function(_get_tva_p,method=True, type='selection', string="Tva en pourcentage",store=True),
thanks