summaryrefslogtreecommitdiff
path: root/addons/theme_default/data/theme_default_data.xml
diff options
context:
space:
mode:
authorjvm-odoo <jvm@odoo.com>2019-11-12 07:27:13 +0000
committerfw-bot <otis@odoo.com>2019-11-12 11:50:26 +0000
commit8f0e3be257c8bfd2ffee05103d10b15160fbee96 (patch)
tree2e3c26543b0e16f7ef0899bee07206d1ef0183ed /addons/theme_default/data/theme_default_data.xml
parent1270eaad662661620e83fd22949440c1f60be3ec (diff)
[FIX] sale: fix sales team goal not updated in CRM pipelines
Reproduce this issue - Install CRM & Sales - Create 2 sales team in CRM settings - Create some invoices and register payments for the 2 teams - Go in CRM > Sales > Team pipelines The invoicing amount is still 0 for both teams. Cause - The `_compute_invoiced` method in `CrmTeam` models use a SQL query to retrieve the invoices lines but it returns an empty recordset because the dates are not right ordered. - The line balance are negatives values, doing a SUM() will always returns 0 This commit re-order the dates and invert the sign of line.balance. OPW-2119819 closes odoo/odoo#40115 X-original-commit: 578dacc3af04996754d1ec67108106379a9c3c38 Signed-off-by: Jason Van Malder <jasonvanmalder@users.noreply.github.com>
Diffstat (limited to 'addons/theme_default/data/theme_default_data.xml')
0 files changed, 0 insertions, 0 deletions