diff --git a/crm_claim_rma/__init__.py b/crm_claim_rma/__init__.py index 70a517be..5b7f9485 100644 --- a/crm_claim_rma/__init__.py +++ b/crm_claim_rma/__init__.py @@ -30,7 +30,6 @@ from . import stock def fill_claim_number(cr): cr.execute(""" - UPDATE "crm_claim" SET "number"=id::varchar - WHERE ("number" is NULL) - OR ("number" = '/'); + UPDATE crm_claim SET number=id::varchar + WHERE number is NULL OR number = '/'; """)