Browse Source

Oct 08: [FIX] Bug Fixed 'base_advanced_report_templates'

pull/347/head
Cybrosys Technologies 7 months ago
parent
commit
bd0de00005
  1. 14
      base_advanced_report_templates/__init__.py
  2. 3
      base_advanced_report_templates/__manifest__.py
  3. 5
      base_advanced_report_templates/doc/RELEASE_NOTES.md

14
base_advanced_report_templates/__init__.py

@ -20,3 +20,17 @@
#
#############################################################################
from . import model
def uninstall_hook(env):
env['ir.actions.report'].search([
('report_name', '=','base_advanced_report_templates.report_saleorder_custom')]).write({'report_name': 'sale.report_saleorder',
'name': 'PDF Quote'})
env['ir.actions.report'].search([
('report_name', '=','base_advanced_report_templates.report_deliveryslip_custom')]).write({'report_name':'stock.report_deliveryslip'})
env['ir.actions.report'].search([
('report_name', '=','base_advanced_report_templates.report_invoice_custom')]).write({'report_name':'account.report_invoice_with_payments',})
env['ir.actions.report'].search([
('report_name', '=','base_advanced_report_templates.report_purchase_custom'),('name','=','Purchase Order')]).write({'report_name': 'purchase.report_purchaseorder'})
env['ir.actions.report'].search([('report_name', '=','base_advanced_report_templates.report_purchase_custom'),
('name','=','Request for Quotation')]).write({'report_name':'purchase.report_purchasequotation'})

3
base_advanced_report_templates/__manifest__.py

@ -21,7 +21,7 @@
#############################################################################
{
'name': 'Odoo Professional Report Templates',
'version': '17.0.1.0.0',
'version': '17.0.1.1.0',
'category': 'Sales,Purchases,Accounting,Warehouse',
'summary': "Report Templates, Professional Report Templates, Report Customisations, Sale Reports, Purchase Reports, Invoice Reports, Templates, Odoo17, Oodoo Apps",
'description': "To tailor the presentation of different reports such as "
@ -66,4 +66,5 @@
'installable': True,
'auto_install': False,
'application': False,
'uninstall_hook': 'uninstall_hook',
}

5
base_advanced_report_templates/doc/RELEASE_NOTES.md

@ -4,3 +4,8 @@
#### Version 17.0.1.0.0
##### ADD
- Initial commit for Odoo Professional Report Templates
#### 07.10.2024
#### Version 17.0.1.1.0
##### UPDT
- Add uninstall_hook in init file

Loading…
Cancel
Save