Skip to content

[17][FIX]stock_free_quantity: type in views#30

Open
mav-adhoc wants to merge 1 commit intoOCA:17.0from
adhoc-dev:17.0-h-83539-mav
Open

[17][FIX]stock_free_quantity: type in views#30
mav-adhoc wants to merge 1 commit intoOCA:17.0from
adhoc-dev:17.0-h-83539-mav

Conversation

@mav-adhoc
Copy link
Copy Markdown

There was an error accessing to these views because the field 'type' was not inside the views.

{
"name": "Stock Free Quantity",
"version": "17.0.1.0.0",
"version": "17.0.1.1.0",
Copy link
Copy Markdown
Contributor

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

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done!

@rousseldenis rousseldenis added enhancement New feature or request needs review labels Jan 21, 2025
@rousseldenis rousseldenis added this to the 17.0 milestone Jan 21, 2025
decoration-warning="free_qty == 0"
decoration-bf="1"
/>
<field name="type" invisible="1" />
Copy link
Copy Markdown
Contributor

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

Copy link
Copy Markdown
Author

@mav-adhoc mav-adhoc Jan 21, 2025

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 certain users..

@mav-adhoc
Copy link
Copy Markdown
Author

@rousseldenis Hi! i create this PR because there is an error that exists due to the view of this OCA module (stock_free_quantity), which gives the error because it says that the 'type' field does not have permissions for certain users.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Oct 5, 2025

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Oct 5, 2025
@DavidJForgeFlow
Copy link
Copy Markdown
Contributor

Could we move this forward and get it merged @rousseldenis ?

@github-actions github-actions bot removed the stale PR/Issue without recent activity, it'll be soon closed automatically. label Nov 9, 2025
@github-actions
Copy link
Copy Markdown

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Mar 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request needs review stale PR/Issue without recent activity, it'll be soon closed automatically.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants