Hi,
I'm trying to translate this fields but I can't find documentation about Store parameter
'total_deposit_amount': fields.function(
_get_total_deposit_amount_,
method=True,
type='float',
string='Total of deposit',
digits_compute=dp.get_precision('Deposit'),
store={ 'account.dp.iva.line.tax': ( lambda self, cr, uid, ids, c={}: ids, ['amount'], 15 ) },
fnct_inv=_set_total_dpt,
help="The total of the deposit"),
I have this
total_deposit_amount = fields.Float(compute="_get_total_deposit_amount_", inverse="_set_total_dpt", string='Total of deposit',
digits_compute=dp.get_precision('Deposit'),help="The total of the deposit")
Can you tell me how to translate de lambda expresion please
lambda expression is just an function without name. So, you can make any function and call it.