-
-
Notifications
You must be signed in to change notification settings - Fork 714
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MIG] product_attachment_zipped_download: Migration to 16.0
TT52271
- Loading branch information
1 parent
ea831d8
commit 843275b
Showing
6 changed files
with
36 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
product_attachment_zipped_download/data/ir_actions_server_data.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<odoo> | ||
<record id="action_download_product_product_attachements" model="ir.actions.server"> | ||
<field name="name">Download attachments</field> | ||
<field name="model_id" ref="product.model_product_product" /> | ||
<field name="binding_model_id" ref="product.model_product_product" /> | ||
<field name="binding_view_types">list,form</field> | ||
<field name="state">code</field> | ||
<field name="code"> | ||
action = records.action_download_attachments() | ||
</field> | ||
</record> | ||
<record | ||
id="action_download_product_template_attachements" | ||
model="ir.actions.server" | ||
> | ||
<field name="name">Download attachments</field> | ||
<field name="model_id" ref="product.model_product_template" /> | ||
<field name="binding_model_id" ref="product.model_product_template" /> | ||
<field name="binding_view_types">list,form</field> | ||
<field name="state">code</field> | ||
<field name="code"> | ||
action = records.action_download_attachments() | ||
</field> | ||
</record> | ||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 0 additions & 13 deletions
13
product_attachment_zipped_download/views/product_product_views.xml
This file was deleted.
Oops, something went wrong.
16 changes: 0 additions & 16 deletions
16
product_attachment_zipped_download/views/product_template_views.xml
This file was deleted.
Oops, something went wrong.