False "Bad total!" exception in account.invoice (trunk)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Undecided
|
Christophe Simonis (OpenERP) |
Bug Description
Hi!
Trunk version.
The situation: basic setup: a purchase invoice is made from a purchase order. There is one product with the price of 1.00 and a tax 0.18, resulting in a total of 1.18.
There is a problem in account_
for inv in self.browse(cr, uid, ids):
debug('test1')
debug(
self.
debug('test2')
debug(
debug('test3 - variable not changed')
debug(
if inv.type in ('in_invoice', 'in_refund') and abs(inv.check_total - inv.amount_total) >= (inv.currency_
raise osv.except_
Log:
DEBUG:action_
DEBUG:action_
DEBUG:action_
DEBUG:action_
DEBUG:action_
DEBUG:action_
The problem is that although account_
Related branches
Changed in openobject-addons: | |
assignee: | nobody → kangol |
fixed by 2054 christophe@ cobalt- 20081223162210- chbr8wg9ae19cwb m