← Back to team overview

openerp-community-reviewer team mailing list archive

Re: [Merge] lp:~camptocamp/account-invoicing/7.0-account_invoice_zero into lp:account-invoicing

 

> Hello,
> 
> Juste question at line 109
> 
> I don't know if it's better to use float_compare method with precision
> 
> prec = self.pool.get('decimal.precision').precision_get(cr, uid, 'Account')
> not float_compare(debit, credit, precision_digits=prec)
> 
> Vincent

Thanks for the review. I made the change, but used float_is_zero.
-- 
https://code.launchpad.net/~camptocamp/account-invoicing/7.0-account_invoice_zero/+merge/210215
Your team Account Core Editors is requested to review the proposed merge of lp:~camptocamp/account-invoicing/7.0-account_invoice_zero into lp:account-invoicing.


References