[FIX] sale: dont't show section/note in report
- Create sale order with section and note - Go to Sale Analysis --> Issue : you see count of section and note closes odoo/odoo#79975 X-original-commit: 42920592028c6a66bab333b8a4a12b8305734dca Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
This commit is contained in:
@@ -150,7 +150,7 @@ class SaleReport(models.Model):
|
||||
if not fields:
|
||||
fields = {}
|
||||
with_ = ("WITH %s" % with_clause) if with_clause else ""
|
||||
return '%s (SELECT %s FROM %s GROUP BY %s)' % \
|
||||
return '%s (SELECT %s FROM %s WHERE l.display_type IS NULL GROUP BY %s)' % \
|
||||
(with_, self._select_sale(fields), self._from_sale(from_clause), self._group_by_sale(groupby))
|
||||
|
||||
def init(self):
|
||||
|
||||
Reference in New Issue
Block a user