Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • A addons-vauxoo
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 52
    • Issues 52
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • vauxoovauxoo
  • addons-vauxoo
  • Issues
  • #695
Closed
Open
Issue created Jan 29, 2016 by Tulio Ruiz@ruiztulioOwner

Error running sale_double_validation

Created by: jsoroa

Hi Nhomar & Cia!

I'm testing sale_double_validation module for a possible new customer, but when I run wizard to assign an authorized group, I get a Traceback. I'm using last version (downloaded today). I've tried selecting different groups, and it's allways the same problem. Can you help me? Many thanks!

Josean Avanzosc


File "/home/josean/odoo/curso_nov14/other_addons/sale_double_validation/model/sale_double_validation_installer.py", line 57, in execute
   transition_obj.write(cr, uid, waiting_id, {'group_id': group_id})
 File "/home/josean/odoo/curso_nov14/server/openerp/api.py", line 250, in wrapper
   return old_api(self, *args, **kwargs)
 File "/home/josean/odoo/curso_nov14/server/openerp/api.py", line 372, in old_api
   result = method(recs, *args, **kwargs)
 File "/home/josean/odoo/curso_nov14/server/openerp/models.py", line 3787, in write
   self._write(old_vals)
 File "/home/josean/odoo/curso_nov14/server/openerp/api.py", line 248, in wrapper
   return new_api(self, *args, **kwargs)
 File "/home/josean/odoo/curso_nov14/server/openerp/api.py", line 565, in new_api
   result = method(self._model, cr, uid, self.ids, *args, **kwargs)
 File "/home/josean/odoo/curso_nov14/server/openerp/models.py", line 3898, in _write
   cr.execute(query, params + (sub_ids,))
 File "/home/josean/odoo/curso_nov14/server/openerp/sql_db.py", line 158, in wrapper
   return f(self, *args, **kwargs)
 File "/home/josean/odoo/curso_nov14/server/openerp/sql_db.py", line 234, in execute
   res = self._obj.execute(query, params)
ProgrammingError: column "group_id" is of type integer but expression is of type record
LINE 1: UPDATE "wkf_transition" SET "group_id"=(10, 'Ventas / Respon...
                                              ^
HINT:  You will need to rewrite or cast the expression.
Assignee
Assign to
Time tracking