Browse Source

July 17: [FIX] Bug Fixed 'multiple_reference_per_product'

pull/395/head
Cybrosys Technologies 2 weeks ago
parent
commit
7a6885caed
  1. 2
      multiple_reference_per_product/__init__.py
  2. 4
      multiple_reference_per_product/__manifest__.py
  3. 5
      multiple_reference_per_product/doc/RELEASE_NOTES.md
  4. 2
      multiple_reference_per_product/models/__init__.py
  5. 4
      multiple_reference_per_product/models/multiple_reference_per_product.py
  6. 2
      multiple_reference_per_product/models/product_product.py
  7. 2
      multiple_reference_per_product/models/product_template.py

2
multiple_reference_per_product/__init__.py

@ -3,7 +3,7 @@
# #
# Cybrosys Technologies Pvt. Ltd. # Cybrosys Technologies Pvt. Ltd.
# #
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) # Copyright (C) 2025-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>) # Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>)
# #
# You can modify it under the terms of the GNU AFFERO # You can modify it under the terms of the GNU AFFERO

4
multiple_reference_per_product/__manifest__.py

@ -3,7 +3,7 @@
# #
# Cybrosys Technologies Pvt. Ltd. # Cybrosys Technologies Pvt. Ltd.
# #
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) # Copyright (C) 2025-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>) # Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>)
# #
# You can modify it under the terms of the GNU AFFERO # You can modify it under the terms of the GNU AFFERO
@ -21,7 +21,7 @@
############################################################################### ###############################################################################
{ {
'name': "Multiple Reference Per Product", 'name': "Multiple Reference Per Product",
'version': '18.0.1.0.0', 'version': '18.0.1.0.1',
'summary': 'Allowing multiple references for each product.', 'summary': 'Allowing multiple references for each product.',
'description': "Add multiple reference code for a product template or " 'description': "Add multiple reference code for a product template or "
"product variant. Easily manage between the " "product variant. Easily manage between the "

5
multiple_reference_per_product/doc/RELEASE_NOTES.md

@ -4,3 +4,8 @@
#### Version 18.0.1.0.0 #### Version 18.0.1.0.0
#### ADD #### ADD
- Initial commit for Multiple Reference Per Product - Initial commit for Multiple Reference Per Product
#### 16.07.2025
#### Version 18.0.1.0.1
#### UPDT
- Update in the python decorator used in the create method.

2
multiple_reference_per_product/models/__init__.py

@ -3,7 +3,7 @@
# #
# Cybrosys Technologies Pvt. Ltd. # Cybrosys Technologies Pvt. Ltd.
# #
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) # Copyright (C) 2025-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>) # Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>)
# #
# You can modify it under the terms of the GNU AFFERO # You can modify it under the terms of the GNU AFFERO

4
multiple_reference_per_product/models/multiple_reference_per_product.py

@ -3,7 +3,7 @@
# #
# Cybrosys Technologies Pvt. Ltd. # Cybrosys Technologies Pvt. Ltd.
# #
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) # Copyright (C) 2025-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>) # Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>)
# #
# You can modify it under the terms of the GNU AFFERO # You can modify it under the terms of the GNU AFFERO
@ -58,7 +58,7 @@ class MultipleReferencePerProduct(models.Model):
}) })
return True if reference else False return True if reference else False
@api.model @api.model_create_multi
def create(self, values): def create(self, values):
"""Function to prevent the creation of duplicate references when """Function to prevent the creation of duplicate references when
adding a new record.""" adding a new record."""

2
multiple_reference_per_product/models/product_product.py

@ -3,7 +3,7 @@
# #
# Cybrosys Technologies Pvt. Ltd. # Cybrosys Technologies Pvt. Ltd.
# #
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) # Copyright (C) 2025-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>) # Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>)
# #
# You can modify it under the terms of the GNU AFFERO # You can modify it under the terms of the GNU AFFERO

2
multiple_reference_per_product/models/product_template.py

@ -3,7 +3,7 @@
# #
# Cybrosys Technologies Pvt. Ltd. # Cybrosys Technologies Pvt. Ltd.
# #
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) # Copyright (C) 2025-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>) # Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>)
# #
# You can modify it under the terms of the GNU AFFERO # You can modify it under the terms of the GNU AFFERO

Loading…
Cancel
Save