Rename to account_product_fiscal_classification_pos_sale
This commit is contained in:
@@ -26,7 +26,7 @@ This module has been written by Alexis de Lattre from Akretion
|
|||||||
'author': 'Akretion',
|
'author': 'Akretion',
|
||||||
'maintainers': ['alexis-via'],
|
'maintainers': ['alexis-via'],
|
||||||
'website': 'https://github.com/akretion/odoo-usability',
|
'website': 'https://github.com/akretion/odoo-usability',
|
||||||
'depends': ['sale', 'account_product_fiscal_classification'],
|
'depends': ['pos_sale', 'account_product_fiscal_classification'],
|
||||||
"data": ['report/sale_report_view.xml'],
|
"data": ['report/sale_report_view.xml'],
|
||||||
'auto_install': True,
|
'auto_install': True,
|
||||||
}
|
}
|
||||||
@@ -23,3 +23,8 @@ class SaleReport(models.Model):
|
|||||||
res = super()._group_by_sale()
|
res = super()._group_by_sale()
|
||||||
res += ", t.fiscal_classification_id"
|
res += ", t.fiscal_classification_id"
|
||||||
return res
|
return res
|
||||||
|
|
||||||
|
def _fill_pos_fields(self, additional_fields):
|
||||||
|
res = super()._fill_pos_fields(additional_fields)
|
||||||
|
res['fiscal_classification_id'] = "t.fiscal_classification_id"
|
||||||
|
return res
|
||||||
Reference in New Issue
Block a user