diff --git a/product_brand_inventory/README.md b/product_brand_inventory/README.md deleted file mode 100644 index c6fff90a7..000000000 --- a/product_brand_inventory/README.md +++ /dev/null @@ -1,31 +0,0 @@ -Product Brand in Inventory -========================== - -Installation -============ -- www.odoo.com/documentation/15.0/setup/install.html -- Install our custom addon - -License -======= -GNU AFFERO GENERAL PUBLIC LICENSE, Version 3 (AGPLv3) -(http://www.gnu.org/licenses/agpl.html) - -Bug Tracker -=========== -Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. - -Credits -======= -* Cybrosys Techno Solutions - - -Developer: Sonu Soman - sonu@cybrosys.info - -Maintainer ----------- - -This module is maintained by Cybrosys Technologies. - -For support and more information, please visit https://www.cybrosys.com. - diff --git a/product_brand_inventory/README.rst b/product_brand_inventory/README.rst new file mode 100644 index 000000000..796d4b853 --- /dev/null +++ b/product_brand_inventory/README.rst @@ -0,0 +1,44 @@ +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :target: https://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +Product Brand in Inventory +========================== + +This module lets you add Brand in Inventory and for products. + +Installation +============ +- www.odoo.com/documentation/16.0/setup/install.html +- Install our custom addon + +License +======= +GNU AFFERO GENERAL PUBLIC LICENSE, Version 3 (AGPLv3) +(http://www.gnu.org/licenses/agpl.html) + +Bug Tracker +=========== +Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. + +Contacts +-------- +* Mail Contact : odoo@cybrosys.com + +Credits +======= + +Developer: (V16) Sonu Soman, Contact: odoo@cybrosys.com + +Maintainer +---------- +.. image:: https://cybrosys.com/images/logo.png + :target: https://cybrosys.com + +This module is maintained by Cybrosys Technologies. + +For support and more information, please visit https://www.cybrosys.com. + +Further information +=================== +HTML Description: ``__ diff --git a/product_brand_inventory/__init__.py b/product_brand_inventory/__init__.py index 0959729ea..f319b7cb6 100644 --- a/product_brand_inventory/__init__.py +++ b/product_brand_inventory/__init__.py @@ -18,5 +18,4 @@ # along with this program. If not, see . # ################################################################################### - from . import models diff --git a/product_brand_inventory/__manifest__.py b/product_brand_inventory/__manifest__.py index 34962acb3..d40083752 100644 --- a/product_brand_inventory/__manifest__.py +++ b/product_brand_inventory/__manifest__.py @@ -20,9 +20,11 @@ ################################################################################### { 'name': 'Product Brand in Inventory', - 'version': '16.0.1.0.0', + 'version': '16.0.1.0.1', 'category': 'Warehouse', 'summary': 'Product Brand in Inventory', + 'description': 'This module lets you add ' + 'Brand in Inventory and for products.', 'author': 'Cybrosys Techno Solutions', 'company': 'Cybrosys Techno Solutions', 'maintainer': 'Cybrosys Techno Solutions', @@ -30,12 +32,11 @@ 'website': 'https://www.cybrosys.com', 'depends': ['stock'], 'data': [ - 'views/brand_views.xml', 'security/ir.model.access.csv', + 'views/brand_views.xml', ], 'license': 'AGPL-3', 'installable': True, 'auto_install': False, 'application': False, - } diff --git a/product_brand_inventory/doc/RELEASE_NOTES.md b/product_brand_inventory/doc/RELEASE_NOTES.md index 2b37f0b8e..8a4e12f80 100644 --- a/product_brand_inventory/doc/RELEASE_NOTES.md +++ b/product_brand_inventory/doc/RELEASE_NOTES.md @@ -3,3 +3,11 @@ #### 20.09.2021 #### Version 16.0.1.0.0 #### ADD + +- Initial commit for Product Brand in Inventory + +#### 18.08.2023 +#### Version 16.0.1.0.1 +#### UPDT + +- Update Brand Group By in Inventory Report diff --git a/product_brand_inventory/models/__init__.py b/product_brand_inventory/models/__init__.py index 79145f8f0..5854857e4 100644 --- a/product_brand_inventory/models/__init__.py +++ b/product_brand_inventory/models/__init__.py @@ -1 +1,21 @@ -from . import brand \ No newline at end of file +# -*- coding: utf-8 -*- +################################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2021-TODAY Cybrosys Technologies(). +# This program is free software: you can modify +# it under the terms of the GNU Affero General Public License (AGPL) as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +################################################################################### +from . import brand diff --git a/product_brand_inventory/models/brand.py b/product_brand_inventory/models/brand.py index 98fa61c66..b0fb76c47 100644 --- a/product_brand_inventory/models/brand.py +++ b/product_brand_inventory/models/brand.py @@ -18,7 +18,6 @@ # along with this program. If not, see . # ################################################################################### - from odoo import models, fields, api @@ -38,7 +37,6 @@ class BrandProduct(models.Model): @api.depends('member_ids') def get_count_products(self): - print('brand') self.product_count = len(self.member_ids) diff --git a/product_brand_inventory/views/brand_views.xml b/product_brand_inventory/views/brand_views.xml index 4ebdaeead..ebba3efa0 100644 --- a/product_brand_inventory/views/brand_views.xml +++ b/product_brand_inventory/views/brand_views.xml @@ -1,86 +1,111 @@ + - - - Brand Name - product.template - - - - - + + + product.template.form.view.inherit.product.brand + product.template + + + + - + + - - Product Brand - product.brand - tree,form - - - Product Brand - product.brand - -
- - -
-