Browse Source

Sep 19 [UPDT] Updated 'pos_paid_order_delete'

pull/332/head
AjmalCybro 7 months ago
parent
commit
6932b8b72e
  1. 5
      pos_paid_order_delete/__init__.py
  2. 4
      pos_paid_order_delete/__manifest__.py
  3. 5
      pos_paid_order_delete/doc/RELEASE_NOTES.md

5
pos_paid_order_delete/__init__.py

@ -21,11 +21,8 @@
################################################################################ ################################################################################
from .import models from .import models
from .import wizard from .import wizard
from odoo import api, SUPERUSER_ID
def uninstall_hook(env):
def _uninstall_hook(cr, registry):
env = api.Environment(cr, SUPERUSER_ID, {})
env['ir.config_parameter'].sudo().set_param( env['ir.config_parameter'].sudo().set_param(
'pos_paid_order_delete.is_delete', 'pos_paid_order_delete.is_delete',
False) False)

4
pos_paid_order_delete/__manifest__.py

@ -21,7 +21,7 @@
############################################################################# #############################################################################
{ {
'name': 'POS Paid Order Delete', 'name': 'POS Paid Order Delete',
'version': '17.0.1.0.0', 'version': '17.0.1.0.1',
'category': 'POS', 'category': 'POS',
'summary': "Can Delete POS Orders in Paid State With or Without Code", 'summary': "Can Delete POS Orders in Paid State With or Without Code",
'description': "This app allow the specified user to delete the pos orders" 'description': "This app allow the specified user to delete the pos orders"
@ -45,6 +45,6 @@
'installable': True, 'installable': True,
'auto_install': False, 'auto_install': False,
'application': False, 'application': False,
'uninstall_hook': '_uninstall_hook', 'uninstall_hook': 'uninstall_hook',
} }

5
pos_paid_order_delete/doc/RELEASE_NOTES.md

@ -4,3 +4,8 @@
#### Version 17.0.1.0.0 #### Version 17.0.1.0.0
#### ADD #### ADD
- Initial Commit for POS Paid Order Delete. - Initial Commit for POS Paid Order Delete.
#### 19.09.2024
#### Version 17.0.1.0.1
#### BugFix
- Fixed an issue with the module's uninstallation.

Loading…
Cancel
Save