-
-
Notifications
You must be signed in to change notification settings - Fork 51
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][FIX]stock_free_quantity: type in views #30
base: 17.0
Are you sure you want to change the base?
Conversation
2644140
to
25e5570
Compare
stock_free_quantity/__manifest__.py
Outdated
@@ -2,7 +2,7 @@ | |||
|
|||
{ | |||
"name": "Stock Free Quantity", | |||
"version": "17.0.1.0.0", | |||
"version": "17.0.1.1.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mav-adhoc Don't update this if you don't have migration scripts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!
25e5570
to
b7d89d2
Compare
@@ -77,6 +78,7 @@ | |||
decoration-warning="free_qty == 0" | |||
decoration-bf="1" | |||
/> | |||
<field name="type" invisible="1" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMHO, this is not correct as it is defined in inherited view.
See : product_product_tree_view
And particularily : https://github.com/odoo/odoo/blob/17.0/addons/product/views/product_views.xml#L361
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apparently the error exists due to a view of an OCA module (stock_free_quantity), which gives the error because it says that the 'type' field does not have permissions for 'portal sale distributor'.
There was an error accessing to these views because the field 'type' was not inside the views.