diff --git a/product_to_invoice/README.rst b/product_to_invoice/README.rst new file mode 100644 index 000000000..8e728d946 --- /dev/null +++ b/product_to_invoice/README.rst @@ -0,0 +1,46 @@ +.. 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 + +Add Multiple Products To Invoice/Bill +===================================== +Easily add multiple products to a customer invoice or vendor bill directly from product kanban, list and from views. + +Configuration +============= +No additional configuration is needed to use this module. + +License +------- +General Public License, Version 3 (LGPL v3). +(https://www.gnu.org/licenses/lgpl-3.0-standalone.html) + +Company +------- +* `Cybrosys Techno Solutions `__ + +Credits +------- +* Developer: (V16) Jumana Jabin MP , Contact: odoo@cybrosys.com + +Contacts +-------- +* Mail Contact : odoo@cybrosys.com +* Website : https://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_to_invoice/__init__.py b/product_to_invoice/__init__.py new file mode 100644 index 000000000..69eebbcf3 --- /dev/null +++ b/product_to_invoice/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author:Jumana Jabin MP() +# +# 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 . import wizard diff --git a/product_to_invoice/__manifest__.py b/product_to_invoice/__manifest__.py new file mode 100644 index 000000000..5a22792b7 --- /dev/null +++ b/product_to_invoice/__manifest__.py @@ -0,0 +1,49 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Jumana Jabin MP() +# +# 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': 'Add Multiple Products To Invoice/Bill', + 'version': '16.0.1.0.0', + 'category': 'Accounting', + 'summary': 'Easily add multiple products to a invoice/bill directly from ' + 'the product views', + 'description': """This module allow you to add multiple products to the + corresponding invoice/bill. You can see all products in kanban, list and + form view.You can also view the recent invoice/bill history of the + selected product along with the option to update the quantity, + Change price, Add Multiple Products""", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': "https://www.cybrosys.com", + 'depends': ['base', 'account'], + 'data': [ + 'security/ir.model.access.csv', + 'views/account_move_views.xml', + 'views/product_product_views.xml', + 'wizard/invoice_product_details_views.xml' + ], + 'images': ['static/description/banner.png'], + 'license': 'LGPL-3', + 'installable': True, + 'application': False, + 'auto_install': False +} diff --git a/product_to_invoice/doc/RELEASE_NOTES.md b/product_to_invoice/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..e98a40b3a --- /dev/null +++ b/product_to_invoice/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 25.07.2023 +#### Version 16.0.1.0.0 +##### ADD +- Initial commit for Add Multiple Products To Invoice/Bill diff --git a/product_to_invoice/models/__init__.py b/product_to_invoice/models/__init__.py new file mode 100644 index 000000000..d635d6dc4 --- /dev/null +++ b/product_to_invoice/models/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Jumana Jabin MP () +# +# 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 account_move +from . import product_product diff --git a/product_to_invoice/models/account_move.py b/product_to_invoice/models/account_move.py new file mode 100644 index 000000000..46eaa0d28 --- /dev/null +++ b/product_to_invoice/models/account_move.py @@ -0,0 +1,40 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Jumana Jabin MP () +# +# 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 models + + +class AccountMove(models.Model): + """Inherits the account_move model to add custom functionality.""" + _inherit = 'account.move' + + def action_add_product(self): + """Action method to open the product_product view and add products + to the invoice.""" + self.ensure_one() + return { + 'name': 'Product Variants', + 'type': 'ir.actions.act_window', + 'res_model': 'product.product', + 'view_mode': 'kanban,list,form', + 'target': 'current', + 'context': {'add_to_invoice': True}, + } diff --git a/product_to_invoice/models/product_product.py b/product_to_invoice/models/product_product.py new file mode 100644 index 000000000..dc89ba562 --- /dev/null +++ b/product_to_invoice/models/product_product.py @@ -0,0 +1,116 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Jumana Jabin MP() +# +# 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 api, fields, models + + +class ProductProduct(models.Model): + """This class extends the 'product.product' model in Odoo and adds + additional functionalities related to invoice handling.""" + _inherit = 'product.product' + + @api.depends_context('add_to_invoice') + def _compute_add_to_invoice(self): + """Compute the 'add_to_invoice' field based on the context. + The 'add_to_invoice' field is set to True when the context + variable 'add_to_invoice' is present and has a truthy value. + Otherwise, it is set to False.""" + for record in self: + record.add_to_invoice = bool(self.env.context.get('add_to_invoice') + ) + add_to_invoice = fields.Boolean( + string='Add to Invoice', + compute='_compute_add_to_invoice', + help='Whether to show the "Add to Invoice" button in the tree view.') + + def _get_invoice_taxes(self, move_id, account_id): + """Get invoice taxes based on move type and account.""" + self.ensure_one() + tax_ids = self.taxes_id.filtered( + lambda tax: tax.company_id == move_id.company_id) if \ + move_id.move_type == 'out_invoice' else \ + self.supplier_taxes_id.filtered( + lambda tax: tax.company_id == move_id.company_id) if \ + move_id.move_type == 'in_invoice' else \ + account_id.tax_ids + if not tax_ids: + tax_ids = move_id.company_id.account_sale_tax_id if \ + move_id.move_type == 'out_invoice' else \ + move_id.company_id.account_purchase_tax_id if \ + move_id.move_type == 'in_invoice' else \ + self.env['account.tax'] + if self.company_id and tax_ids: + tax_ids = tax_ids.filtered(lambda tax: tax.company_id == + self.company_id) + return tax_ids + + def _get_invoice_account(self, move_id): + """Return the income/expense account of the selected product.""" + self.ensure_one() + self = self.with_company(move_id.journal_id.company_id) + accounts = self.product_tmpl_id.get_product_accounts \ + (fiscal_pos=move_id.fiscal_position_id) + return accounts['income'] if move_id.move_type == 'out_invoice' \ + else accounts['expense'] + + def action_add_to_invoice(self): + """Add the product to the invoice. + This method is triggered when the "Add to Invoice" button is clicked. + It creates an invoice line and adds it to the invoice.""" + invoice_id = self.env['account.move']. \ + browse(self._context.get('active_id')) + account_id = self._get_invoice_account(invoice_id) + tax_ids = self._get_invoice_taxes(invoice_id, account_id) + invoice_line_vals = { + 'product_id': self.id, + 'product_uom_id': self.uom_id.id, + 'quantity': 1, + 'price_unit': self.lst_price if invoice_id.move_type == + 'out_invoice' + else self.standard_price, + 'account_id': account_id.id, + 'tax_ids': [(6, 0, tax_ids.ids)] + } + invoice_id.write({ + 'invoice_line_ids': [(0, 0, invoice_line_vals)] + }) + + def action_change_qty(self): + """Open the product details wizard. + This method is triggered when the "Change Qty" button is clicked. + It opens a wizard to modify the quantity and other details of + the product. """ + invoice_id = self.env['account.move'] \ + .browse(self._context.get('active_id')) + return { + 'name': 'Product Details', + 'type': 'ir.actions.act_window', + 'res_model': 'invoice.product.details', + 'view_mode': 'form', + 'target': 'new', + 'context': { + 'default_account_move_id': invoice_id.id, + 'default_product_id': self.id, + 'default_price_unit': self.lst_price if invoice_id.move_type + == 'out_invoice' + else self.standard_price, + }, + } diff --git a/product_to_invoice/security/ir.model.access.csv b/product_to_invoice/security/ir.model.access.csv new file mode 100644 index 000000000..ad0610476 --- /dev/null +++ b/product_to_invoice/security/ir.model.access.csv @@ -0,0 +1,3 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_invoice_product_details,access.invoice.product.details,model_invoice_product_details,base.group_user,1,1,1,1 +access_product_invoice_history,access.product.invoice.history,model_product_invoice_history,base.group_user,1,1,1,1 diff --git a/product_to_invoice/static/description/assets/icons/check.png b/product_to_invoice/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/product_to_invoice/static/description/assets/icons/check.png differ diff --git a/product_to_invoice/static/description/assets/icons/chevron.png b/product_to_invoice/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/product_to_invoice/static/description/assets/icons/chevron.png differ diff --git a/product_to_invoice/static/description/assets/icons/cogs.png b/product_to_invoice/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/product_to_invoice/static/description/assets/icons/cogs.png differ diff --git a/product_to_invoice/static/description/assets/icons/consultation.png b/product_to_invoice/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/product_to_invoice/static/description/assets/icons/consultation.png differ diff --git a/product_to_invoice/static/description/assets/icons/ecom-black.png b/product_to_invoice/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/product_to_invoice/static/description/assets/icons/ecom-black.png differ diff --git a/product_to_invoice/static/description/assets/icons/education-black.png b/product_to_invoice/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/product_to_invoice/static/description/assets/icons/education-black.png differ diff --git a/product_to_invoice/static/description/assets/icons/hotel-black.png b/product_to_invoice/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/product_to_invoice/static/description/assets/icons/hotel-black.png differ diff --git a/product_to_invoice/static/description/assets/icons/license.png b/product_to_invoice/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/product_to_invoice/static/description/assets/icons/license.png differ diff --git a/product_to_invoice/static/description/assets/icons/lifebuoy.png b/product_to_invoice/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/product_to_invoice/static/description/assets/icons/lifebuoy.png differ diff --git a/product_to_invoice/static/description/assets/icons/manufacturing-black.png b/product_to_invoice/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/product_to_invoice/static/description/assets/icons/manufacturing-black.png differ diff --git a/product_to_invoice/static/description/assets/icons/pos-black.png b/product_to_invoice/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/product_to_invoice/static/description/assets/icons/pos-black.png differ diff --git a/product_to_invoice/static/description/assets/icons/puzzle.png b/product_to_invoice/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/product_to_invoice/static/description/assets/icons/puzzle.png differ diff --git a/product_to_invoice/static/description/assets/icons/restaurant-black.png b/product_to_invoice/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/product_to_invoice/static/description/assets/icons/restaurant-black.png differ diff --git a/product_to_invoice/static/description/assets/icons/service-black.png b/product_to_invoice/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/product_to_invoice/static/description/assets/icons/service-black.png differ diff --git a/product_to_invoice/static/description/assets/icons/trading-black.png b/product_to_invoice/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/product_to_invoice/static/description/assets/icons/trading-black.png differ diff --git a/product_to_invoice/static/description/assets/icons/training.png b/product_to_invoice/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/product_to_invoice/static/description/assets/icons/training.png differ diff --git a/product_to_invoice/static/description/assets/icons/update.png b/product_to_invoice/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/product_to_invoice/static/description/assets/icons/update.png differ diff --git a/product_to_invoice/static/description/assets/icons/user.png b/product_to_invoice/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/product_to_invoice/static/description/assets/icons/user.png differ diff --git a/product_to_invoice/static/description/assets/icons/wrench.png b/product_to_invoice/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/product_to_invoice/static/description/assets/icons/wrench.png differ diff --git a/product_to_invoice/static/description/assets/misc/categories.png b/product_to_invoice/static/description/assets/misc/categories.png new file mode 100644 index 000000000..bedf1e0b1 Binary files /dev/null and b/product_to_invoice/static/description/assets/misc/categories.png differ diff --git a/product_to_invoice/static/description/assets/misc/check-box.png b/product_to_invoice/static/description/assets/misc/check-box.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/product_to_invoice/static/description/assets/misc/check-box.png differ diff --git a/product_to_invoice/static/description/assets/misc/compass.png b/product_to_invoice/static/description/assets/misc/compass.png new file mode 100644 index 000000000..d5fed8faa Binary files /dev/null and b/product_to_invoice/static/description/assets/misc/compass.png differ diff --git a/product_to_invoice/static/description/assets/misc/corporate.png b/product_to_invoice/static/description/assets/misc/corporate.png new file mode 100644 index 000000000..2eb13edbf Binary files /dev/null and b/product_to_invoice/static/description/assets/misc/corporate.png differ diff --git a/product_to_invoice/static/description/assets/misc/customer-support.png b/product_to_invoice/static/description/assets/misc/customer-support.png new file mode 100644 index 000000000..79efc72ed Binary files /dev/null and b/product_to_invoice/static/description/assets/misc/customer-support.png differ diff --git a/product_to_invoice/static/description/assets/misc/cybrosys-logo.png b/product_to_invoice/static/description/assets/misc/cybrosys-logo.png new file mode 100644 index 000000000..cc3cc0ccf Binary files /dev/null and b/product_to_invoice/static/description/assets/misc/cybrosys-logo.png differ diff --git a/product_to_invoice/static/description/assets/misc/features.png b/product_to_invoice/static/description/assets/misc/features.png new file mode 100644 index 000000000..b41769f77 Binary files /dev/null and b/product_to_invoice/static/description/assets/misc/features.png differ diff --git a/product_to_invoice/static/description/assets/misc/logo.png b/product_to_invoice/static/description/assets/misc/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/product_to_invoice/static/description/assets/misc/logo.png differ diff --git a/product_to_invoice/static/description/assets/misc/pictures.png b/product_to_invoice/static/description/assets/misc/pictures.png new file mode 100644 index 000000000..56d255fe9 Binary files /dev/null and b/product_to_invoice/static/description/assets/misc/pictures.png differ diff --git a/product_to_invoice/static/description/assets/misc/pie-chart.png b/product_to_invoice/static/description/assets/misc/pie-chart.png new file mode 100644 index 000000000..426e05244 Binary files /dev/null and b/product_to_invoice/static/description/assets/misc/pie-chart.png differ diff --git a/product_to_invoice/static/description/assets/misc/right-arrow.png b/product_to_invoice/static/description/assets/misc/right-arrow.png new file mode 100644 index 000000000..730984a06 Binary files /dev/null and b/product_to_invoice/static/description/assets/misc/right-arrow.png differ diff --git a/product_to_invoice/static/description/assets/misc/star.png b/product_to_invoice/static/description/assets/misc/star.png new file mode 100644 index 000000000..2eb9ab29f Binary files /dev/null and b/product_to_invoice/static/description/assets/misc/star.png differ diff --git a/product_to_invoice/static/description/assets/misc/support.png b/product_to_invoice/static/description/assets/misc/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/product_to_invoice/static/description/assets/misc/support.png differ diff --git a/product_to_invoice/static/description/assets/misc/whatsapp.png b/product_to_invoice/static/description/assets/misc/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/product_to_invoice/static/description/assets/misc/whatsapp.png differ diff --git a/product_to_invoice/static/description/assets/modules/11.png b/product_to_invoice/static/description/assets/modules/11.png new file mode 100644 index 000000000..e90228872 Binary files /dev/null and b/product_to_invoice/static/description/assets/modules/11.png differ diff --git a/product_to_invoice/static/description/assets/modules/12.png b/product_to_invoice/static/description/assets/modules/12.png new file mode 100644 index 000000000..df65629bf Binary files /dev/null and b/product_to_invoice/static/description/assets/modules/12.png differ diff --git a/product_to_invoice/static/description/assets/modules/13.png b/product_to_invoice/static/description/assets/modules/13.png new file mode 100644 index 000000000..7a9d3b1f6 Binary files /dev/null and b/product_to_invoice/static/description/assets/modules/13.png differ diff --git a/product_to_invoice/static/description/assets/modules/14.png b/product_to_invoice/static/description/assets/modules/14.png new file mode 100644 index 000000000..6058f6c3b Binary files /dev/null and b/product_to_invoice/static/description/assets/modules/14.png differ diff --git a/product_to_invoice/static/description/assets/modules/15.png b/product_to_invoice/static/description/assets/modules/15.png new file mode 100644 index 000000000..a44d454aa Binary files /dev/null and b/product_to_invoice/static/description/assets/modules/15.png differ diff --git a/product_to_invoice/static/description/assets/modules/16.png b/product_to_invoice/static/description/assets/modules/16.png new file mode 100644 index 000000000..d9374733c Binary files /dev/null and b/product_to_invoice/static/description/assets/modules/16.png differ diff --git a/product_to_invoice/static/description/assets/screenshots/hero.gif b/product_to_invoice/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..358937fe5 Binary files /dev/null and b/product_to_invoice/static/description/assets/screenshots/hero.gif differ diff --git a/product_to_invoice/static/description/assets/screenshots/product_to_invoice1.png b/product_to_invoice/static/description/assets/screenshots/product_to_invoice1.png new file mode 100644 index 000000000..8fc2023c6 Binary files /dev/null and b/product_to_invoice/static/description/assets/screenshots/product_to_invoice1.png differ diff --git a/product_to_invoice/static/description/assets/screenshots/product_to_invoice2.png b/product_to_invoice/static/description/assets/screenshots/product_to_invoice2.png new file mode 100644 index 000000000..077356e90 Binary files /dev/null and b/product_to_invoice/static/description/assets/screenshots/product_to_invoice2.png differ diff --git a/product_to_invoice/static/description/assets/screenshots/product_to_invoice3.png b/product_to_invoice/static/description/assets/screenshots/product_to_invoice3.png new file mode 100644 index 000000000..db7ae7d3a Binary files /dev/null and b/product_to_invoice/static/description/assets/screenshots/product_to_invoice3.png differ diff --git a/product_to_invoice/static/description/assets/screenshots/product_to_invoice4.png b/product_to_invoice/static/description/assets/screenshots/product_to_invoice4.png new file mode 100644 index 000000000..f4a5fe82d Binary files /dev/null and b/product_to_invoice/static/description/assets/screenshots/product_to_invoice4.png differ diff --git a/product_to_invoice/static/description/assets/screenshots/product_to_invoice5.png b/product_to_invoice/static/description/assets/screenshots/product_to_invoice5.png new file mode 100644 index 000000000..e7609351e Binary files /dev/null and b/product_to_invoice/static/description/assets/screenshots/product_to_invoice5.png differ diff --git a/product_to_invoice/static/description/assets/screenshots/product_to_invoice6.png b/product_to_invoice/static/description/assets/screenshots/product_to_invoice6.png new file mode 100644 index 000000000..07fecb420 Binary files /dev/null and b/product_to_invoice/static/description/assets/screenshots/product_to_invoice6.png differ diff --git a/product_to_invoice/static/description/assets/screenshots/product_to_invoice7.png b/product_to_invoice/static/description/assets/screenshots/product_to_invoice7.png new file mode 100644 index 000000000..3925b113e Binary files /dev/null and b/product_to_invoice/static/description/assets/screenshots/product_to_invoice7.png differ diff --git a/product_to_invoice/static/description/banner.png b/product_to_invoice/static/description/banner.png new file mode 100644 index 000000000..4da585abd Binary files /dev/null and b/product_to_invoice/static/description/banner.png differ diff --git a/product_to_invoice/static/description/icon.png b/product_to_invoice/static/description/icon.png new file mode 100644 index 000000000..87febb3d7 Binary files /dev/null and b/product_to_invoice/static/description/icon.png differ diff --git a/product_to_invoice/static/description/index.html b/product_to_invoice/static/description/index.html new file mode 100644 index 000000000..8637838aa --- /dev/null +++ b/product_to_invoice/static/description/index.html @@ -0,0 +1,772 @@ +
+ +
+ +
+
+ Community +
+
+ Enterprise +
+
+ Odoo Sh +
+
+
+
+
+
+

+ Add Multiple Products To Invoice/Bill

+

+ Add Multiple Products To Customer Invoice Or Vendor Bill +

+ +
+
+ + + + +
+
+

+ Overview +

+
+ +
+

+ Add Multiple Products to Invoice/Bill module provides an easy + way to add multiple products to the corresponding customer + invoice or vendor bill. Moreover, you can see all the products + in list, kanban and also in the form view. Furthermore, you + can see the recent invoice/bill history of the selected product.

+ +
+
+ + +
+
+

+ Features +

+
+ +
+
+ +
+
+

+ Smart button in customer invoice and vendor bill form view + to select products.

+

+ A definite Smart button in the form view of the customer + invoice and vendor bill helps you to select multiple + products to be directly added to the invoice or bill.

+
+
+ +
+
+ +
+
+

+ Displays products in multiple views.

+

+ Displays every product which have been defined in your + platform in Kanban, List and Form view.

+
+
+ +
+
+ +
+
+

+ Displays Recent Invoice and Bill History.

+

+ Displays recent customer invoice and vendor bill history of + the selected product in the wizard window.

+
+
+
+
+ +
+
+

+ Option to filter out the Invoice/Bill History.

+

+ Option to view recent invoice/billing history based on the + date selected.

+
+
+ +
+
+ +
+
+

+ Provision to Add Product Details.

+

+ Provision to add product details such as quantity of the + product to be invoiced/billed from the selected + product wizard.

+
+
+ + +
+ +
+
+

+ Screenshots +

+
+
+

+ Smart Button in Customer Invoice and Vendor Bill form view

+

+ Smart button in invoice and vendor bill form view to select + multiple products directly to the invoice/bill. + Moreover, the button will be visible only for invoice or bill in + the draft state.

+ + +
+ +
+

+ Display Products in Kanban View

+

+ Add to Invoice/Bill and Update Quantity button in the Kanban + view. + Click Add to Invoice/Bill to add the product directly to the + invoice/bill with one quantity and default price. + Click Change Quantity to add the product to the invoice/bill via + changing price and quantity. A wizard window + will appear in the screen to change price and quantity. +

+ +
+ +
+

+ Display Products in List view

+

+ A plus icon to add the product directly to the invoice/bill with + one quantity and default price. + A list icon to add the product to the invoice/bill via changing + price and quantity. A wizard window will appear + in the screen to change price and quantity. +

+ +
+ + +
+

+ Product Form View

+

+ Press the button "Add to Invoice/Bill" to add the product + directly to the invoice/bill. + Press the list icon to add the product to the invoice/bill by + changing price and quantity. +

+ +
+ +
+

+ Update Quantity Wizard

+

+ Where User Can Change Price and Quantity. + The wizard window also shows the previous invoice/bill history + of the selected product. + You can choose the form date of the previous invoice/bill + history. + You can decide how many rows (sequence) of invoice/bill history + should be shown. +

+ +
+ +
+

+ Products Added to Invoice/Bill

+

+ Selected products will be inserted to the move lines of opened + invoice/bill. +

+ +
+ +
+ + +
+
+ +
+

+ Related + Products +

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

+ 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

+
+
+
+
+
+
+
+ +
+
+
+
+
\ No newline at end of file diff --git a/product_to_invoice/views/account_move_views.xml b/product_to_invoice/views/account_move_views.xml new file mode 100644 index 000000000..18e5f60df --- /dev/null +++ b/product_to_invoice/views/account_move_views.xml @@ -0,0 +1,21 @@ + + + + + account.move.view.form.inherit.product.to.invoice + + account.move + + + + + + + + + + diff --git a/product_to_invoice/views/product_product_views.xml b/product_to_invoice/views/product_product_views.xml new file mode 100644 index 000000000..0887b46c0 --- /dev/null +++ b/product_to_invoice/views/product_product_views.xml @@ -0,0 +1,70 @@ + + + + + + product.product.view.tree.inherit.product.to.invoice + + product.product + + + + +