changeset 977e33d3278e in modules/project_revenue:default
details: 
https://hg.tryton.org/modules/project_revenue?cmd=changeset;node=977e33d3278e
description:
        Rename invoice state from cancel to cancelled

        issue8927
        review303661003
diffstat:

 work.py |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r d3c8da32a3dd -r 977e33d3278e work.py
--- a/work.py   Mon May 04 12:23:21 2020 +0200
+++ b/work.py   Sat Jun 06 10:23:14 2020 +0100
@@ -123,7 +123,7 @@
                     ).join(invoice,
                     condition=invoice_line.invoice == invoice.id
                     ).select(invoice_line.id, table.id,
-                    where=where & ~invoice.state.in_(['draft', 'cancel'])))
+                    where=where & ~invoice.state.in_(['draft', 'cancelled'])))
             iline2work.update(cursor.fetchall())
 
             cursor.execute(*table.join(company,

Reply via email to