diff --git a/account_move_multi_cancel/README.rst b/account_move_multi_cancel/README.rst new file mode 100644 index 000000000..07d5bcca2 --- /dev/null +++ b/account_move_multi_cancel/README.rst @@ -0,0 +1,50 @@ +.. image:: https://img.shields.io/badge/license-LGPL--3-blue.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 + +License +------- +General Public License, Version 3 (LGPL v3). +(https://www.gnu.org/licenses/lgpl-3.0-standalone.html) + +Company +------- +* `Cybrosys Techno Solutions `__ + +Credits +------- +* Developer: + (V17) Mufeeda Shirin , + (V16) Sreeshanth V S , + 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_move_multi_cancel/__init__.py b/account_move_multi_cancel/__init__.py new file mode 100644 index 000000000..2a928fe1b --- /dev/null +++ b/account_move_multi_cancel/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from . import models +from . import wizards diff --git a/account_move_multi_cancel/__manifest__.py b/account_move_multi_cancel/__manifest__.py new file mode 100644 index 000000000..aae701a67 --- /dev/null +++ b/account_move_multi_cancel/__manifest__.py @@ -0,0 +1,46 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +{ + 'name': "Mass Journal Entry Cancel", + "version": "17.0.1.0.0", + "category": "Accounting", + "summary": "User can cancel or reset multiple journal entries ", + "description": """ We can select multiple journal entries and allow to + cancel or reset those journal entries at a time.""", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': "https://www.cybrosys.com", + 'depends': ['account'], + 'data': [ + 'security/security_groups.xml', + 'security/ir.model.access.csv', + 'data/ir_actions_server_data.xml', + 'wizards/account_move_cancel_reset_views.xml' + ], + 'images': [ + 'static/description/banner.jpg'], + 'license': 'LGPL-3', + 'installable': True, + 'application': False, + 'auto_install': False, +} diff --git a/account_move_multi_cancel/data/ir_actions_server_data.xml b/account_move_multi_cancel/data/ir_actions_server_data.xml new file mode 100644 index 000000000..9b517016d --- /dev/null +++ b/account_move_multi_cancel/data/ir_actions_server_data.xml @@ -0,0 +1,30 @@ + + + + + Multiple Journal Entry Cancel + + + list + + code + + action = record.action_cancel_multiple_journal_entry() + + + + + Multiple Journal Entry Reset + + + list + + code + + action = record.action_reset_multiple_journal_entry() + + + \ No newline at end of file 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..9984b558b --- /dev/null +++ b/account_move_multi_cancel/doc/RELEASE_NOTES.md @@ -0,0 +1,7 @@ +## Module + +#### 23.01.2024 +#### Version 17.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..900a13bc4 --- /dev/null +++ b/account_move_multi_cancel/models/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from . import 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..415c07666 --- /dev/null +++ b/account_move_multi_cancel/models/account_move.py @@ -0,0 +1,55 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from odoo import models + + +class AccountMove(models.Model): + """ Server action function for cancel and reset journal entries """ + + _inherit = "account.move" + + def action_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.account_move_cancel_view_form') + .id, 'form')], + 'target': 'new', + 'res_model': 'account.move.cancel.reset', + + } + + def action_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_reset_view_form') + .id, 'form')], + 'target': 'new', + 'res_model': 'account.move.cancel.reset', + } 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..8db4e04b2 --- /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_user,access.account.move.cancel.reset.user,model_account_move_cancel_reset,account_move_multi_cancel_group_user,1,1,1,1 diff --git a/account_move_multi_cancel/security/security_groups.xml b/account_move_multi_cancel/security/security_groups.xml new file mode 100644 index 000000000..19506761d --- /dev/null +++ b/account_move_multi_cancel/security/security_groups.xml @@ -0,0 +1,8 @@ + + + + + Manage Multiple Journal Entry Cancel + + + \ No newline at end of file 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/Cybrosys R.png b/account_move_multi_cancel/static/description/assets/misc/Cybrosys R.png new file mode 100644 index 000000000..da4058087 Binary files /dev/null and b/account_move_multi_cancel/static/description/assets/misc/Cybrosys R.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/1.jpg b/account_move_multi_cancel/static/description/assets/modules/1.jpg new file mode 100644 index 000000000..e19e7ab11 Binary files /dev/null and b/account_move_multi_cancel/static/description/assets/modules/1.jpg differ diff --git a/account_move_multi_cancel/static/description/assets/modules/2.jpg b/account_move_multi_cancel/static/description/assets/modules/2.jpg new file mode 100644 index 000000000..3f6a08970 Binary files /dev/null and b/account_move_multi_cancel/static/description/assets/modules/2.jpg differ diff --git a/account_move_multi_cancel/static/description/assets/modules/3.jpg b/account_move_multi_cancel/static/description/assets/modules/3.jpg new file mode 100644 index 000000000..33491bcf0 Binary files /dev/null and b/account_move_multi_cancel/static/description/assets/modules/3.jpg differ diff --git a/account_move_multi_cancel/static/description/assets/modules/4.png b/account_move_multi_cancel/static/description/assets/modules/4.png new file mode 100644 index 000000000..612be4b77 Binary files /dev/null and b/account_move_multi_cancel/static/description/assets/modules/4.png differ diff --git a/account_move_multi_cancel/static/description/assets/modules/5.jpg b/account_move_multi_cancel/static/description/assets/modules/5.jpg new file mode 100644 index 000000000..693671ccf Binary files /dev/null and b/account_move_multi_cancel/static/description/assets/modules/5.jpg differ diff --git a/account_move_multi_cancel/static/description/assets/modules/6.png b/account_move_multi_cancel/static/description/assets/modules/6.png new file mode 100644 index 000000000..a0ac2d840 Binary files /dev/null and b/account_move_multi_cancel/static/description/assets/modules/6.png differ diff --git a/account_move_multi_cancel/static/description/assets/screenshots/account_move_multi_cancel_1.png b/account_move_multi_cancel/static/description/assets/screenshots/account_move_multi_cancel_1.png new file mode 100644 index 000000000..6dfe8db55 Binary files /dev/null and b/account_move_multi_cancel/static/description/assets/screenshots/account_move_multi_cancel_1.png differ diff --git a/account_move_multi_cancel/static/description/assets/screenshots/account_move_multi_cancel_2.png b/account_move_multi_cancel/static/description/assets/screenshots/account_move_multi_cancel_2.png new file mode 100644 index 000000000..d5d87a457 Binary files /dev/null and b/account_move_multi_cancel/static/description/assets/screenshots/account_move_multi_cancel_2.png differ diff --git a/account_move_multi_cancel/static/description/assets/screenshots/account_move_multi_cancel_3.png b/account_move_multi_cancel/static/description/assets/screenshots/account_move_multi_cancel_3.png new file mode 100644 index 000000000..e824e48ad Binary files /dev/null and b/account_move_multi_cancel/static/description/assets/screenshots/account_move_multi_cancel_3.png differ diff --git a/account_move_multi_cancel/static/description/assets/screenshots/account_move_multi_cancel_4.png b/account_move_multi_cancel/static/description/assets/screenshots/account_move_multi_cancel_4.png new file mode 100644 index 000000000..36a183208 Binary files /dev/null and b/account_move_multi_cancel/static/description/assets/screenshots/account_move_multi_cancel_4.png differ diff --git a/account_move_multi_cancel/static/description/assets/screenshots/account_move_multi_cancel_5.png b/account_move_multi_cancel/static/description/assets/screenshots/account_move_multi_cancel_5.png new file mode 100644 index 000000000..b409a4102 Binary files /dev/null and b/account_move_multi_cancel/static/description/assets/screenshots/account_move_multi_cancel_5.png differ diff --git a/account_move_multi_cancel/static/description/assets/screenshots/account_move_multi_cancel_6.png b/account_move_multi_cancel/static/description/assets/screenshots/account_move_multi_cancel_6.png new file mode 100644 index 000000000..7de5e6438 Binary files /dev/null and b/account_move_multi_cancel/static/description/assets/screenshots/account_move_multi_cancel_6.png differ diff --git a/account_move_multi_cancel/static/description/assets/screenshots/account_move_multi_cancel_7.png b/account_move_multi_cancel/static/description/assets/screenshots/account_move_multi_cancel_7.png new file mode 100644 index 000000000..9dc452539 Binary files /dev/null and b/account_move_multi_cancel/static/description/assets/screenshots/account_move_multi_cancel_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..0ee0b8953 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.jpg b/account_move_multi_cancel/static/description/banner.jpg new file mode 100644 index 000000000..d72b2d7c0 Binary files /dev/null and b/account_move_multi_cancel/static/description/banner.jpg 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..1cee06f3d 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..1bc2bf658 --- /dev/null +++ b/account_move_multi_cancel/static/description/index.html @@ -0,0 +1,733 @@ + + + + + + + Odoo App 3 Index + + + + + + + + +
+
+
+
+
+ +
+
+
+ Community +
+
+ Enterprise +
+
+
+
+
+
+

+ Mass Journal Entry Cancel

+

+ Mass canceling and reset journal entries +

+
+ +
+
+
+
+
+

+ Key Highlights +

+
+
+
+
+
+ +
+
+

+ User can select multiple journal entries and cancel very quickly

+
+
+
+
+
+
+ +
+
+

+ User can select multiple journal entries and reset very quickly

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

+ 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 cancelled entries

+

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

+
+
+
+
+
+
+ +
+
+

+ Journal entry reset confirmation

+

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

+
+
+
+
+
+
+ +
+
+

+ Reset Journal Entries

+

+ We can see the selected journal entries has been reset to draft state. +

+
+
+
+
+
+
+
    +
  • + Available in Odoo 17.0 Community and Enterprise +
  • +
  • + Allows to select multiple journals and cancel or reset all at once + Orders. +
  • +
+
+
+
+
+
+
Version + 17.0.1.0.0|Released on:23rd January 2024 +
+

+ Initial Commit for Mass Journal Entry Cancel.

+
+
+
+
+
+
+
+

+ Related Products

+
+
+ +
+
+

+ Our Services

+ +
+
+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Customization

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Implementation

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Support

+
+
+
+
+
+
+ service-icon +
+
+

Hire + Odoo Developer

+
+
+
+
+ +
+
+ service-icon +
+
+

Odoo + Integration

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Migration

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Consultancy

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Implementation

+
+
+
+
+
+
+ service-icon +
+
+

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 + 99456767686 +
+
+
+
+
+
+
+
+
+ + + + + + diff --git a/account_move_multi_cancel/wizards/__init__.py b/account_move_multi_cancel/wizards/__init__.py new file mode 100644 index 000000000..5991bd11e --- /dev/null +++ b/account_move_multi_cancel/wizards/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from . import 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..bc730506d --- /dev/null +++ b/account_move_multi_cancel/wizards/account_move_cancel_reset.py @@ -0,0 +1,50 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from odoo import 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..f43af15af --- /dev/null +++ b/account_move_multi_cancel/wizards/account_move_cancel_reset_views.xml @@ -0,0 +1,56 @@ + + + + + account.move.cancel.view.form + account.move.cancel.reset + +
+

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

+
+
+
+
+
+ + + account.move.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 +

+
+
+