c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #15534
[Bug 715688] Re: [PS] web client : bank statement : import invoice doesn't work
Hello,
I also got this type of traceback:
Traceback (most recent call last):
File "/home/tiny/workspace/openobject-server/openerp/netsvc.py", line 410, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/home/tiny/workspace/openobject-server/openerp/service/web_services.py", line 598, in dispatch
res = fn(db, uid, *params)
File "/home/tiny/workspace/openobject-server/openerp/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/tiny/workspace/openobject-server/openerp/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/tiny/workspace/openobject-server/openerp/osv/osv.py", line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/tiny/workspace/openobject-addons/account_voucher/wizard/account_statement_from_invoice.py", line 73, in populate_statement
elif (line.invoice and line.invoice.currency_id.id <> statement.currency.id):
File "/home/tiny/workspace/openobject-server/openerp/osv/orm.py", line 285, in __getattr__
return self[name]
File "/home/tiny/workspace/openobject-server/openerp/osv/orm.py", line 205, in __getitem__
field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write")
File "/home/tiny/workspace/openobject-server/openerp/osv/orm.py", line 2933, in read
result = self._read_flat(cr, user, select, fields, context, load)
File "/home/tiny/workspace/openobject-server/openerp/osv/orm.py", line 3053, in _read_flat
res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res)
File "/home/tiny/workspace/openobject-server/openerp/osv/fields.py", line 795, in get
res = self._fnct(obj, cr, user, ids, name, self._arg, context)
File "/home/tiny/workspace/openobject-addons/account/account_bank_statement.py", line 113, in _currency
currency = statement.journal_id.currency
File "/home/tiny/workspace/openobject-server/openerp/osv/orm.py", line 287, in __getattr__
raise AttributeError(e)
AttributeError: 'Field journal_id not found in browse_record(account.bank.statement, 157)'
** Project changed: openobject-addons => openobject-client-web
** Changed in: openobject-client-web
Importance: Undecided => Low
** Changed in: openobject-client-web
Status: New => Confirmed
** Changed in: openobject-client-web
Assignee: (unassigned) => OpenERP SA's Web Client R&D (openerp-dev-web)
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/715688
Title:
[PS] web client : bank statement : import invoice doesn't work
Status in OpenERP Web Client:
Confirmed
Bug description:
6.0.1
web client
On a bank statement, I use the button "import invoice" which open a pop-up.
On this pop-up "import entries", I clic add to select my invoices.
I select one of them and close the pop-up.
So in my pop-up "import entries", I see the invoice.
I close this pop-up to come back to my bank statement form view and there, NO LINE !
François Pietquin
Professional services
References