Undefined get method when Compute Taxes in Invoice

Bug #647726 reported by Jim Norman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Undecided
Unassigned

Bug Description

Following either path:
Accounting/Customer Invoices or
Sales/Address Book/Customers/(select customer) - action Invoices

The error unknownError / Undefined get method ! appears.

I inserted a traceback at the point of problem and got the following:

  File "/usr/lib/python2.6/threading.py", line 504, in __bootstrap
    self.__bootstrap_inner()
  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
    self.run()
  File "/opt/openerp/stage/server/bin/service/netrpc_server.py", line 70, in run
    result = self.dispatch(msg[0], msg[1], msg[2:])
  File "/opt/openerp/stage/server/bin/netsvc.py", line 480, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/opt/openerp/stage/server/bin/service/web_services.py", line 586, in dispatch
    res = fn(db, uid, *params)
  File "/opt/openerp/stage/server/bin/osv/osv.py", line 57, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/opt/openerp/stage/server/bin/osv/osv.py", line 140, in execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/opt/openerp/stage/server/bin/osv/osv.py", line 130, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/opt/openerp/stage/addons/account/invoice.py", line 355, in create
    res = super(account_invoice, self).create(cr, uid, vals, context)
  File "/opt/openerp/stage/server/bin/osv/orm.py", line 3773, in create
    self.pool.get(object)._store_set_values(cr, user, ids, fields2, context)
  File "/opt/openerp/stage/server/bin/osv/orm.py", line 3886, in _store_set_values
    result = self._columns[f].get(cr, self, ids, f, 1, context=context)
  File "/opt/openerp/stage/server/bin/osv/fields.py", line 103, in get
    traceback.print_stack()

The problem is with the invoice.number field.

This is urgent - unable to proceed.

Changed in openobject-addons:
milestone: none → 6.0
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Hello Jim,

I am unable to get the error.
Can you tell me if you are using the latest revisions and a DB made out of the same code?

Thanks.

tags: added: maintenace
tags: added: maintenance
removed: maintenace
Revision history for this message
Jim Norman (jim-jsnorman) wrote :

Yes, the latest code and DB consistent with code. I've built a new environment from a fresh branch and don't see the problem there either.
Let's let it sit for a week, and if it doesn't recur, we'll close it.

Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Hello Jim,

I have checked the possibility to generate this bug.
It could have been a problem with the code when the field definition of 'number' was changed.
With latest code, new DB made out of the same ; there seems no issues.

We will re-open it if the same problem still persists.
Thanks for your feedback.

Changed in openobject-addons:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.