ccount_cash_discount_61-7.0.0.7 - ERROR when paying a Supplier with a cash discount
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Camptocamp R&D Addons |
New
|
Undecided
|
Unassigned |
Bug Description
Hello,
I loaded account_
The ERROR is when you try to PAY a Supplier invoice that has a cash discount, it will not work are creates the error, please see the trace:
VERSION: 7.0
(Build 27273)
server (5189)
addons (9737)
web (4106)
Traceback (most recent call last):
File "/opt/openerp/
result = ExportService.
File "/opt/openerp/
res = fn(db, uid, *params)
File "/opt/openerp/
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/opt/openerp/
return f(self, dbname, *args, **kwargs)
File "/opt/openerp/
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/opt/openerp/
return fct_src(cr, uid, model, method, *args, **kw)
File "/opt/openerp/
return getattr(object, method)(cr, uid, *args, **kw)
File "/opt/openerp/
wf_
File "/opt/openerp/
res2 = instance.
File "/opt/openerp/
workitem.
File "/opt/openerp/
ok = _split_test(cr, workitem, activity[
File "/opt/openerp/
_join_test(cr, t[0], t[1], ident, stack)
File "/opt/openerp/
create(
File "/opt/openerp/
process(cr, res, ident, stack=stack)
File "/opt/openerp/
result = _execute(cr, workitem, activity, ident, stack)
File "/opt/openerp/
returned_action = wkf_expr.
File "/opt/openerp/
return _eval_expr(cr, ident, workitem, activity['action'])
File "/opt/openerp/
ret = eval(line, env, nocopy=True)
File "/opt/openerp/
return eval(test_
File "", line 1, in <module>
File "/opt/openerp/
return attr(self._cr, self._uid, [self._id], *args, **kwargs)
File "/opt/openerp/
self.
File "/opt/openerp/
move_
File "/opt/openerp/
raise osv.except_osv (_('Error !'), _('No write off account defined.'))
except_osv: (u'Error !', u'No write off account defined.')
TX,
ER, OPENERP Partner
I am encountering the same issue. When I have a 1% 10 NET 30 terms and make a payment for 99% within 10 days, the balance is not written off automatically.