error creating custom object in web client

Bug #404733 reported by Paul Korotkov
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Fix Released
Undecided
Jay Vora (Serpent Consulting Services)

Bug Description

Web client 5.0.2

1. In menu Administration/Customization/DatabaseStructure select objects
2. Click New to crete new record
3. Enter object name and press save parent record
4. Add field to object
5. result - error when press save field

Traceback (most recent call last):
  File "/home/silvir/openobject-server/bin/netsvc.py", line 240, in dispatch
    result = LocalService(service_name)(method, *params)
  File "/home/silvir/openobject-server/bin/netsvc.py", line 73, in __call__
    return getattr(self, method)(*params)
  File "/home/silvir/openobject-server/bin/service/web_services.py", line 568, in execute
    res = service.execute(db, uid, object, method, *args)
  File "/home/silvir/openobject-server/bin/osv/osv.py", line 59, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/silvir/openobject-server/bin/osv/osv.py", line 119, in execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/silvir/openobject-server/bin/osv/osv.py", line 111, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/silvir/openobject-server/bin/addons/base/ir/ir_model.py", line 76, in write
    del context['__last_update']
KeyError: '__last_update'

Related branches

Revision history for this message
Amit Mendapara (cristatus) wrote :

`__last_update` is not passed while creating new records...

affects: openobject-client-web → openobject-server
Changed in openobject-server:
assignee: nobody → Jay (Open ERP) (jvo-openerp)
Revision history for this message
Amit Mendapara (cristatus) wrote :
Changed in openobject-server:
status: New → Confirmed
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Thank you for the Patch Ame(Tiny/Axelor).
Fixed by revision 1820 <email address hidden>.

Changed in openobject-server:
status: Confirmed → 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.