diff options
| author | Csaba Tóth <csaba.toth@i3rendszerhaz.hu> | 2020-04-03 19:06:48 +0000 |
|---|---|---|
| committer | qdp-odoo <qdp@odoo.com> | 2020-04-15 13:35:16 +0000 |
| commit | dff06e82b371c8b9610b7f4c5bfdf35fee3b7d7e (patch) | |
| tree | 813e704fc9887b21ada3835f2dcf819082aad545 /addons/website_crm_partner_assign/report | |
| parent | a6026eb71d77172249c4f0e9c08ccaf85c038f74 (diff) | |
[FIX] account.invoice: leftovers of the state / invoice_payment_state
refactoring
this fixes bugs introduced by
https://github.com/odoo/odoo/commit/beaa30a3d1843de43a45f419bfbc1bfa7613a920
in saas-13.2, the field invoice_payment_state was renamed into payment_state by
https://github.com/odoo/odoo/commit/8e4158af810bcf475214946fa64d3b0ce4d3b26d
in saas-13.4, the feature post_at of journal have been removed by
https://github.com/odoo/odoo/commit/caeb782841fc5a7ad71a196e2c9ee67644ef9074
closes odoo/odoo#49569
X-original-commit: 2001c413ee142c50ca6549cd5dff9fc0f9f1637b
Signed-off-by: Csaba Tóth <csaba.toth@i3rendszerhaz.hu>
Signed-off-by: Quentin De Paoli (qdp) <qdp@openerp.com>
Diffstat (limited to 'addons/website_crm_partner_assign/report')
| -rw-r--r-- | addons/website_crm_partner_assign/report/crm_partner_report.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website_crm_partner_assign/report/crm_partner_report.py b/addons/website_crm_partner_assign/report/crm_partner_report.py index 1d7fdb67b41..653a0d5db13 100644 --- a/addons/website_crm_partner_assign/report/crm_partner_report.py +++ b/addons/website_crm_partner_assign/report/crm_partner_report.py @@ -54,5 +54,5 @@ class CrmPartnerReportAssign(models.Model): FROM res_partner p left join account_invoice_report i - on (i.partner_id=p.id and i.move_type in ('out_invoice','out_refund') and i.state in ('open','in_payment','paid')) + on (i.partner_id=p.id and i.move_type in ('out_invoice','out_refund') and i.state='open') )""") |
