diff --git a/product_approval_management/README.rst b/product_approval_management/README.rst new file mode 100644 index 000000000..ddedb215a --- /dev/null +++ b/product_approval_management/README.rst @@ -0,0 +1,40 @@ +.. image:: https://img.shields.io/badge/licence-LGPL--3-green.svg + :target: https://www.gnu.org/licenses/lgpl-3.0-standalone.html + :alt: License: lGPL-3 + +Product Approval +================ +* Product Approval Management is a Approval system for product creation + +Configuration +============= +* No additional configurations needed + +Company +------- +* `Cybrosys Techno Solutions `__ + +License +------- +General Public License, Version 3 (LGPL v3). +(https://www.odoo.com/documentation/user/13.0/legal/licenses/licenses.html) + +Credits +------- +Developer : (V16) Vishnu K P, Contact : odoo@cybrosys.com + +Bug Tracker +----------- +Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. + +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_approval_management/__init__.py b/product_approval_management/__init__.py new file mode 100644 index 000000000..52317f446 --- /dev/null +++ b/product_approval_management/__init__.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2020-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions () +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from . import models +from odoo import api, SUPERUSER_ID + + +def _default_product_confirm(cr, registry): + env = api.Environment(cr, SUPERUSER_ID, {}) + product = env['product.template'].search([]) + for rec in product: + rec.approve_state = 'confirmed' diff --git a/product_approval_management/__manifest__.py b/product_approval_management/__manifest__.py new file mode 100644 index 000000000..a77c5da37 --- /dev/null +++ b/product_approval_management/__manifest__.py @@ -0,0 +1,46 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2020-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions () +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +{ + 'name': "Product Approval", + 'version': '16.0.1.0.0', + 'category': "Extra tools", + 'summary': 'Product approval allow you to control the product creation', + 'description': "Using this module a user can create product which" + "will be in draft state and only a product manager can" + "confirm the product.Also only the confirmed products" + "can be selected from sale order line", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': "https://www.cybrosys.com", + 'depends': ['sale_management'], + 'data': ['security/product_approval_management_groups.xml', + 'security/ir.model.access.csv', + 'views/product_template_views.xml', + 'views/sale_order_views.xml'], + 'images': ['static/description/banner.jpg'], + 'post_init_hook': '_default_product_confirm', + 'license': 'LGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, +} diff --git a/product_approval_management/doc/RELEASE_NOTES.md b/product_approval_management/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..b914db7f1 --- /dev/null +++ b/product_approval_management/doc/RELEASE_NOTES.md @@ -0,0 +1,7 @@ +## Module + +#### 09.01.2024 +#### Version 16.0.1.0.0 +##### ADD + +- initial Commit for Product Approval diff --git a/product_approval_management/models/__init__.py b/product_approval_management/models/__init__.py new file mode 100644 index 000000000..d30b4d9a0 --- /dev/null +++ b/product_approval_management/models/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions () +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from . import product_template +from . import sale_order_line diff --git a/product_approval_management/models/product_template.py b/product_approval_management/models/product_template.py new file mode 100644 index 000000000..d8db80970 --- /dev/null +++ b/product_approval_management/models/product_template.py @@ -0,0 +1,48 @@ +# -*- coding: utf-8 -*- +############################################################################# + +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions () +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from odoo import fields, models + + +class ProductTemplate(models.Model): + """The module is used to add the approval state in the product form page""" + _inherit = 'product.template' + + approve_state = fields.Selection([('draft', 'Draft'), + ('confirmed', 'Confirmed')], + default='draft', string='State', + help='State to approve') + + def action_confirm_product_approval(self): + """Confirm button on the product form page""" + for rec in self: + rec.approve_state = 'confirmed' + + def action_reset_product_approval(self): + """Reset to draft state button on the product form page""" + for rec in self: + rec.approve_state = 'draft' + + def action_confirm_products(self): + """Bulk product approval button on the product form page""" + active_ids = self.env.context.get('active_ids') + products = self.env['product.template'].browse(active_ids) + products.confirm_product_approval() diff --git a/product_approval_management/models/sale_order_line.py b/product_approval_management/models/sale_order_line.py new file mode 100644 index 000000000..cacb7ffd9 --- /dev/null +++ b/product_approval_management/models/sale_order_line.py @@ -0,0 +1,37 @@ +# -*- coding: utf-8 -*- +############################################################################# + +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions () +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from odoo import fields, models + + +class SaleOrderLine(models.Model): + """Sale order line inherited to add the domain to the order line product""" + _inherit = 'sale.order.line' + + product_id = fields.Many2one('product.product', + string='Product', + domain="[('approve_state', '=', 'confirmed')," + " ('sale_ok', '=', True), '|', " + "('company_id', '=', False)," + "('company_id', '=', company_id)]", + change_default=True, ondelete='restrict', + check_company=True, + help="product field in sale order line") diff --git a/product_approval_management/security/ir.model.access.csv b/product_approval_management/security/ir.model.access.csv new file mode 100644 index 000000000..6b8596eff --- /dev/null +++ b/product_approval_management/security/ir.model.access.csv @@ -0,0 +1,2 @@ +id,name,model_id/id,group_id/id,perm_read,perm_write,perm_create,perm_unlink +access_product_approval_management_manager,access.product.approval.management.manager,model_product_template,product_approval_management_group_manager,1,1,1,1 diff --git a/product_approval_management/security/product_approval_management_groups.xml b/product_approval_management/security/product_approval_management_groups.xml new file mode 100644 index 000000000..3e0031bdf --- /dev/null +++ b/product_approval_management/security/product_approval_management_groups.xml @@ -0,0 +1,9 @@ + + + + + + Product Manager + + + diff --git a/product_approval_management/static/description/assets/icons/check.png b/product_approval_management/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/product_approval_management/static/description/assets/icons/check.png differ diff --git a/product_approval_management/static/description/assets/icons/chevron.png b/product_approval_management/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/product_approval_management/static/description/assets/icons/chevron.png differ diff --git a/product_approval_management/static/description/assets/icons/cogs.png b/product_approval_management/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/product_approval_management/static/description/assets/icons/cogs.png differ diff --git a/product_approval_management/static/description/assets/icons/consultation.png b/product_approval_management/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/product_approval_management/static/description/assets/icons/consultation.png differ diff --git a/product_approval_management/static/description/assets/icons/ecom-black.png b/product_approval_management/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/product_approval_management/static/description/assets/icons/ecom-black.png differ diff --git a/product_approval_management/static/description/assets/icons/education-black.png b/product_approval_management/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/product_approval_management/static/description/assets/icons/education-black.png differ diff --git a/product_approval_management/static/description/assets/icons/hotel-black.png b/product_approval_management/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/product_approval_management/static/description/assets/icons/hotel-black.png differ diff --git a/product_approval_management/static/description/assets/icons/license.png b/product_approval_management/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/product_approval_management/static/description/assets/icons/license.png differ diff --git a/product_approval_management/static/description/assets/icons/lifebuoy.png b/product_approval_management/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/product_approval_management/static/description/assets/icons/lifebuoy.png differ diff --git a/product_approval_management/static/description/assets/icons/manufacturing-black.png b/product_approval_management/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/product_approval_management/static/description/assets/icons/manufacturing-black.png differ diff --git a/product_approval_management/static/description/assets/icons/pos-black.png b/product_approval_management/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/product_approval_management/static/description/assets/icons/pos-black.png differ diff --git a/product_approval_management/static/description/assets/icons/puzzle.png b/product_approval_management/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/product_approval_management/static/description/assets/icons/puzzle.png differ diff --git a/product_approval_management/static/description/assets/icons/restaurant-black.png b/product_approval_management/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/product_approval_management/static/description/assets/icons/restaurant-black.png differ diff --git a/product_approval_management/static/description/assets/icons/service-black.png b/product_approval_management/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/product_approval_management/static/description/assets/icons/service-black.png differ diff --git a/product_approval_management/static/description/assets/icons/trading-black.png b/product_approval_management/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/product_approval_management/static/description/assets/icons/trading-black.png differ diff --git a/product_approval_management/static/description/assets/icons/training.png b/product_approval_management/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/product_approval_management/static/description/assets/icons/training.png differ diff --git a/product_approval_management/static/description/assets/icons/update.png b/product_approval_management/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/product_approval_management/static/description/assets/icons/update.png differ diff --git a/product_approval_management/static/description/assets/icons/user.png b/product_approval_management/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/product_approval_management/static/description/assets/icons/user.png differ diff --git a/product_approval_management/static/description/assets/icons/wrench.png b/product_approval_management/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/product_approval_management/static/description/assets/icons/wrench.png differ diff --git a/product_approval_management/static/description/assets/misc/categories.png b/product_approval_management/static/description/assets/misc/categories.png new file mode 100644 index 000000000..bedf1e0b1 Binary files /dev/null and b/product_approval_management/static/description/assets/misc/categories.png differ diff --git a/product_approval_management/static/description/assets/misc/check-box.png b/product_approval_management/static/description/assets/misc/check-box.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/product_approval_management/static/description/assets/misc/check-box.png differ diff --git a/product_approval_management/static/description/assets/misc/compass.png b/product_approval_management/static/description/assets/misc/compass.png new file mode 100644 index 000000000..d5fed8faa Binary files /dev/null and b/product_approval_management/static/description/assets/misc/compass.png differ diff --git a/product_approval_management/static/description/assets/misc/corporate.png b/product_approval_management/static/description/assets/misc/corporate.png new file mode 100644 index 000000000..2eb13edbf Binary files /dev/null and b/product_approval_management/static/description/assets/misc/corporate.png differ diff --git a/product_approval_management/static/description/assets/misc/customer-support.png b/product_approval_management/static/description/assets/misc/customer-support.png new file mode 100644 index 000000000..79efc72ed Binary files /dev/null and b/product_approval_management/static/description/assets/misc/customer-support.png differ diff --git a/product_approval_management/static/description/assets/misc/cybrosys-logo.png b/product_approval_management/static/description/assets/misc/cybrosys-logo.png new file mode 100644 index 000000000..cc3cc0ccf Binary files /dev/null and b/product_approval_management/static/description/assets/misc/cybrosys-logo.png differ diff --git a/product_approval_management/static/description/assets/misc/features.png b/product_approval_management/static/description/assets/misc/features.png new file mode 100644 index 000000000..b41769f77 Binary files /dev/null and b/product_approval_management/static/description/assets/misc/features.png differ diff --git a/product_approval_management/static/description/assets/misc/logo.png b/product_approval_management/static/description/assets/misc/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/product_approval_management/static/description/assets/misc/logo.png differ diff --git a/product_approval_management/static/description/assets/misc/pictures.png b/product_approval_management/static/description/assets/misc/pictures.png new file mode 100644 index 000000000..56d255fe9 Binary files /dev/null and b/product_approval_management/static/description/assets/misc/pictures.png differ diff --git a/product_approval_management/static/description/assets/misc/pie-chart.png b/product_approval_management/static/description/assets/misc/pie-chart.png new file mode 100644 index 000000000..426e05244 Binary files /dev/null and b/product_approval_management/static/description/assets/misc/pie-chart.png differ diff --git a/product_approval_management/static/description/assets/misc/right-arrow.png b/product_approval_management/static/description/assets/misc/right-arrow.png new file mode 100644 index 000000000..730984a06 Binary files /dev/null and b/product_approval_management/static/description/assets/misc/right-arrow.png differ diff --git a/product_approval_management/static/description/assets/misc/star.png b/product_approval_management/static/description/assets/misc/star.png new file mode 100644 index 000000000..2eb9ab29f Binary files /dev/null and b/product_approval_management/static/description/assets/misc/star.png differ diff --git a/product_approval_management/static/description/assets/misc/support.png b/product_approval_management/static/description/assets/misc/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/product_approval_management/static/description/assets/misc/support.png differ diff --git a/product_approval_management/static/description/assets/misc/whatsapp.png b/product_approval_management/static/description/assets/misc/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/product_approval_management/static/description/assets/misc/whatsapp.png differ diff --git a/product_approval_management/static/description/assets/modules/1.png b/product_approval_management/static/description/assets/modules/1.png new file mode 100644 index 000000000..3415917c2 Binary files /dev/null and b/product_approval_management/static/description/assets/modules/1.png differ diff --git a/product_approval_management/static/description/assets/modules/4.png b/product_approval_management/static/description/assets/modules/4.png new file mode 100644 index 000000000..359d3e4d6 Binary files /dev/null and b/product_approval_management/static/description/assets/modules/4.png differ diff --git a/product_approval_management/static/description/assets/modules/db.png b/product_approval_management/static/description/assets/modules/db.png new file mode 100644 index 000000000..68e916f4d Binary files /dev/null and b/product_approval_management/static/description/assets/modules/db.png differ diff --git a/product_approval_management/static/description/assets/modules/digital.png b/product_approval_management/static/description/assets/modules/digital.png new file mode 100644 index 000000000..f088c60a2 Binary files /dev/null and b/product_approval_management/static/description/assets/modules/digital.png differ diff --git a/product_approval_management/static/description/assets/modules/hidemenu.png b/product_approval_management/static/description/assets/modules/hidemenu.png new file mode 100644 index 000000000..2c8fbb83f Binary files /dev/null and b/product_approval_management/static/description/assets/modules/hidemenu.png differ diff --git a/product_approval_management/static/description/assets/modules/userlog.png b/product_approval_management/static/description/assets/modules/userlog.png new file mode 100644 index 000000000..99298bf4b Binary files /dev/null and b/product_approval_management/static/description/assets/modules/userlog.png differ diff --git a/product_approval_management/static/description/assets/screenshots/hero.gif b/product_approval_management/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..3608a48e2 Binary files /dev/null and b/product_approval_management/static/description/assets/screenshots/hero.gif differ diff --git a/product_approval_management/static/description/assets/screenshots/product.jpg b/product_approval_management/static/description/assets/screenshots/product.jpg new file mode 100644 index 000000000..94656ed73 Binary files /dev/null and b/product_approval_management/static/description/assets/screenshots/product.jpg differ diff --git a/product_approval_management/static/description/assets/screenshots/sale_order.jpg b/product_approval_management/static/description/assets/screenshots/sale_order.jpg new file mode 100644 index 000000000..52f132b56 Binary files /dev/null and b/product_approval_management/static/description/assets/screenshots/sale_order.jpg differ diff --git a/product_approval_management/static/description/assets/screenshots/user.jpg b/product_approval_management/static/description/assets/screenshots/user.jpg new file mode 100644 index 000000000..0e025f407 Binary files /dev/null and b/product_approval_management/static/description/assets/screenshots/user.jpg differ diff --git a/product_approval_management/static/description/banner.jpg b/product_approval_management/static/description/banner.jpg new file mode 100644 index 000000000..f72466f24 Binary files /dev/null and b/product_approval_management/static/description/banner.jpg differ diff --git a/product_approval_management/static/description/icon.png b/product_approval_management/static/description/icon.png new file mode 100644 index 000000000..7ff5efad7 Binary files /dev/null and b/product_approval_management/static/description/icon.png differ diff --git a/product_approval_management/static/description/images/icons/ecom.png b/product_approval_management/static/description/images/icons/ecom.png new file mode 100644 index 000000000..6e720d50e Binary files /dev/null and b/product_approval_management/static/description/images/icons/ecom.png differ diff --git a/product_approval_management/static/description/images/icons/education.png b/product_approval_management/static/description/images/icons/education.png new file mode 100644 index 000000000..f0de98eb0 Binary files /dev/null and b/product_approval_management/static/description/images/icons/education.png differ diff --git a/product_approval_management/static/description/images/icons/hotel.png b/product_approval_management/static/description/images/icons/hotel.png new file mode 100644 index 000000000..917c6a63e Binary files /dev/null and b/product_approval_management/static/description/images/icons/hotel.png differ diff --git a/product_approval_management/static/description/images/icons/manufacturing.png b/product_approval_management/static/description/images/icons/manufacturing.png new file mode 100644 index 000000000..68c3722f8 Binary files /dev/null and b/product_approval_management/static/description/images/icons/manufacturing.png differ diff --git a/product_approval_management/static/description/images/icons/pos.png b/product_approval_management/static/description/images/icons/pos.png new file mode 100644 index 000000000..600bfe4f9 Binary files /dev/null and b/product_approval_management/static/description/images/icons/pos.png differ diff --git a/product_approval_management/static/description/images/icons/restaurant.png b/product_approval_management/static/description/images/icons/restaurant.png new file mode 100644 index 000000000..680acf29e Binary files /dev/null and b/product_approval_management/static/description/images/icons/restaurant.png differ diff --git a/product_approval_management/static/description/images/icons/service.png b/product_approval_management/static/description/images/icons/service.png new file mode 100644 index 000000000..bfbe7a6d2 Binary files /dev/null and b/product_approval_management/static/description/images/icons/service.png differ diff --git a/product_approval_management/static/description/images/icons/trading.png b/product_approval_management/static/description/images/icons/trading.png new file mode 100644 index 000000000..a741219b5 Binary files /dev/null and b/product_approval_management/static/description/images/icons/trading.png differ diff --git a/product_approval_management/static/description/index.html b/product_approval_management/static/description/index.html new file mode 100644 index 000000000..b130bbb99 --- /dev/null +++ b/product_approval_management/static/description/index.html @@ -0,0 +1,535 @@ +
+ +
+ +
+
+ Community +
+
+ Enterprise +
+
+ Odoo SH +
+ +
+
+ +
+
+
+ +

+ Product + Approval

+

+ A Powerful Tool For Companies Looking To Maintain Control Over The Introduction Of New Products.

+ + +
+
+
+
+ + +
+
+ +
+

Explore This + Module

+
+ + + + +
+
+ +
+

Overview +

+
+
+
+ Introducing Approval For Products In The Odoo. The Module Help To + Provide Users With An Approval Feature On Product Creation And Only Those Approved Products Can Be Used In Sale Orders. +
+
+ + + +
+
+ +
+

Features +

+
+
+
+
+ + Community & + Enterprise Support. +
+
+ + User Permissions +
+
+ + Only The Product Manager Can Approve The Product +
+
+ + Newly generated products are first going to be in draft state. +
+
+ + The Sale Order Line Displays Only Approved Products. +
+
+
+
+
+ + + +
+
+ +
+

Screenshots +

+
+
+
+ +
+

Product Manager +

+

Product Manager Check Box

+ +
+ +
+

CONFIRM Button +

+

CONFIRM Button In Product Form Page

+ +
+
+
+ + + +
+
+ +
+

Related + Products +

+
+
+
+

Related Modules

+

Explore our related modules

+
+
+
+ +
+
+ + + +
+
+ +
+

Our Services +

+
+
+
+
+
+ +
+
+ Odoo + Customization
+
+
+
+ +
+
+ Odoo + Implementation
+
+
+
+ +
+
+ Odoo + Support
+
+
+
+ +
+
+ Hire + Odoo + Developer
+
+
+
+ +
+
+ Odoo + Integration
+
+
+
+ +
+
+ Odoo + Migration
+
+
+
+ +
+
+ Odoo + Consultancy
+
+
+
+ +
+
+ Odoo + Implementation
+
+
+
+ +
+
+ Odoo + Licensing Consultancy
+
+
+ +
+ + + + +
+
+ +
+

Our + Industries +

+
+
+
+
+
+ +
+ Trading +
+

+ Easily procure + and + sell your products

+
+
+
+
+ +
+ POS +
+

+ Easy + configuration + and convivial experience

+
+
+
+
+ +
+ Education +
+

+ A platform for + educational management

+
+
+
+
+ +
+ Manufacturing +
+

+ Plan, track and + schedule your operations

+
+
+
+
+ +
+ E-commerce & Website +
+

+ Mobile + friendly, + awe-inspiring product pages

+
+
+
+
+ +
+ Service Management +
+

+ Keep track of + services and invoice

+
+
+
+
+ +
+ Restaurant +
+

+ Run your bar or + restaurant methodically

+
+
+
+
+ +
+ Hotel Management +
+

+ An + all-inclusive + hotel management application

+
+
+
+
+ + + +
+
+ +
+

Support +

+
+
+
+
+
+
+ +
+
+

Need Help?

+

Got questions or need help? Get in touch.

+ +

+ odoo@cybrosys.com

+
+
+
+
+
+
+
+ +
+
+

WhatsApp

+

Say hi to us on WhatsApp!

+ +

+91 86068 + 27707

+
+
+
+
+
+
+
+ +
+
+
+ diff --git a/product_approval_management/views/product_template_views.xml b/product_approval_management/views/product_template_views.xml new file mode 100644 index 000000000..e085de854 --- /dev/null +++ b/product_approval_management/views/product_template_views.xml @@ -0,0 +1,46 @@ + + + + + product.template.view.form.inherit.product.approval.management + product.template + + +
+
+
+
+ + + product.template.view.search.inherit.product.approval.management + product.template + + + + + + + + + + + + + Confirm + + code + model.confirm_products() + + + +
diff --git a/product_approval_management/views/sale_order_views.xml b/product_approval_management/views/sale_order_views.xml new file mode 100644 index 000000000..2a1431404 --- /dev/null +++ b/product_approval_management/views/sale_order_views.xml @@ -0,0 +1,18 @@ + + + + + sale.order.view.form.inherit.product.approval.management + sale.order + + + + [('approve_state', '=', 'confirmed'), + ('sale_ok', '=', True), '|', + ('company_id', '=', False), ('company_id', '=', company_id)] + + + + +