cash discount payment certified modules - eu supplier
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Invalid
|
Undecided
|
OpenERP Publisher's Warranty Team |
Bug Description
Server and core modules 6.0.3.
additional modules:
account_
account_
account_
sale_tax_include
from lp:~openerp/openobject-addons/6.0-certified-addons
Create a payment term:
2% Cash Discount for payment in 14 days, 30 days net
Create a supplier invoice for EU partner with 100EUR. Home company is in Germany, supplier partner from Netherland.
So currency is the same EUR.
Fiscal Position is set EU Lieferant and after tax mapping invoice has two tax lines. (see first screen)
Validate the invoice. (see screen of account moves)
Then try to pay it using "Pay Invoice" wizard to the right of invoice form. see third screen)
You get a wizard screen with 2.00EUR Cash Discount Amount at the upper section of screen what is correct, but in account moves you get 1.00EUR for base and 1.00EUR for tax what is wrong. It should be 2.00 for base and 0.38 for tax.
Additionally it should be two account move lines for tax as it was in invoice account moves.
Another bug is that for tax account move it is no account in wizard.
When you click "Full Payment Button" you get python error report:
Environment Information :
System : Linux-2.
OS Name : posix
LSB Version: core-2.
Distributor ID: Ubuntu
Description: Ubuntu 10.04.3 LTS
Release: 10.04
Codename: lucid
Operating System Release : 2.6.32-34-generic
Operating System Version : #77-Ubuntu SMP Tue Sep 13 19:40:53 UTC 2011
Operating System Architecture : 32bit
Operating System Locale : en_US.UTF8
Python Version : 2.6.5
OpenERP-Client Version : 6.0.2
Last revision No. & ID :1835 launchpad_
Traceback (most recent call last):
File "/usr/lib/
result = ExportService.
File "/usr/lib/
res = fn(db, uid, *params)
File "/usr/lib/
return f(self, dbname, *args, **kwargs)
File "/usr/lib/
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/lib/
return getattr(object, method)(cr, uid, *args, **kw)
File "/usr/lib/
self.
File "/usr/lib/
data[
File "/usr/lib/
move_id = move_obj.create(cr, uid, move, context=context)
File "/usr/lib/
result = super(account_move, self).create(cr, uid, vals, c)
File "/usr/lib/
result += self._columns[
File "/usr/lib/
id_new = obj.create(cr, user, act[2], context=context)
File "/usr/lib/
if ('account_id' in vals) and not account_
File "/usr/lib/
result = self._read_flat(cr, user, select, fields, context, load)
File "/usr/lib/
cr.
File "/usr/lib/
return f(self, *args, **kwargs)
File "/usr/lib/
res = self._obj.
ProgrammingError: operator does not exist: integer = boolean
ZEILE 1: ...d FROM "account_account" WHERE account_account.id IN (false)...
TIP: No operator matches the given name and argument type(s). You might need to add explicit type casts.
Changed in openobject-addons: | |
assignee: | nobody → OpenERP Publisher's Warranty Team (openerp-opw) |
tags: | added: maintenance |
Hello,
We have not received the asked details into the maintenance case over this issue, As for now we are closing the bug.
You can reopen the bug after responding into the maintenace case with the details information those were asked.
Thanks for your understanding.
Regards,
OpenERP Support/Maintenance Team