diff --git a/product_multi_document/__manifest__.py b/product_multi_document/__manifest__.py index f8a868cc9..2a7b1650e 100644 --- a/product_multi_document/__manifest__.py +++ b/product_multi_document/__manifest__.py @@ -21,7 +21,7 @@ ############################################################################### { 'name': 'Product Multi Document', - 'version': '16.0.1.0.0', + 'version': '16.0.1.0.1', 'category': 'Purchases,Discuss', 'summary': """Multiple documents can be added to a product with the help of this module.""", diff --git a/product_multi_document/doc/RELEASE_NOTES.md b/product_multi_document/doc/RELEASE_NOTES.md index 3ca7057c3..91417767a 100644 --- a/product_multi_document/doc/RELEASE_NOTES.md +++ b/product_multi_document/doc/RELEASE_NOTES.md @@ -3,4 +3,9 @@ #### 12.07.2023 #### Version 16.0.1.0.0 #### ADD -- Initial commit for Product Multi Document \ No newline at end of file +- Initial commit for Product Multi Document + +#### 02.12.2024 +#### Version 16.0.1.0.1 +#### FIX +- Fixed an issue in the case of choosing documents from product template \ No newline at end of file diff --git a/product_multi_document/models/product_template.py b/product_multi_document/models/product_template.py index 70679787c..d6c8945c5 100644 --- a/product_multi_document/models/product_template.py +++ b/product_multi_document/models/product_template.py @@ -27,4 +27,5 @@ class ProductTemplate(models.Model): _inherit = 'product.template' document_ids = fields.Many2many('documents.document', string='Document', - help='Added product document') + help='Added product document', + domain=[('type', '=', 'binary')])