Menu

Save Issue Odoo 8

2017-04-13
2017-04-13
  • Phillip Bunnemann

    Hi everyone,

    I got following error when trying to save SolidWorks 2015 models:

    Traceback (most recent call last):
      File "/opt/odoo/odoo-server/openerp/service/wsgi_server.py", line 75, in xmlrpc_return
        result = openerp.http.dispatch_rpc(service, method, params)
      File "/opt/odoo/odoo-server/openerp/http.py", line 115, in dispatch_rpc
        result = dispatch(method, params)
      File "/opt/odoo/odoo-server/openerp/service/model.py", line 37, in dispatch
        res = fn(db, uid, *params)
      File "/opt/odoo/odoo-server/openerp/service/model.py", line 118, in wrapper
        return f(dbname, *args, **kwargs)
      File "/opt/odoo/odoo-server/openerp/service/model.py", line 175, in execute
        res = execute_cr(cr, uid, obj, method, *args, **kw)
      File "/opt/odoo/odoo-server/openerp/service/model.py", line 164, in execute_cr
        return getattr(object, method)(cr, uid, *args, **kw)
      File "/opt/odoo/odoo-server/openerp/api.py", line 268, in wrapper
        return old_api(self, *args, **kwargs)
      File "/opt/odoo/odoo-server/addons/plm/install/plm_component.py", line 231, in SaveOrUpdate
        if not self.write(cr,uid,[existingID], part , context=context, check=True):
      File "/opt/odoo/odoo-server/openerp/api.py", line 268, in wrapper
        return old_api(self, *args, **kwargs)
    TypeError: write() got an unexpected keyword argument 'check'
    

    I have installed the PLM Modul "OdooPlm(x64)_06032017_124600.exe" and the server modul "06-03-2017 (Stable)" for Odoo 8.0.1.

    Nevertheless parts can be found in PLM. But only when i save single parts. Assembly doesnt work.

    Can anyone help me with this issue?

     
  • Matteo Boscolo

    Matteo Boscolo - 2017-04-14

    we are checking this issiues, in the mean time you could delete the check=True attribute from the call.
    in
    plm_document chenge the line
    if not self.write(cr,uid,[existingID], part , context=context, check=True)
    to
    if not self.write(cr,uid,[existingID], part , context=context)

    we will update you once we discover the issiues

    regards
    Matteo

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.