account_product_fiscal_classification_pos_sale: Add inherit of group_by
This commit is contained in:
@@ -28,3 +28,8 @@ class SaleReport(models.Model):
|
|||||||
res = super()._fill_pos_fields(additional_fields)
|
res = super()._fill_pos_fields(additional_fields)
|
||||||
res['fiscal_classification_id'] = "t.fiscal_classification_id"
|
res['fiscal_classification_id'] = "t.fiscal_classification_id"
|
||||||
return res
|
return res
|
||||||
|
|
||||||
|
def _group_by_pos(self):
|
||||||
|
res = super()._group_by_pos()
|
||||||
|
res += ", t.fiscal_classification_id"
|
||||||
|
return res
|
||||||
|
|||||||
Reference in New Issue
Block a user