diff --git a/account_move_multi_cancel/README.rst b/account_move_multi_cancel/README.rst new file mode 100644 index 000000000..0feb890f4 --- /dev/null +++ b/account_move_multi_cancel/README.rst @@ -0,0 +1,46 @@ +.. image:: https://img.shields.io/badge/license-LGPL--3-green.svg + :target: https://www.gnu.org/licenses/lgpl-3.0-standalone.html + :alt: License: LGPL-3 + +Mass Journal Entry Cancel +========================= +This module helps to cancel or reset multiple journal entries + +Configuration +============= +* No additional configuration required + +Company +------- +* `Cybrosys Techno Solutions `__ + +License +------- +General Public License, Version 3 (LGPL v3). +(https://www.gnu.org/licenses/lgpl-3.0-standalone.html) + +Credits +------- +* Developer: (V15) Mohammed Dilshad Tk , Contact: odoo@cybrosys.com + +Contacts +-------- +* Mail 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 further information, please visit `Our Website `__ + +Further information +=================== +HTML Description: ``__ diff --git a/account_move_multi_cancel/__init__.py b/account_move_multi_cancel/__init__.py new file mode 100644 index 000000000..3f8ce322e --- /dev/null +++ b/account_move_multi_cancel/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Mohammed Dilshad Tk (odoo@cybrosys.com) +# +# 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 wizards diff --git a/account_move_multi_cancel/__manifest__.py b/account_move_multi_cancel/__manifest__.py new file mode 100644 index 000000000..52e9c5667 --- /dev/null +++ b/account_move_multi_cancel/__manifest__.py @@ -0,0 +1,46 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Mohammed Dilshad Tk (odoo@cybrosys.com) +# +# 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': "Mass Journal Entry Cancel", + "version": "15.0.1.0.0", + "category": "Accounting", + "summary": "User can cancel or reset multiple journal entries ", + "description": """ This module helps cancel or reset multiple journal + entries simultaneously.User can select multiple journal entries from the + tree view and we can either cancel or reset selected journal entries. """, + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': "https://www.cybrosys.com", + 'depends': ['account'], + 'data': [ + 'security/account_move_multi_cancel_groups.xml', + 'security/ir.model.access.csv', + 'data/ir_actions_data.xml', + 'wizards/account_move_cancel_reset_views.xml' + ], + 'images': ['static/description/banner.png'], + 'license': 'LGPL-3', + 'installable': True, + 'application': False, + 'auto_install': False, +} diff --git a/account_move_multi_cancel/data/ir_actions_data.xml b/account_move_multi_cancel/data/ir_actions_data.xml new file mode 100644 index 000000000..8caaf8f9a --- /dev/null +++ b/account_move_multi_cancel/data/ir_actions_data.xml @@ -0,0 +1,33 @@ + + + + + + Multiple Journal Entry Cancel + + + list + + code + + action = record.cancel_multiple_journal_entry() + + + + + Multiple Journal Entry Reset + + + list + + code + + action = record.reset_multiple_journal_entry() + + + + diff --git a/account_move_multi_cancel/doc/RELEASE_NOTES.md b/account_move_multi_cancel/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..abf9130e9 --- /dev/null +++ b/account_move_multi_cancel/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 18.10.2023 +#### Version 15.0.1.0.0 +#### ADD +- Initial commit for Mass Journal Entry Cancel diff --git a/account_move_multi_cancel/models/__init__.py b/account_move_multi_cancel/models/__init__.py new file mode 100644 index 000000000..7f570e1b8 --- /dev/null +++ b/account_move_multi_cancel/models/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Mohammed Dilshad Tk (odoo@cybrosys.com) +# +# 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 diff --git a/account_move_multi_cancel/models/account_move.py b/account_move_multi_cancel/models/account_move.py new file mode 100644 index 000000000..0188f7162 --- /dev/null +++ b/account_move_multi_cancel/models/account_move.py @@ -0,0 +1,56 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Mohammed Dilshad Tk (odoo@cybrosys.com) +# +# 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): + """ Server action function for cancel and reset journal entries """ + _inherit = "account.move" + + def cancel_multiple_journal_entry(self): + """ Return the confirmation window for cancel journal entry """ + return { + 'type': 'ir.actions.act_window', + 'name': 'Multiple Journal Entry Cancel', + 'view_mode': 'form', + 'views': [(self.env.ref( + 'account_move_multi_cancel.' + 'cancel_account_move_cancel_reset_view_form') + .id, 'form')], + 'target': 'new', + 'res_model': 'account.move.cancel.reset', + 'context': {'active_ids': self._context.get('active_ids')} + } + + def reset_multiple_journal_entry(self): + """ Return the confirmation window for reset journal entry """ + return { + 'type': 'ir.actions.act_window', + 'name': 'Multiple Journal Entry Reset', + 'view_mode': 'form', + 'views': [(self.env.ref( + 'account_move_multi_cancel.account_move_cancel_reset_view_form') + .id, 'form')], + 'target': 'new', + 'res_model': 'account.move.cancel.reset', + 'context': {'active_ids': self._context.get('active_ids')} + } diff --git a/account_move_multi_cancel/security/account_move_multi_cancel_groups.xml b/account_move_multi_cancel/security/account_move_multi_cancel_groups.xml new file mode 100644 index 000000000..24c06dab7 --- /dev/null +++ b/account_move_multi_cancel/security/account_move_multi_cancel_groups.xml @@ -0,0 +1,8 @@ + + + + + Manage Multiple Journal Entry Cancel + + + diff --git a/account_move_multi_cancel/security/ir.model.access.csv b/account_move_multi_cancel/security/ir.model.access.csv new file mode 100644 index 000000000..8a32a0e02 --- /dev/null +++ b/account_move_multi_cancel/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.account.move.cancel.reset,access.account.move.cancel.reset,model_account_move_cancel_reset,account_move_multi_cancel_group_user,1,1,1,1 diff --git a/account_move_multi_cancel/static/description/assets/icons/check.png b/account_move_multi_cancel/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/account_move_multi_cancel/static/description/assets/icons/check.png differ diff --git a/account_move_multi_cancel/static/description/assets/icons/chevron.png b/account_move_multi_cancel/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/account_move_multi_cancel/static/description/assets/icons/chevron.png differ diff --git a/account_move_multi_cancel/static/description/assets/icons/cogs.png b/account_move_multi_cancel/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/account_move_multi_cancel/static/description/assets/icons/cogs.png differ diff --git a/account_move_multi_cancel/static/description/assets/icons/consultation.png b/account_move_multi_cancel/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/account_move_multi_cancel/static/description/assets/icons/consultation.png differ diff --git a/account_move_multi_cancel/static/description/assets/icons/ecom-black.png b/account_move_multi_cancel/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/account_move_multi_cancel/static/description/assets/icons/ecom-black.png differ diff --git a/account_move_multi_cancel/static/description/assets/icons/education-black.png b/account_move_multi_cancel/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/account_move_multi_cancel/static/description/assets/icons/education-black.png differ diff --git a/account_move_multi_cancel/static/description/assets/icons/hotel-black.png b/account_move_multi_cancel/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/account_move_multi_cancel/static/description/assets/icons/hotel-black.png differ diff --git a/account_move_multi_cancel/static/description/assets/icons/license.png b/account_move_multi_cancel/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/account_move_multi_cancel/static/description/assets/icons/license.png differ diff --git a/account_move_multi_cancel/static/description/assets/icons/lifebuoy.png b/account_move_multi_cancel/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/account_move_multi_cancel/static/description/assets/icons/lifebuoy.png differ diff --git a/account_move_multi_cancel/static/description/assets/icons/manufacturing-black.png b/account_move_multi_cancel/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/account_move_multi_cancel/static/description/assets/icons/manufacturing-black.png differ diff --git a/account_move_multi_cancel/static/description/assets/icons/pos-black.png b/account_move_multi_cancel/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/account_move_multi_cancel/static/description/assets/icons/pos-black.png differ diff --git a/account_move_multi_cancel/static/description/assets/icons/puzzle.png b/account_move_multi_cancel/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/account_move_multi_cancel/static/description/assets/icons/puzzle.png differ diff --git a/account_move_multi_cancel/static/description/assets/icons/restaurant-black.png b/account_move_multi_cancel/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/account_move_multi_cancel/static/description/assets/icons/restaurant-black.png differ diff --git a/account_move_multi_cancel/static/description/assets/icons/service-black.png b/account_move_multi_cancel/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/account_move_multi_cancel/static/description/assets/icons/service-black.png differ diff --git a/account_move_multi_cancel/static/description/assets/icons/trading-black.png b/account_move_multi_cancel/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/account_move_multi_cancel/static/description/assets/icons/trading-black.png differ diff --git a/account_move_multi_cancel/static/description/assets/icons/training.png b/account_move_multi_cancel/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/account_move_multi_cancel/static/description/assets/icons/training.png differ diff --git a/account_move_multi_cancel/static/description/assets/icons/update.png b/account_move_multi_cancel/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/account_move_multi_cancel/static/description/assets/icons/update.png differ diff --git a/account_move_multi_cancel/static/description/assets/icons/user.png b/account_move_multi_cancel/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/account_move_multi_cancel/static/description/assets/icons/user.png differ diff --git a/account_move_multi_cancel/static/description/assets/icons/wrench.png b/account_move_multi_cancel/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/account_move_multi_cancel/static/description/assets/icons/wrench.png differ diff --git a/account_move_multi_cancel/static/description/assets/misc/categories.png b/account_move_multi_cancel/static/description/assets/misc/categories.png new file mode 100644 index 000000000..bedf1e0b1 Binary files /dev/null and b/account_move_multi_cancel/static/description/assets/misc/categories.png differ diff --git a/account_move_multi_cancel/static/description/assets/misc/check-box.png b/account_move_multi_cancel/static/description/assets/misc/check-box.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/account_move_multi_cancel/static/description/assets/misc/check-box.png differ diff --git a/account_move_multi_cancel/static/description/assets/misc/compass.png b/account_move_multi_cancel/static/description/assets/misc/compass.png new file mode 100644 index 000000000..d5fed8faa Binary files /dev/null and b/account_move_multi_cancel/static/description/assets/misc/compass.png differ diff --git a/account_move_multi_cancel/static/description/assets/misc/corporate.png b/account_move_multi_cancel/static/description/assets/misc/corporate.png new file mode 100644 index 000000000..2eb13edbf Binary files /dev/null and b/account_move_multi_cancel/static/description/assets/misc/corporate.png differ diff --git a/account_move_multi_cancel/static/description/assets/misc/customer-support.png b/account_move_multi_cancel/static/description/assets/misc/customer-support.png new file mode 100644 index 000000000..79efc72ed Binary files /dev/null and b/account_move_multi_cancel/static/description/assets/misc/customer-support.png differ diff --git a/account_move_multi_cancel/static/description/assets/misc/cybrosys-logo.png b/account_move_multi_cancel/static/description/assets/misc/cybrosys-logo.png new file mode 100644 index 000000000..cc3cc0ccf Binary files /dev/null and b/account_move_multi_cancel/static/description/assets/misc/cybrosys-logo.png differ diff --git a/account_move_multi_cancel/static/description/assets/misc/features.png b/account_move_multi_cancel/static/description/assets/misc/features.png new file mode 100644 index 000000000..b41769f77 Binary files /dev/null and b/account_move_multi_cancel/static/description/assets/misc/features.png differ diff --git a/account_move_multi_cancel/static/description/assets/misc/logo.png b/account_move_multi_cancel/static/description/assets/misc/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/account_move_multi_cancel/static/description/assets/misc/logo.png differ diff --git a/account_move_multi_cancel/static/description/assets/misc/pictures.png b/account_move_multi_cancel/static/description/assets/misc/pictures.png new file mode 100644 index 000000000..56d255fe9 Binary files /dev/null and b/account_move_multi_cancel/static/description/assets/misc/pictures.png differ diff --git a/account_move_multi_cancel/static/description/assets/misc/pie-chart.png b/account_move_multi_cancel/static/description/assets/misc/pie-chart.png new file mode 100644 index 000000000..426e05244 Binary files /dev/null and b/account_move_multi_cancel/static/description/assets/misc/pie-chart.png differ diff --git a/account_move_multi_cancel/static/description/assets/misc/right-arrow.png b/account_move_multi_cancel/static/description/assets/misc/right-arrow.png new file mode 100644 index 000000000..730984a06 Binary files /dev/null and b/account_move_multi_cancel/static/description/assets/misc/right-arrow.png differ diff --git a/account_move_multi_cancel/static/description/assets/misc/star.png b/account_move_multi_cancel/static/description/assets/misc/star.png new file mode 100644 index 000000000..2eb9ab29f Binary files /dev/null and b/account_move_multi_cancel/static/description/assets/misc/star.png differ diff --git a/account_move_multi_cancel/static/description/assets/misc/support.png b/account_move_multi_cancel/static/description/assets/misc/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/account_move_multi_cancel/static/description/assets/misc/support.png differ diff --git a/account_move_multi_cancel/static/description/assets/misc/whatsapp.png b/account_move_multi_cancel/static/description/assets/misc/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/account_move_multi_cancel/static/description/assets/misc/whatsapp.png differ diff --git a/account_move_multi_cancel/static/description/assets/modules/module_1.png b/account_move_multi_cancel/static/description/assets/modules/module_1.png new file mode 100644 index 000000000..09e2d45b2 Binary files /dev/null and b/account_move_multi_cancel/static/description/assets/modules/module_1.png differ diff --git a/account_move_multi_cancel/static/description/assets/modules/module_2.png b/account_move_multi_cancel/static/description/assets/modules/module_2.png new file mode 100644 index 000000000..94c023fe1 Binary files /dev/null and b/account_move_multi_cancel/static/description/assets/modules/module_2.png differ diff --git a/account_move_multi_cancel/static/description/assets/modules/module_3.png b/account_move_multi_cancel/static/description/assets/modules/module_3.png new file mode 100644 index 000000000..6547c3081 Binary files /dev/null and b/account_move_multi_cancel/static/description/assets/modules/module_3.png differ diff --git a/account_move_multi_cancel/static/description/assets/modules/module_4.png b/account_move_multi_cancel/static/description/assets/modules/module_4.png new file mode 100644 index 000000000..0bbad468d Binary files /dev/null and b/account_move_multi_cancel/static/description/assets/modules/module_4.png differ diff --git a/account_move_multi_cancel/static/description/assets/modules/module_5.png b/account_move_multi_cancel/static/description/assets/modules/module_5.png new file mode 100644 index 000000000..3ad04ecfd Binary files /dev/null and b/account_move_multi_cancel/static/description/assets/modules/module_5.png differ diff --git a/account_move_multi_cancel/static/description/assets/modules/module_6.png b/account_move_multi_cancel/static/description/assets/modules/module_6.png new file mode 100644 index 000000000..84a21072b Binary files /dev/null and b/account_move_multi_cancel/static/description/assets/modules/module_6.png differ diff --git a/account_move_multi_cancel/static/description/assets/screenshots/1.png b/account_move_multi_cancel/static/description/assets/screenshots/1.png new file mode 100644 index 000000000..e4bed8a86 Binary files /dev/null and b/account_move_multi_cancel/static/description/assets/screenshots/1.png differ diff --git a/account_move_multi_cancel/static/description/assets/screenshots/2.png b/account_move_multi_cancel/static/description/assets/screenshots/2.png new file mode 100644 index 000000000..b29e1cec2 Binary files /dev/null and b/account_move_multi_cancel/static/description/assets/screenshots/2.png differ diff --git a/account_move_multi_cancel/static/description/assets/screenshots/3.png b/account_move_multi_cancel/static/description/assets/screenshots/3.png new file mode 100644 index 000000000..bd8672393 Binary files /dev/null and b/account_move_multi_cancel/static/description/assets/screenshots/3.png differ diff --git a/account_move_multi_cancel/static/description/assets/screenshots/4.png b/account_move_multi_cancel/static/description/assets/screenshots/4.png new file mode 100644 index 000000000..5c105e14a Binary files /dev/null and b/account_move_multi_cancel/static/description/assets/screenshots/4.png differ diff --git a/account_move_multi_cancel/static/description/assets/screenshots/5.png b/account_move_multi_cancel/static/description/assets/screenshots/5.png new file mode 100644 index 000000000..d6787f645 Binary files /dev/null and b/account_move_multi_cancel/static/description/assets/screenshots/5.png differ diff --git a/account_move_multi_cancel/static/description/assets/screenshots/6.png b/account_move_multi_cancel/static/description/assets/screenshots/6.png new file mode 100644 index 000000000..6e1a00552 Binary files /dev/null and b/account_move_multi_cancel/static/description/assets/screenshots/6.png differ diff --git a/account_move_multi_cancel/static/description/assets/screenshots/7.png b/account_move_multi_cancel/static/description/assets/screenshots/7.png new file mode 100644 index 000000000..5dddd2bc8 Binary files /dev/null and b/account_move_multi_cancel/static/description/assets/screenshots/7.png differ diff --git a/account_move_multi_cancel/static/description/assets/screenshots/hero.gif b/account_move_multi_cancel/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..dfdef38f1 Binary files /dev/null and b/account_move_multi_cancel/static/description/assets/screenshots/hero.gif differ diff --git a/account_move_multi_cancel/static/description/banner.png b/account_move_multi_cancel/static/description/banner.png new file mode 100644 index 000000000..46cc1ac5f Binary files /dev/null and b/account_move_multi_cancel/static/description/banner.png differ diff --git a/account_move_multi_cancel/static/description/icon.png b/account_move_multi_cancel/static/description/icon.png new file mode 100644 index 000000000..9cc102c96 Binary files /dev/null and b/account_move_multi_cancel/static/description/icon.png differ diff --git a/account_move_multi_cancel/static/description/index.html b/account_move_multi_cancel/static/description/index.html new file mode 100644 index 000000000..d7b003b62 --- /dev/null +++ b/account_move_multi_cancel/static/description/index.html @@ -0,0 +1,522 @@ +
+ +
+ +
+
+ Community +
+
+ Enterprise +
+
+ Odoo Sh +
+
+
+ +
+
+
+ +

Mass Journal Entry Cancel +

+

Mass Canceling And Reset Journal Entries

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

Explore This + Module

+
+ + + +
+
+ +
+

Overview +

+
+
+
+ This module helps cancel or reset multiple journal entries simultaneously. + User can select multiple journal entries from the tree view, and + we can either cancel or reset selected journal entries. +
+
+ + +
+
+ +
+

Features +

+
+
+
+
+ + Available in Odoo 15.0 + Community, Enterprise and Sh +
+
+ + User can select multiple journal entries and cancel very quick. +
+
+ + User can select multiple journal entries and reset very quick. +
+
+
+ + +
+
+ +
+

Screenshots +

+
+
+
+
+

User groups +

+

Go to Settings -> Users -> + We can enable the checkbox to get cancel and reset button under action menu of journal entry. +

+ +
+
+

Multiple Entry cancel +

+

Go to Invoicing -> Account -> Journal Entries -> + Select the journal entries in the posted state and click Multiple Journal Entry Cancel in the action menu.

+ +
+
+

Journal entry canceling confirmation +

+

By Clicking Multiple Journal Entry Cancel you will get a wizard and click MASS CANCEL JOURNAL ENTRY.

+ +
+
+

Canceled Journal Entries +

+

We can see the selected journal entries has been canceled. +

+ +
+
+

Resetting the cancelled entries +

+

We can select multiple cancelled entries and click Multiple Journal Entry Reset button from action. +

+ +

Journal entry reset confirmation +

+

+ By Clicking Multiple Journal Entry Reset you will get a wizard and click Mass Reset Journal Entry.

+ +
+

Reset the Journal Entries +

+

+ We can see the selected journal entries has been reset to DRAFT STATE.

+ +
+
+ + +
+
+ +
+

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 8606827707

+
+
+
+
+
+
+
+ +
+
+
+ diff --git a/account_move_multi_cancel/wizards/__init__.py b/account_move_multi_cancel/wizards/__init__.py new file mode 100644 index 000000000..8da8dc6fa --- /dev/null +++ b/account_move_multi_cancel/wizards/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Mohammed Dilshad Tk (odoo@cybrosys.com) +# +# 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_cancel_reset diff --git a/account_move_multi_cancel/wizards/account_move_cancel_reset.py b/account_move_multi_cancel/wizards/account_move_cancel_reset.py new file mode 100644 index 000000000..3a85f8db8 --- /dev/null +++ b/account_move_multi_cancel/wizards/account_move_cancel_reset.py @@ -0,0 +1,51 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Mohammed Dilshad Tk (odoo@cybrosys.com) +# +# 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, _ +from odoo.exceptions import ValidationError + + +class AccountMoveCancelReset(models.TransientModel): + """ Wizard for cancel and reset of journal entries""" + _name = "account.move.cancel.reset" + _description = "Wizard for cancel journal entries" + + def action_mass_journal_entry_cancel(self): + """ Cancel all the selected journal entries""" + for account in self.env['account.move'].browse( + self._context['active_ids']): + if account.state == "posted": + account.button_cancel() + else: + raise ValidationError( + _("The selected journal entry %s is not in posted state") + % account.name) + + def action_mass_journal_entry_reset(self): + """ Reset all the selected journal entries to draft state""" + for account in self.env['account.move'].browse( + self._context['active_ids']): + if account.state == "cancel": + account.button_draft() + else: + raise ValidationError( + _("The selected journal entry %s is not in cancel state") + % account.name) diff --git a/account_move_multi_cancel/wizards/account_move_cancel_reset_views.xml b/account_move_multi_cancel/wizards/account_move_cancel_reset_views.xml new file mode 100644 index 000000000..39fa94f65 --- /dev/null +++ b/account_move_multi_cancel/wizards/account_move_cancel_reset_views.xml @@ -0,0 +1,56 @@ + + + + + account.move.cancel.reset.view.form + account.move.cancel.reset + +
+

+ Are you sure, Do you want to cancel all the + selected journal entries? + +

+
+
+
+
+
+ + + account.move.cancel.reset.view.form + account.move.cancel.reset + +
+

+ Are you sure, Do you want to reset all the + selected journal entries? + +

+
+
+
+
+
+ + + Multiple Journal Entry Cancel + account.move.cancel.reset + form + new + +

+ Multiple Journal Entry Cancel +

+
+
+