Browse Source

APR 15: [FIX] Bug fixed 'product_restriction_users'

pull/354/merge
Cybrosys Technologies 2 weeks ago
parent
commit
b9b8fc8c74
  1. 2
      product_restriction_users/__manifest__.py
  2. 5
      product_restriction_users/doc/RELEASE_NOTES.md
  3. 1
      product_restriction_users/views/product_template_views.xml
  4. 3
      product_restriction_users/views/res_users_views.xml

2
product_restriction_users/__manifest__.py

@ -21,7 +21,7 @@
################################################################################
{
'name': "Product Restriction Users",
'version': '18.0.1.0.0',
'version': '18.0.1.0.1',
'category': "Inventory",
'summary': "Restrict products for users based on products and categories.",
'description': """This module used to allow products to user or only

5
product_restriction_users/doc/RELEASE_NOTES.md

@ -4,3 +4,8 @@
#### Version 18.0.1.0.0
#### ADD
- Initial commit for Product Restriction Users
#### 10.04.2025
#### Version 18.0.1.0.1
##### FIX
- Fixed errors in Odoo SH testing

1
product_restriction_users/views/product_template_views.xml

@ -12,7 +12,6 @@
<list>
<field name="restrict_user_ids"/>
</list>
<field name="is_product" invisible="1"/>
</page>
</xpath>
</field>

3
product_restriction_users/views/res_users_views.xml

@ -7,9 +7,6 @@
<field name="model">res.users</field>
<field name="inherit_id" ref="base.view_users_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='name']" position="after">
<field name="is_admin" invisible="1"/>
</xpath>
<xpath expr="//notebook" position="inside">
<page string="Allowed Products" invisible="is_admin">
<label for="restricted_type" string="Restriction Type"/>

Loading…
Cancel
Save