diff --git a/account_journal_discount/README.rst b/account_journal_discount/README.rst new file mode 100644 index 000000000..ecdee45d4 --- /dev/null +++ b/account_journal_discount/README.rst @@ -0,0 +1,49 @@ +.. image:: https://img.shields.io/badge/license-AGPL--3-blue.svg + :target: https://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +Journal Discount on Invoices And Bills +-------------------------------------- +This module enables users to generate journal entries for discounts that are +offered on invoices or bills, and these discounts are accounted for after the +invoices or bills have been posted. + +Configuration +------------- +* The user must be added to the user group for viewing accounting features +in order to view the created journal entries + +Company +------- +* `Cybrosys Techno Solutions `__ + +License +------- +GNU AFFERO GENERAL PUBLIC LICENSE v3.0 (AGPL-3) +(https://www.gnu.org/licenses/agpl-3.0-standalone.html) + +Credits +------- +* Developers:(V16)Vivek VS @ cybrosys, 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 `Our Website `__ + +Further information +=================== +HTML Description: ``__ diff --git a/account_journal_discount/__init__.py b/account_journal_discount/__init__.py new file mode 100644 index 000000000..26f5bb434 --- /dev/null +++ b/account_journal_discount/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Vivek @ cybrosys,(odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################# +from . import models diff --git a/account_journal_discount/__manifest__.py b/account_journal_discount/__manifest__.py new file mode 100644 index 000000000..8f3c0ff8b --- /dev/null +++ b/account_journal_discount/__manifest__.py @@ -0,0 +1,42 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Vivek @ cybrosys,(odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################# +{ + 'name': 'Journal Discount on Invoices And Bills', + 'version': '16.0.1.0.0', + 'category': 'Accounting', + 'summary': """Create discount journal items for discounts in invoices and + bills""", + 'description': """This module enables users to generate journal entries + for discounts that are offered on invoices or bills, and these discounts + are accounted for after the invoices or bills have been posted.""", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': 'https://www.cybrosys.com', + 'depends': ['account'], + 'data': ['views/product_category_views.xml'], + 'images': ['static/description/banner.png'], + 'license': 'AGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, +} diff --git a/account_journal_discount/doc/RELEASE_NOTES.md b/account_journal_discount/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..df3f3082d --- /dev/null +++ b/account_journal_discount/doc/RELEASE_NOTES.md @@ -0,0 +1,7 @@ +## Module + +#### 23.01.2024 +#### Version 16.0.1.0.0 +#### ADD + +- Initial Commit for Journal Discount on Invoices And Bills. diff --git a/account_journal_discount/models/__init__.py b/account_journal_discount/models/__init__.py new file mode 100644 index 000000000..0031dcaba --- /dev/null +++ b/account_journal_discount/models/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Vivek @ cybrosys,(odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################# +from . import account_move +from . import product_category diff --git a/account_journal_discount/models/account_move.py b/account_journal_discount/models/account_move.py new file mode 100644 index 000000000..72245f3d2 --- /dev/null +++ b/account_journal_discount/models/account_move.py @@ -0,0 +1,95 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Vivek @ cybrosys,(odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################# +from odoo import models +from odoo.tools import float_round + + +class AccountMove(models.Model): + """This model is used for redefining the action_post function in order to + create journal entries for discount provided on invoice line and bills + """ + _inherit = 'account.move' + + def action_post(self): + """Redefining the function to create new journal entries whenever + journal discounts are provided. + """ + if self.move_type == 'out_invoice': + for line in self.invoice_line_ids: + if line.discount > 0 and \ + line.product_id.categ_id.customer_account_discount_id: + debit_credit_value = abs( + float_round((line.price_subtotal - line.price_unit), + precision_digits= + self.currency_id.decimal_places)) + self.env['account.move.line'].create({ + 'move_id': self.id, + 'currency_id': self.currency_id.id, + 'display_type': 'tax', + 'name': line.name, + 'account_id': line.product_id.categ_id.customer_account_discount_id.id, + 'journal_id': self.journal_id, + 'credit': 0, + 'debit': debit_credit_value, + }) + self.env['account.move.line'].create({ + 'move_id': self.id, + 'display_type': 'tax', + 'currency_id': self.currency_id.id, + 'name': line.name, + 'account_id': line.account_id.id, + 'journal_id': self.journal_id, + 'credit': debit_credit_value, + 'debit': 0, + }) + elif self.move_type == 'in_invoice': + for line in self.invoice_line_ids: + if line.discount > 0 and \ + line.product_id.categ_id.vendor_account_discount_id: + debit_credit_value = abs( + float_round((line.price_subtotal - line.price_unit), + precision_digits= + self.currency_id.decimal_places)) + self.env['account.move.line'].with_context( + check_move_validity=False).create({ + 'move_id': self.id, + 'display_type': 'tax', + 'name': line.name, + 'account_id': line.product_id.categ_id.vendor_account_discount_id.id, + 'journal_id': self.journal_id, + 'currency_id': self.currency_id.id, + 'credit': 0, + 'debit': debit_credit_value, + }) + self.env['account.move.line'].with_context( + check_move_validity=False).create({ + 'move_id': self.id, + 'display_type': 'tax', + 'name': line.name, + 'account_id': line.account_id.id, + 'journal_id': self.journal_id, + 'currency_id': self.currency_id.id, + 'credit': debit_credit_value, + 'debit': 0, + }) + res = super(AccountMove, self).action_post() + return res diff --git a/account_journal_discount/models/product_category.py b/account_journal_discount/models/product_category.py new file mode 100644 index 000000000..32870d2a3 --- /dev/null +++ b/account_journal_discount/models/product_category.py @@ -0,0 +1,51 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Vivek @ cybrosys,(odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################# +from odoo import models, fields + + +class ProductCategory(models.Model): + """Extending this model is required to add new fields for setting up + vendor and customer discount accounts. + """ + _inherit = "product.category" + + ACCOUNT_DOMAIN = "['&', '&', '&', ('deprecated', '=', False), " \ + "('account_type', 'not in', ('asset_receivable'," \ + "'liability_payable','asset_cash'," \ + "'liability_credit_card')), ('company_id', '=', " \ + "current_company_id), ('is_off_balance', '=', False)]" + # This account will be used vendor discount + vendor_account_discount_id = fields.Many2one('account.account', + help="account for setting up " + "vendor discounts", + company_dependent=True, + string= + "Vendor Discount Account", + domain=ACCOUNT_DOMAIN) + # This account will be used customer discount + customer_account_discount_id = fields.Many2one('account.account', + help="account for setting up" + " customer discounts", + company_dependent=True, + string= + "Customer Discount Account", + domain=ACCOUNT_DOMAIN) diff --git a/account_journal_discount/static/description/assets/icons/check.png b/account_journal_discount/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/account_journal_discount/static/description/assets/icons/check.png differ diff --git a/account_journal_discount/static/description/assets/icons/chevron.png b/account_journal_discount/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/account_journal_discount/static/description/assets/icons/chevron.png differ diff --git a/account_journal_discount/static/description/assets/icons/cogs.png b/account_journal_discount/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/account_journal_discount/static/description/assets/icons/cogs.png differ diff --git a/account_journal_discount/static/description/assets/icons/consultation.png b/account_journal_discount/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/account_journal_discount/static/description/assets/icons/consultation.png differ diff --git a/account_journal_discount/static/description/assets/icons/ecom-black.png b/account_journal_discount/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/account_journal_discount/static/description/assets/icons/ecom-black.png differ diff --git a/account_journal_discount/static/description/assets/icons/education-black.png b/account_journal_discount/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/account_journal_discount/static/description/assets/icons/education-black.png differ diff --git a/account_journal_discount/static/description/assets/icons/hotel-black.png b/account_journal_discount/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/account_journal_discount/static/description/assets/icons/hotel-black.png differ diff --git a/account_journal_discount/static/description/assets/icons/license.png b/account_journal_discount/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/account_journal_discount/static/description/assets/icons/license.png differ diff --git a/account_journal_discount/static/description/assets/icons/lifebuoy.png b/account_journal_discount/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/account_journal_discount/static/description/assets/icons/lifebuoy.png differ diff --git a/account_journal_discount/static/description/assets/icons/manufacturing-black.png b/account_journal_discount/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/account_journal_discount/static/description/assets/icons/manufacturing-black.png differ diff --git a/account_journal_discount/static/description/assets/icons/pos-black.png b/account_journal_discount/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/account_journal_discount/static/description/assets/icons/pos-black.png differ diff --git a/account_journal_discount/static/description/assets/icons/puzzle.png b/account_journal_discount/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/account_journal_discount/static/description/assets/icons/puzzle.png differ diff --git a/account_journal_discount/static/description/assets/icons/restaurant-black.png b/account_journal_discount/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/account_journal_discount/static/description/assets/icons/restaurant-black.png differ diff --git a/account_journal_discount/static/description/assets/icons/service-black.png b/account_journal_discount/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/account_journal_discount/static/description/assets/icons/service-black.png differ diff --git a/account_journal_discount/static/description/assets/icons/trading-black.png b/account_journal_discount/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/account_journal_discount/static/description/assets/icons/trading-black.png differ diff --git a/account_journal_discount/static/description/assets/icons/training.png b/account_journal_discount/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/account_journal_discount/static/description/assets/icons/training.png differ diff --git a/account_journal_discount/static/description/assets/icons/update.png b/account_journal_discount/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/account_journal_discount/static/description/assets/icons/update.png differ diff --git a/account_journal_discount/static/description/assets/icons/user.png b/account_journal_discount/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/account_journal_discount/static/description/assets/icons/user.png differ diff --git a/account_journal_discount/static/description/assets/icons/wrench.png b/account_journal_discount/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/account_journal_discount/static/description/assets/icons/wrench.png differ diff --git a/account_journal_discount/static/description/assets/misc/categories.png b/account_journal_discount/static/description/assets/misc/categories.png new file mode 100644 index 000000000..bedf1e0b1 Binary files /dev/null and b/account_journal_discount/static/description/assets/misc/categories.png differ diff --git a/account_journal_discount/static/description/assets/misc/check-box.png b/account_journal_discount/static/description/assets/misc/check-box.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/account_journal_discount/static/description/assets/misc/check-box.png differ diff --git a/account_journal_discount/static/description/assets/misc/compass.png b/account_journal_discount/static/description/assets/misc/compass.png new file mode 100644 index 000000000..d5fed8faa Binary files /dev/null and b/account_journal_discount/static/description/assets/misc/compass.png differ diff --git a/account_journal_discount/static/description/assets/misc/corporate.png b/account_journal_discount/static/description/assets/misc/corporate.png new file mode 100644 index 000000000..2eb13edbf Binary files /dev/null and b/account_journal_discount/static/description/assets/misc/corporate.png differ diff --git a/account_journal_discount/static/description/assets/misc/customer-support.png b/account_journal_discount/static/description/assets/misc/customer-support.png new file mode 100644 index 000000000..79efc72ed Binary files /dev/null and b/account_journal_discount/static/description/assets/misc/customer-support.png differ diff --git a/account_journal_discount/static/description/assets/misc/cybrosys-logo.png b/account_journal_discount/static/description/assets/misc/cybrosys-logo.png new file mode 100644 index 000000000..cc3cc0ccf Binary files /dev/null and b/account_journal_discount/static/description/assets/misc/cybrosys-logo.png differ diff --git a/account_journal_discount/static/description/assets/misc/features.png b/account_journal_discount/static/description/assets/misc/features.png new file mode 100644 index 000000000..b41769f77 Binary files /dev/null and b/account_journal_discount/static/description/assets/misc/features.png differ diff --git a/account_journal_discount/static/description/assets/misc/logo.png b/account_journal_discount/static/description/assets/misc/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/account_journal_discount/static/description/assets/misc/logo.png differ diff --git a/account_journal_discount/static/description/assets/misc/pictures.png b/account_journal_discount/static/description/assets/misc/pictures.png new file mode 100644 index 000000000..56d255fe9 Binary files /dev/null and b/account_journal_discount/static/description/assets/misc/pictures.png differ diff --git a/account_journal_discount/static/description/assets/misc/pie-chart.png b/account_journal_discount/static/description/assets/misc/pie-chart.png new file mode 100644 index 000000000..426e05244 Binary files /dev/null and b/account_journal_discount/static/description/assets/misc/pie-chart.png differ diff --git a/account_journal_discount/static/description/assets/misc/right-arrow.png b/account_journal_discount/static/description/assets/misc/right-arrow.png new file mode 100644 index 000000000..730984a06 Binary files /dev/null and b/account_journal_discount/static/description/assets/misc/right-arrow.png differ diff --git a/account_journal_discount/static/description/assets/misc/star.png b/account_journal_discount/static/description/assets/misc/star.png new file mode 100644 index 000000000..2eb9ab29f Binary files /dev/null and b/account_journal_discount/static/description/assets/misc/star.png differ diff --git a/account_journal_discount/static/description/assets/misc/support.png b/account_journal_discount/static/description/assets/misc/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/account_journal_discount/static/description/assets/misc/support.png differ diff --git a/account_journal_discount/static/description/assets/misc/whatsapp.png b/account_journal_discount/static/description/assets/misc/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/account_journal_discount/static/description/assets/misc/whatsapp.png differ diff --git a/account_journal_discount/static/description/assets/modules/1.png b/account_journal_discount/static/description/assets/modules/1.png new file mode 100644 index 000000000..359d3e4d6 Binary files /dev/null and b/account_journal_discount/static/description/assets/modules/1.png differ diff --git a/account_journal_discount/static/description/assets/modules/2.png b/account_journal_discount/static/description/assets/modules/2.png new file mode 100644 index 000000000..5c56f0bcd Binary files /dev/null and b/account_journal_discount/static/description/assets/modules/2.png differ diff --git a/account_journal_discount/static/description/assets/modules/3.png b/account_journal_discount/static/description/assets/modules/3.png new file mode 100644 index 000000000..c1f30354a Binary files /dev/null and b/account_journal_discount/static/description/assets/modules/3.png differ diff --git a/account_journal_discount/static/description/assets/modules/4.png b/account_journal_discount/static/description/assets/modules/4.png new file mode 100644 index 000000000..33372bdc1 Binary files /dev/null and b/account_journal_discount/static/description/assets/modules/4.png differ diff --git a/account_journal_discount/static/description/assets/modules/5.gif b/account_journal_discount/static/description/assets/modules/5.gif new file mode 100644 index 000000000..d0f36b007 Binary files /dev/null and b/account_journal_discount/static/description/assets/modules/5.gif differ diff --git a/account_journal_discount/static/description/assets/modules/6.png b/account_journal_discount/static/description/assets/modules/6.png new file mode 100644 index 000000000..29d072e4b Binary files /dev/null and b/account_journal_discount/static/description/assets/modules/6.png differ diff --git a/account_journal_discount/static/description/assets/screenshots/1.png b/account_journal_discount/static/description/assets/screenshots/1.png new file mode 100644 index 000000000..8b573ba41 Binary files /dev/null and b/account_journal_discount/static/description/assets/screenshots/1.png differ diff --git a/account_journal_discount/static/description/assets/screenshots/2.png b/account_journal_discount/static/description/assets/screenshots/2.png new file mode 100644 index 000000000..35be06843 Binary files /dev/null and b/account_journal_discount/static/description/assets/screenshots/2.png differ diff --git a/account_journal_discount/static/description/assets/screenshots/3.png b/account_journal_discount/static/description/assets/screenshots/3.png new file mode 100644 index 000000000..5d718eace Binary files /dev/null and b/account_journal_discount/static/description/assets/screenshots/3.png differ diff --git a/account_journal_discount/static/description/assets/screenshots/4.png b/account_journal_discount/static/description/assets/screenshots/4.png new file mode 100644 index 000000000..79f3cd9ec Binary files /dev/null and b/account_journal_discount/static/description/assets/screenshots/4.png differ diff --git a/account_journal_discount/static/description/assets/screenshots/5.png b/account_journal_discount/static/description/assets/screenshots/5.png new file mode 100644 index 000000000..2bdf54017 Binary files /dev/null and b/account_journal_discount/static/description/assets/screenshots/5.png differ diff --git a/account_journal_discount/static/description/assets/screenshots/6.png b/account_journal_discount/static/description/assets/screenshots/6.png new file mode 100644 index 000000000..ef9ce0a3f Binary files /dev/null and b/account_journal_discount/static/description/assets/screenshots/6.png differ diff --git a/account_journal_discount/static/description/assets/screenshots/hero.gif b/account_journal_discount/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..e7917ad1b Binary files /dev/null and b/account_journal_discount/static/description/assets/screenshots/hero.gif differ diff --git a/account_journal_discount/static/description/assets/screenshots/screenshots.zip b/account_journal_discount/static/description/assets/screenshots/screenshots.zip new file mode 100644 index 000000000..f2f722bc8 Binary files /dev/null and b/account_journal_discount/static/description/assets/screenshots/screenshots.zip differ diff --git a/account_journal_discount/static/description/banner.png b/account_journal_discount/static/description/banner.png new file mode 100644 index 000000000..6b06a96f0 Binary files /dev/null and b/account_journal_discount/static/description/banner.png differ diff --git a/account_journal_discount/static/description/icon.png b/account_journal_discount/static/description/icon.png new file mode 100644 index 000000000..996db63a6 Binary files /dev/null and b/account_journal_discount/static/description/icon.png differ diff --git a/account_journal_discount/static/description/index.html b/account_journal_discount/static/description/index.html new file mode 100644 index 000000000..86a51f817 --- /dev/null +++ b/account_journal_discount/static/description/index.html @@ -0,0 +1,674 @@ +
+ +
+ +
+
+ Community +
+
+ Enterprise +
+
+
+ + +
+
+
+ +

+ Journal Discount on Invoices And Bills

+

+ Discount journal items on Customer + invoices and Bill

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

+ Explore This + Module

+
+ + + + +
+
+ +
+

+ Overview +

+
+
+
+ This module allows users to create journal items for discount provided + on invoice line and bill after posting. +
+
+ + + +
+
+ +
+

+ Configuration +

+
+
+
+ After installing the app, the user needs to set the customer discount + account for customer invoices or vendor discount account for bills. + These accounts can be configured inside the product category of a + product. + The journal items created for discounts on posting, will use these + accounts. Further, the user needs be included in the user group for + viewing + accounting features in order to view the created journal items. +
+
+ + + +
+
+ +
+

Features +

+
+
+
+
+ + Allows users to create journal items for discounts on invoice +
+
+ + Supports Odoo16 Community and Enterprise edition +
+
+
+ + + +
+
+ +
+

+ Screenshots +

+
+
+
+
+

+ Set Account Journal + Properties

+

+ Select preferred account for customer and vendor discounts. + (If empty, journal items are not created). In the case of + customer discounts in invoices, the account configured inside product + categories will reflect debit transactions and the account for + product sales will reflect credit transaction. Similarly, for + vendor discounts in bills, the account configured inside product + categories will reflect debit transactions and account for + expenses will reflect credit transactions. +

+ +
+
+

+ Discount On Invoice + Line

+

+ Set discount on invoice + line

+ +
+
+

+ Customer Invoice + Before Posting

+

+ No discount journal items + are created before posting

+ +
+ + +
+

+ Customer Invoice + After Posting

+

+ Discount journal items are + created after posting

+ +
+
+

+ Vendor Bill Before + Posting

+

+ No discount journal items + are created before posting

+ +
+
+

+ Vendor Bill After + Posting

+

+ Discount journal items are + created after posting

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

+ 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

+
+
+
+
+
+
+
+ +
+
+
+ diff --git a/account_journal_discount/views/product_category_views.xml b/account_journal_discount/views/product_category_views.xml new file mode 100644 index 000000000..5a6a84676 --- /dev/null +++ b/account_journal_discount/views/product_category_views.xml @@ -0,0 +1,22 @@ + + + + + + + product.category.view.form.account.journal.discount + + product.category + + + + + + + + + + + + +