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
  • #298
Closed
Open
Issue created Jun 10, 2015 by Tulio Ruiz@ruiztulioOwner

Short dump when creating the payment with advance payment module installed

Created by: ybofr

Hi,

I was testing this module that adds the possibility to add another account for advance deposit when creating a supplier payment. This part works fine.

The problem comes when I try to pay the invoice. I went to the menu supplier invoice, created the invoice and pressed the button pay. I had the short dump as below.

Regards eva P.

Traceback (most recent call last): File "/opt/openerp/odoo/openerp/http.py", line 530, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/opt/openerp/odoo/openerp/http.py", line 567, in dispatch result = self._call_function(**self.params) File "/opt/openerp/odoo/openerp/http.py", line 303, in _call_function return checked_call(self.db, *args, **kwargs) File "/opt/openerp/odoo/openerp/service/model.py", line 113, in wrapper return f(dbname, *args, **kwargs) File "/opt/openerp/odoo/openerp/http.py", line 300, in checked_call return self.endpoint(*a, **kw) File "/opt/openerp/odoo/openerp/http.py", line 796, in call return self.method(*args, **kw) File "/opt/openerp/odoo/openerp/http.py", line 396, in response_wrap response = f(*args, **kw) File "/opt/openerp/odoo/addons/web/controllers/main.py", line 949, in call_kw return self._call_kw(model, method, args, kwargs) File "/opt/openerp/odoo/addons/web/controllers/main.py", line 941, in _call_kw return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs) File "/opt/openerp/odoo/openerp/api.py", line 241, in wrapper return old_api(self, *args, **kwargs) File "/opt/openerp/odoo/openerp/api.py", line 363, in old_api result = method(recs, *args, **kwargs) File "/opt/openerp/odoo/openerp/models.py", line 5844, in onchange record._onchange_eval(name, field_onchange[name], result) File "/opt/openerp/odoo/openerp/models.py", line 5762, in _onchange_eval method_res = getattr(self._model, method)(*args) File "/opt/openerp/odoo/openerp/api.py", line 241, in wrapper return old_api(self, *args, **kwargs) File "/opt/openerp/xpn-addons/vauxoo/account_advance_payment/model/account_voucher.py", line 62, in onchange_partner_id res['value']['advance_account_id'] = advance_account_id KeyError: 'value'

Assignee
Assign to
Time tracking