Browse Source

Oct 08: [FIX] Bug Fixed 'versioning_in_sale_order'

pull/345/merge
Cybrosys Technologies 7 months ago
parent
commit
f0ff8eb17a
  1. 11
      versioning_in_sale_order/__init__.py
  2. 3
      versioning_in_sale_order/__manifest__.py
  3. 5
      versioning_in_sale_order/doc/RELEASE_NOTES.md

11
versioning_in_sale_order/__init__.py

@ -21,4 +21,15 @@
################################################################################
from . import models
from odoo import api, SUPERUSER_ID
def uninstall_hook(cr, registry):
"""Uninstall hook to update the domain of the window action
created by the Sale Order Versions module"""
env = api.Environment(cr, SUPERUSER_ID, {})
action = env.ref('sale.action_quotations_with_onboarding')
if action:
action.write({'domain': '[]'})

3
versioning_in_sale_order/__manifest__.py

@ -22,7 +22,7 @@
{
'name': 'Sale Order Versions',
'version': '16.0.1.0.0',
'version': '16.0.1.1.0',
'category': 'Sales/Sales',
'summary': 'For creating multiple sale order versions',
'description': 'For creating multiple sale order versions',
@ -39,4 +39,5 @@
'installable': True,
'auto_install': False,
'application': False,
'uninstall_hook': 'uninstall_hook',
}

5
versioning_in_sale_order/doc/RELEASE_NOTES.md

@ -5,3 +5,8 @@
#### ADD
- Initial commit for Sale Order Versions
#### 07.10.2024
#### Version 16.0.1.1.0
##### UPDT
- uninstall_hook added.

Loading…
Cancel
Save