Skip to content

Commit

Permalink
[IMP] portal_sale_distributor: hide fields in product_tremplate view
Browse files Browse the repository at this point in the history
closes #713

closes #721

Signed-off-by: matiasperalta1 <mnp@adhoc.com.ar>
Signed-off-by: Nicolas Mac Rouillon <nmr@adhoc.com.ar>
  • Loading branch information
nicomacr committed Nov 10, 2023
1 parent d136a84 commit 6a0ddad
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion portal_sale_distributor/__manifest__.py
Expand Up @@ -19,7 +19,7 @@
##############################################################################
{
'name': 'Portal Distributor Sale',
'version': "16.0.1.1.0",
'version': "16.0.1.2.0",
'category': 'Tools',
'complexity': 'easy',
'author': 'ADHOC SA, Odoo Community Association (OCA)',
Expand Down
4 changes: 4 additions & 0 deletions portal_sale_distributor/views/product_template_views.xml
Expand Up @@ -120,6 +120,10 @@
<field name="barcode" position="attributes">
<attribute name="groups">!portal_sale_distributor.group_portal_backend_distributor</attribute>
</field>
<!-- we add this to use in attrs domains and avoid errors -->
<field name='attribute_line_ids' position="after">
<field name='detailed_type' invisible='1'/>
</field>
</field>
</record>

Expand Down

0 comments on commit 6a0ddad

Please sign in to comment.