Hello, if i want to delete a partner contact, sometimes I get the following two different error messages:
> > Integrity Error > ERROR: null value in column "address_invoice_id" violates not-null constraint > KONTEXT: SQL statement "UPDATE ONLY "public"."account_invoice" SET > "address_invoice_id" = NULL WHERE "address_invoice_id" = $1" > delete from "res_partner_address" where id in (146) > > > Integrity Error > ERROR: null value in column "partner_invoice_id" violates not-null constraint > KONTEXT: SQL statement "UPDATE ONLY "public"."sale_order" SET > "partner_invoice_id" = NULL WHERE "partner_invoice_id" = $1" > delete from "res_partner_address" where id in (148) Basically its not possible do delete a partner where an invoice exist, is this correct? Can someone tell me how to delete this contacts? I use the following client: Tiny ERP - GTK Client - v4.2.2 thx rgds Philipp -------------------- m2f -------------------- -- http://www.openobject.com/forum/viewtopic.php?p=29593#29593 -------------------- m2f -------------------- _______________________________________________ Tinyerp-users mailing list http://tiny.be/mailman/listinfo/tinyerp-users
