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

Error generating payment #1381

Open
asopo94 opened this issue Nov 30, 2024 · 0 comments
Open

Error generating payment #1381

asopo94 opened this issue Nov 30, 2024 · 0 comments
Labels

Comments

@asopo94
Copy link

asopo94 commented Nov 30, 2024

Traceback (most recent call last):
File "C:\Odoo\server\odoo\addons\base\models\ir_http.py", line 237, in _dispatch
result = request.dispatch()
File "C:\Odoo\server\odoo\http.py", line 698, in dispatch
result = self._call_function(**self.params)
File "C:\Odoo\server\odoo\http.py", line 368, in _call_function
return checked_call(self.db, *args, **kwargs)
File "C:\Odoo\server\odoo\service\model.py", line 94, in wrapper
return f(dbname, *args, **kwargs)
File "C:\Odoo\server\odoo\http.py", line 357, in checked_call
result = self.endpoint(*a, **kw)
File "C:\Odoo\server\odoo\http.py", line 921, in call
return self.method(*args, **kw)
File "C:\Odoo\server\odoo\http.py", line 546, in response_wrap
response = f(*args, **kw)
File "C:\Odoo\server\odoo\addons\web\controllers\main.py", line 1328, in call_button
action = self._call_kw(model, method, args, kwargs)
File "C:\Odoo\server\odoo\addons\web\controllers\main.py", line 1316, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "C:\Odoo\server\odoo\api.py", line 464, in call_kw
result = _call_kw_multi(method, model, args, kwargs)
File "C:\Odoo\server\odoo\api.py", line 451, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "C:\Odoo\server\odoo\addons\account_payment_order\models\account_payment_order.py", line 412, in open2generated
payment_file_str, filename = self.generate_payment_file()
File "C:\Odoo\server\odoo\addons\account_banking_sepa_direct_debit\models\account_payment_order.py", line 18, in generate_payment_file
return super().generate_payment_file()
File "C:\Odoo\server\odoo\addons\account_banking_sepa_credit_transfer\models\account_payment_order.py", line 81, in generate_payment_file
for line in self.bank_line_ids:
Exception

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Odoo\server\odoo\http.py", line 654, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "C:\Odoo\server\odoo\http.py", line 301, in _handle_exception
raise exception.with_traceback(None) from new_cause
AttributeError: 'account.payment.order' object has no attribute 'bank_line_ids'

Can u help?

@asopo94 asopo94 added the bug label Nov 30, 2024
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

1 participant