Skip to content
Snippets Groups Projects
Unverified Commit d8b99b83 authored by Takuya Sawada's avatar Takuya Sawada Committed by Martin Trigaux
Browse files

[FIX] sale: use proforma group

To hide the pro-forma report from the sale order

Closes #24066
parent 9f618086
Branches
Tags
No related merge requests found
......@@ -11,6 +11,8 @@ This module contains all the common features of Sales Management and eCommerce.
""",
'depends': ['sales_team', 'account', 'portal'],
'data': [
'security/sale_security.xml',
'security/ir.model.access.csv',
'data/ir_sequence_data.xml',
'data/sale_data.xml',
'report/sale_report.xml',
......@@ -19,8 +21,6 @@ This module contains all the common features of Sales Management and eCommerce.
'report/sale_report_templates.xml',
'report/invoice_report_templates.xml',
'report/report_all_channels_sales_views.xml',
'security/sale_security.xml',
'security/ir.model.access.csv',
'wizard/sale_make_invoice_advance_views.xml',
'views/sale_views.xml',
'views/account_invoice_views.xml',
......
......@@ -16,6 +16,7 @@
string="PRO-FORMA Invoice"
model="sale.order"
report_type="qweb-pdf"
groups="sale.group_proforma_sales"
file="sale.report_saleorder_pro_forma"
name="sale.report_saleorder_pro_forma"
print_report_name="'PRO-FORMA - %s' % (object.name)"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment