Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot create e-invoice after installed Edi Route Add-on #67

Open
felixsniper opened this issue Nov 24, 2020 · 2 comments
Open

Cannot create e-invoice after installed Edi Route Add-on #67

felixsniper opened this issue Nov 24, 2020 · 2 comments
Labels

Comments

@felixsniper
Copy link

Hi Vertelab,

I tried to install Edi Route and Edi Peppol on Odoo CE V12.
But I failed to create an invoice after install these module, it showed an error dialog like this.

image

Log:
Odoo Server Error
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/http.py", line 656, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 314, in _handle_exception
raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
File "/usr/lib/python3/dist-packages/odoo/tools/pycompat.py", line 87, in reraise
raise value
File "/usr/lib/python3/dist-packages/odoo/http.py", line 698, in dispatch
result = self._call_function(**self.params)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 346, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 98, in wrapper
return f(dbname, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 339, in checked_call
result = self.endpoint(*a, **kw)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 941, in call
return self.method(*args, **kw)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 519, in response_wrap
response = f(*args, **kw)
File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 966, in call_button
action = self._call_kw(model, method, args, {})
File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 954, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/usr/lib/python3/dist-packages/odoo/api.py", line 759, in call_kw
return _call_kw_multi(method, model, args, kwargs)
File "/usr/lib/python3/dist-packages/odoo/api.py", line 746, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/addons/sale/wizard/sale_make_invoice_advance.py", line 136, in create_invoices
sale_orders.action_invoice_create()
File "/usr/lib/python3/dist-packages/odoo/addons/edi_route_sale/sale.py", line 114, in action_invoice_create
res = super(sale_order,self).action_invoice_create(grouped=grouped, states=states, date_invoice = date_invoice)
TypeError: action_invoice_create() got an unexpected keyword argument 'states'

Please help give me an advice,
Thanks and Regards,
Felix Nguyen

@felixsniper felixsniper changed the title Cannot create invoice after install Edi Route Add-on. Cannot create e-invoice after installed Edi Route Add-on Nov 24, 2020
@FredrikArvas
Copy link
Member

Hi Felix

Great to hear from you!
Could you give me a call in order for me to better understand your environment.
Det går bra på svenska:
+46708145595
/Fredrik

@FredrikArvas
Copy link
Member

Hi again @felixdsniper
Great to hear from you!
Could you give me a call in order for me to better understand your environment.
Det går bra på svenska:
+46708145595
/Fredrik

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants