| @ -0,0 +1,51 @@ | |||||
|  | .. 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 <https://cybrosys.com/>`__ | ||||
|  | 
 | ||||
|  | Credits | ||||
|  | ------- | ||||
|  | * Developer: | ||||
|  |             (V16) Sreeshanth V S , | ||||
|  |             (V17) Mufeeda Shirin , | ||||
|  |             (V18) Ammu Raj , | ||||
|  |   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 <https://cybrosys.com/>`__ | ||||
|  | 
 | ||||
|  | Further information | ||||
|  | =================== | ||||
|  | HTML Description: `<static/description/index.html>`__ | ||||
| @ -0,0 +1,23 @@ | |||||
|  | # -*- coding: utf-8 -*- | ||||
|  | ############################################################################# | ||||
|  | # | ||||
|  | #    Cybrosys Technologies Pvt. Ltd. | ||||
|  | # | ||||
|  | #    Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) | ||||
|  | #    Author: Ammu Raj(<https://www.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 <http://www.gnu.org/licenses/>. | ||||
|  | # | ||||
|  | ############################################################################# | ||||
|  | from . import models | ||||
|  | from . import wizards | ||||
| @ -0,0 +1,46 @@ | |||||
|  | # -*- coding: utf-8 -*- | ||||
|  | ############################################################################# | ||||
|  | # | ||||
|  | #    Cybrosys Technologies Pvt. Ltd. | ||||
|  | # | ||||
|  | #    Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) | ||||
|  | #    Author: Ammu Raj(<https://www.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 <http://www.gnu.org/licenses/>. | ||||
|  | # | ||||
|  | ############################################################################# | ||||
|  | { | ||||
|  |     'name': "Mass Journal Entry Cancel", | ||||
|  |     "version": "18.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, | ||||
|  | } | ||||
| @ -0,0 +1,30 @@ | |||||
|  | <?xml version="1.0" encoding="utf-8"?> | ||||
|  | <odoo> | ||||
|  |     <!-- Server action for journal entry cancel --> | ||||
|  |     <record id="action_multiple_journal_entry_cancel" | ||||
|  |             model="ir.actions.server"> | ||||
|  |         <field name="name">Multiple Journal Entry Cancel</field> | ||||
|  |         <field name="model_id" ref="model_account_move"/> | ||||
|  |         <field name="binding_model_id" ref="model_account_move"/> | ||||
|  |         <field name="binding_view_types">list</field> | ||||
|  |         <field name="groups_id" | ||||
|  |                eval="[(4, ref('account_move_multi_cancel.account_move_multi_cancel_group_user'))]"/> | ||||
|  |         <field name="state">code</field> | ||||
|  |         <field name="code"> | ||||
|  |             action = record.action_cancel_multiple_journal_entry() | ||||
|  |         </field> | ||||
|  |     </record> | ||||
|  |     <!-- Server action for journal entry reset --> | ||||
|  |     <record id="action_multiple_journal_entry_reset" model="ir.actions.server"> | ||||
|  |         <field name="name">Multiple Journal Entry Reset</field> | ||||
|  |         <field name="model_id" ref="model_account_move"/> | ||||
|  |         <field name="binding_model_id" ref="model_account_move"/> | ||||
|  |         <field name="binding_view_types">list</field> | ||||
|  |         <field name="groups_id" | ||||
|  |                eval="[(4, ref('account_move_multi_cancel.account_move_multi_cancel_group_user'))]"/> | ||||
|  |         <field name="state">code</field> | ||||
|  |         <field name="code"> | ||||
|  |             action = record.action_reset_multiple_journal_entry() | ||||
|  |         </field> | ||||
|  |     </record> | ||||
|  | </odoo> | ||||
| @ -0,0 +1,7 @@ | |||||
|  | ## Module <account_move_multi_cancel> | ||||
|  | 
 | ||||
|  | #### 19.10.2024 | ||||
|  | #### Version 18.0.1.0.0 | ||||
|  | #### ADD | ||||
|  | 
 | ||||
|  | - Initial commit for Mass Journal Entry Cancel | ||||
| @ -0,0 +1,22 @@ | |||||
|  | # -*- coding: utf-8 -*- | ||||
|  | ############################################################################# | ||||
|  | # | ||||
|  | #    Cybrosys Technologies Pvt. Ltd. | ||||
|  | # | ||||
|  | #    Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) | ||||
|  | #    Author: Ammu Raj(<https://www.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 <http://www.gnu.org/licenses/>. | ||||
|  | # | ||||
|  | ############################################################################# | ||||
|  | from . import account_move | ||||
| @ -0,0 +1,55 @@ | |||||
|  | # -*- coding: utf-8 -*- | ||||
|  | ############################################################################# | ||||
|  | # | ||||
|  | #    Cybrosys Technologies Pvt. Ltd. | ||||
|  | # | ||||
|  | #    Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) | ||||
|  | #    Author: Ammu Raj(<https://www.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 <http://www.gnu.org/licenses/>. | ||||
|  | # | ||||
|  | ############################################################################# | ||||
|  | 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', | ||||
|  |         } | ||||
| 
 | 
| @ -0,0 +1,8 @@ | |||||
|  | <?xml version="1.0" encoding="utf-8"?> | ||||
|  | <odoo> | ||||
|  |     <!-- Security groups for journal entry cancel and reset --> | ||||
|  |     <record id="account_move_multi_cancel_group_user" model="res.groups"> | ||||
|  |         <field name="name">Manage Multiple Journal Entry Cancel</field> | ||||
|  |         <field name="category_id" ref="base.module_category_usability"/> | ||||
|  |     </record> | ||||
|  | </odoo> | ||||
| After Width: | Height: | Size: 2.2 KiB | 
| After Width: | Height: | Size: 28 KiB | 
| After Width: | Height: | Size: 628 KiB | 
| After Width: | Height: | Size: 1.1 KiB | 
| After Width: | Height: | Size: 210 KiB | 
| After Width: | Height: | Size: 209 KiB | 
| After Width: | Height: | Size: 109 KiB | 
| After Width: | Height: | Size: 495 B | 
| After Width: | Height: | Size: 1.0 KiB | 
| After Width: | Height: | Size: 624 B | 
| After Width: | Height: | Size: 136 KiB | 
| After Width: | Height: | Size: 214 KiB | 
| After Width: | Height: | Size: 36 KiB | 
| After Width: | Height: | Size: 3.6 KiB | 
| After Width: | Height: | Size: 310 B | 
| After Width: | Height: | Size: 929 B | 
| After Width: | Height: | Size: 1.3 KiB | 
| After Width: | Height: | Size: 3.3 KiB | 
| After Width: | Height: | Size: 1.4 KiB | 
| After Width: | Height: | Size: 17 KiB | 
| After Width: | Height: | Size: 542 B | 
| After Width: | Height: | Size: 576 B | 
| After Width: | Height: | Size: 733 B | 
| After Width: | Height: | Size: 4.3 KiB | 
| After Width: | Height: | Size: 1.2 KiB | 
| After Width: | Height: | Size: 4.0 KiB | 
| After Width: | Height: | Size: 1.7 KiB | 
| After Width: | Height: | Size: 738 KiB | 
| After Width: | Height: | Size: 2.2 KiB | 
| After Width: | Height: | Size: 911 B | 
| After Width: | Height: | Size: 1.1 KiB | 
| After Width: | Height: | Size: 1.2 KiB | 
| After Width: | Height: | Size: 1.2 KiB | 
| After Width: | Height: | Size: 600 B | 
| After Width: | Height: | Size: 673 B | 
| After Width: | Height: | Size: 2.0 KiB | 
| After Width: | Height: | Size: 462 B | 
| After Width: | Height: | Size: 2.1 KiB | 
| After Width: | Height: | Size: 926 B | 
| After Width: | Height: | Size: 9.0 KiB | 
| After Width: | Height: | Size: 23 KiB | 
| After Width: | Height: | Size: 7.0 KiB | 
| After Width: | Height: | Size: 878 B | 
| After Width: | Height: | Size: 1.2 KiB | 
| After Width: | Height: | Size: 653 B | 
| After Width: | Height: | Size: 800 B | 
| After Width: | Height: | Size: 905 B | 
| After Width: | Height: | Size: 189 KiB | 
| After Width: | Height: | Size: 4.3 KiB | 
| After Width: | Height: | Size: 839 B | 
| After Width: | Height: | Size: 1.7 KiB | 
| After Width: | Height: | Size: 5.9 KiB | 
| After Width: | Height: | Size: 1.6 KiB | 
| After Width: | Height: | Size: 34 KiB | 
| After Width: | Height: | Size: 26 KiB | 
| After Width: | Height: | Size: 3.8 KiB | 
| After Width: | Height: | Size: 23 KiB | 
| After Width: | Height: | Size: 1.9 KiB | 
| After Width: | Height: | Size: 2.3 KiB | 
| After Width: | Height: | Size: 427 B | 
| After Width: | Height: | Size: 627 B | 
| After Width: | Height: | Size: 1.1 KiB | 
| After Width: | Height: | Size: 1.2 KiB | 
| After Width: | Height: | Size: 988 B | 
| After Width: | Height: | Size: 3.7 KiB | 
| After Width: | Height: | Size: 5.0 KiB | 
| After Width: | Height: | Size: 875 B | 
| After Width: | Height: | Size: 1.2 KiB | 
| After Width: | Height: | Size: 912 KiB | 
| After Width: | Height: | Size: 1.3 MiB | 
| After Width: | Height: | Size: 46 KiB | 
| After Width: | Height: | Size: 44 KiB | 
| After Width: | Height: | Size: 46 KiB | 
| After Width: | Height: | Size: 85 KiB | 
| After Width: | Height: | Size: 355 KiB | 
| After Width: | Height: | Size: 99 KiB | 
| After Width: | Height: | Size: 200 KiB | 
| After Width: | Height: | Size: 188 KiB | 
| After Width: | Height: | Size: 182 KiB | 
| After Width: | Height: | Size: 196 KiB | 
| After Width: | Height: | Size: 174 KiB | 
| After Width: | Height: | Size: 179 KiB | 
| After Width: | Height: | Size: 880 KiB | 
| After Width: | Height: | Size: 739 KiB | 
| After Width: | Height: | Size: 41 KiB | 
| @ -0,0 +1,22 @@ | |||||
|  | # -*- coding: utf-8 -*- | ||||
|  | ############################################################################# | ||||
|  | # | ||||
|  | #    Cybrosys Technologies Pvt. Ltd. | ||||
|  | # | ||||
|  | #    Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) | ||||
|  | #    Author: Ammu Raj(<https://www.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 <http://www.gnu.org/licenses/>. | ||||
|  | # | ||||
|  | ############################################################################# | ||||
|  | from . import account_move_cancel_reset | ||||
| @ -0,0 +1,49 @@ | |||||
|  | # -*- coding: utf-8 -*- | ||||
|  | ############################################################################# | ||||
|  | # | ||||
|  | #    Cybrosys Technologies Pvt. Ltd. | ||||
|  | # | ||||
|  | #    Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) | ||||
|  | #    Author: Ammu Raj(<https://www.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 <http://www.gnu.org/licenses/>. | ||||
|  | # | ||||
|  | ############################################################################# | ||||
|  | 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) | ||||
| @ -0,0 +1,56 @@ | |||||
|  | <?xml version="1.0" encoding="utf-8"?> | ||||
|  | <odoo> | ||||
|  |     <!-- Wizard that to confirm the journal entry cancel--> | ||||
|  |     <record id="account_move_cancel_view_form" model="ir.ui.view"> | ||||
|  |         <field name="name">account.move.cancel.view.form</field> | ||||
|  |         <field name="model">account.move.cancel.reset</field> | ||||
|  |         <field name="arch" type="xml"> | ||||
|  |             <form> | ||||
|  |                 <h4> | ||||
|  |                     <span>Are you sure, Do you want to cancel all the | ||||
|  |                         selected journal entries? | ||||
|  |                     </span> | ||||
|  |                 </h4> | ||||
|  |                 <footer> | ||||
|  |                     <button name="action_mass_journal_entry_cancel" | ||||
|  |                             string="Mass Cancel Journal Entry" | ||||
|  |                             class="btn-primary" type="object"/> | ||||
|  |                     <button string="Cancel" special="cancel"/> | ||||
|  |                 </footer> | ||||
|  |             </form> | ||||
|  |         </field> | ||||
|  |     </record> | ||||
|  |     <!-- Wizard to confirm the journal entry reset --> | ||||
|  |     <record id="account_move_reset_view_form" model="ir.ui.view"> | ||||
|  |         <field name="name">account.move.reset.view.form</field> | ||||
|  |         <field name="model">account.move.cancel.reset</field> | ||||
|  |         <field name="arch" type="xml"> | ||||
|  |             <form> | ||||
|  |                 <h4> | ||||
|  |                     <span>Are you sure, Do you want to reset all the | ||||
|  |                         selected journal entries? | ||||
|  |                     </span> | ||||
|  |                 </h4> | ||||
|  |                 <footer> | ||||
|  |                     <button name="action_mass_journal_entry_reset" | ||||
|  |                             string="Mass Reset Journal Entry" | ||||
|  |                             class="btn-primary" type="object"/> | ||||
|  |                     <button string="Cancel" special="cancel"/> | ||||
|  |                 </footer> | ||||
|  |             </form> | ||||
|  |         </field> | ||||
|  |     </record> | ||||
|  |     <!-- Action for journal entry cancel and reset --> | ||||
|  |     <record id="move_multi_cancel_reset_action" | ||||
|  |             model="ir.actions.act_window"> | ||||
|  |         <field name="name">Multiple Journal Entry Cancel</field> | ||||
|  |         <field name="res_model">account.move.cancel.reset</field> | ||||
|  |         <field name="view_mode">form</field> | ||||
|  |         <field name="target">new</field> | ||||
|  |         <field name="help" type="html"> | ||||
|  |             <p class="o_view_nocontent_smiling_face"> | ||||
|  |                 Multiple Journal Entry Cancel | ||||
|  |             </p> | ||||
|  |         </field> | ||||
|  |     </record> | ||||
|  | </odoo> | ||||