[FIX] account: Currency rate in account.invoice.report
It's more usefull to display the average than the sum for the currency rate in account.invoice.report opw:690899
This commit is contained in:
@@ -45,7 +45,7 @@ class AccountInvoiceReport(models.Model):
|
||||
user_currency_price_total = fields.Float(string="Total Without Tax", compute='_compute_amounts_in_user_currency', digits=0)
|
||||
price_average = fields.Float(string='Average Price', readonly=True, group_operator="avg")
|
||||
user_currency_price_average = fields.Float(string="Average Price", compute='_compute_amounts_in_user_currency', digits=0)
|
||||
currency_rate = fields.Float(string='Currency Rate', readonly=True)
|
||||
currency_rate = fields.Float(string='Currency Rate', readonly=True, group_operator="avg")
|
||||
nbr = fields.Integer(string='# of Lines', readonly=True) # TDE FIXME master: rename into nbr_lines
|
||||
type = fields.Selection([
|
||||
('out_invoice', 'Customer Invoice'),
|
||||
|
||||
Reference in New Issue
Block a user