Skip to content

Commit

Permalink
[MIG] website_sale_product_attachment: Migration to 17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
adriresu authored and dalonsod committed Jul 11, 2024
1 parent 3c67185 commit cdc6985
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion website_sale_product_attachment/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{
"name": "eCommerce product attachments",
"summary": "Let visitors download attachments from a product page",
"version": "16.0.1.0.0",
"version": "17.0.1.0.0",
"development_status": "Beta",
"category": "Website",
"website": "https://github.com/OCA/e-commerce",
Expand Down
3 changes: 1 addition & 2 deletions website_sale_product_attachment/views/ir_attachment.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
name="attached_in_product_tmpl_ids"
widget="many2many_tags"
options="{'no_create': True}"
invisible="context.get('hide_attachment_products', False)"
attrs="{'invisible': [('public', '=', False)]}"
invisible="context.get('hide_attachment_products', False) or public == False"
/>
</field>
<field name="website_id" position="after">
Expand Down

0 comments on commit cdc6985

Please sign in to comment.