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

Build red on 14.0 and 15.0 branch #818

Closed
simahawk opened this issue Sep 26, 2023 · 1 comment · Fixed by #822
Closed

Build red on 14.0 and 15.0 branch #818

simahawk opened this issue Sep 26, 2023 · 1 comment · Fixed by #822
Labels

Comments

@simahawk
Copy link
Contributor

 2023-09-22 11:11:08,170 1786 ERROR odoo odoo.addons.edi_oca.tests.test_security: FAIL: TestEDIExchangeRecordSecurity.test_rule_no_create
odoo.exceptions.AccessError: Due to security restrictions, you are not allowed to modify 'Model used only for test' (edi.exchange.consumer.test) records.

Contact your administrator to request access if necessary.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/odoo/odoo/tools/misc.py", line 885, in deco
    return func(*args, **kwargs)
  File "/__w/edi/edi/edi_oca/tests/test_security.py", line 90, in test_rule_no_create
    self.create_record(self.user)
AssertionError: "Exchange Record rule demo" does not match "Due to security restrictions, you are not allowed to modify 'Model used only for test' (edi.exchange.consumer.test) records.

The same test was passing before. Something has probably changed somewhere else.

@simahawk
Copy link
Contributor Author

I have no time this week. @etobella if you have time to check, be my guest 😉

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

Successfully merging a pull request may close this issue.

2 participants