-
Notifications
You must be signed in to change notification settings - Fork 260
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
[17.0] access_apps #354
Merged
Merged
[17.0] access_apps #354
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
previous commits history: https://github.com/itpp-labs/access-addons/commits/13.0/ir_rule_protected > Made via .github/workflows/DINAR-PORT.yml
close #260 > Made via .github/workflows/DINAR-PORT.yml
STEPS: * install access_apps * uninstall access_apps * open Apps menu BEFORE: access error AFTER: no errors, access rights are restored
STEPS: * install module_procurement_jit * install access_apps * open Settings menus BEFORE: ``` Odoo Server Error Traceback (most recent call last): File "/opt/odoo/custom/src/odoo/odoo/http.py", line 624, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/opt/odoo/custom/src/odoo/odoo/http.py", line 310, in _handle_exception raise pycompat.reraise(type(exception), exception, sys.exc_info()[2]) File "/opt/odoo/custom/src/odoo/odoo/tools/pycompat.py", line 14, in reraise raise value File "/opt/odoo/custom/src/odoo/odoo/http.py", line 669, in dispatch result = self._call_function(**self.params) File "/opt/odoo/custom/src/odoo/odoo/http.py", line 350, in _call_function return checked_call(self.db, *args, **kwargs) File "/opt/odoo/custom/src/odoo/odoo/service/model.py", line 94, in wrapper return f(dbname, *args, **kwargs) File "/opt/odoo/custom/src/odoo/odoo/http.py", line 339, in checked_call result = self.endpoint(*a, **kw) File "/opt/odoo/custom/src/odoo/odoo/http.py", line 915, in __call__ return self.method(*args, **kw) File "/opt/odoo/custom/src/odoo/odoo/http.py", line 515, in response_wrap response = f(*args, **kw) File "/opt/odoo/auto/addons/web/controllers/main.py", line 1327, in call_kw return self._call_kw(model, method, args, kwargs) File "/opt/odoo/auto/addons/web/controllers/main.py", line 1319, in _call_kw return call_kw(request.env[model], method, args, kwargs) File "/opt/odoo/custom/src/odoo/odoo/api.py", line 387, in call_kw result = _call_kw_multi(method, model, args, kwargs) File "/opt/odoo/custom/src/odoo/odoo/api.py", line 374, in _call_kw_multi result = method(recs, *args, **kwargs) File "/opt/odoo/custom/src/odoo/odoo/models.py", line 6240, in onchange record[name] = value File "/opt/odoo/custom/src/odoo/odoo/models.py", line 5740, in __setitem__ return self._fields[key].__set__(self, value) File "/opt/odoo/custom/src/odoo/odoo/fields.py", line 1082, in __set__ self.write(new_records, value) File "/opt/odoo/custom/src/odoo/odoo/fields.py", line 953, in write cache_value = self.convert_to_cache(value, records) File "/opt/odoo/custom/src/odoo/odoo/fields.py", line 2262, in convert_to_cache raise ValueError("Wrong value for %s: %r" % (self, value)) ValueError: Wrong value for res.config.settings.module_procurement_jit: 1 ``` AFTER: no errors WHY: since Odoo 13 it has to be string: odoo/odoo@a0e05e2
previous commits history: https://github.com/itpp-labs/access-addons/commits/14.0/access_apps > Made via .github/workflows/DINAR-PORT.yml
close #336 > Made via .github/workflows/DINAR-PORT.yml
close #345 > Made via .github/workflows/DINAR-PORT.yml
close #352 > Made via .github/workflows/DINAR-PORT.yml
r+ |
Approved by @yelizariev
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Made by DINAR by request in #352