Skip to content
Snippets Groups Projects
Commit 21a64ad9 authored by David Monjoie's avatar David Monjoie
Browse files

[FIX] sale: removed wrong and duplicated sales team groubby

The section_id field has been renamed to team_id in 9.0. Moreover,
the Sales Team group by is already present in the view from which
this one was inheriting, resulting in duplicated group by's.
parent 22051dcc
No related branches found
No related tags found
No related merge requests found
......@@ -51,7 +51,6 @@ The Dashboard for the Sales Manager will include
'sales_team_view.xml',
'res_partner_view.xml',
'report/sale_report_view.xml',
'report/invoice_report_view.xml',
'data/mail_template_data.xml',
'res_config_view.xml',
'views/report_saleorder.xml',
......
<?xml version="1.0" encoding="UTF-8"?>
<openerp>
<data>
<record model="ir.ui.view" id="view_account_invoice_report_search_inherit">
<field name="name">account.invoice.report.search</field>
<field name="model">account.invoice.report</field>
<field name="inherit_id" ref="account.view_account_invoice_report_search" />
<field name="arch" type="xml">
<filter name="user" position="after">
<filter string="Sales Team" domain="[]"
context="{'group_by':'section_id'}"/>
</filter>
</field>
</record>
</data>
</openerp>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment