← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 579277] Re: Subrsciption with an invoice ans document source

 

it's not possible. i suggest you to cancel subscription invoices.

** Changed in: openobject-addons
       Status: New => Won't Fix

-- 
Subrsciption with an invoice ans document source
https://bugs.launchpad.net/bugs/579277
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Addons Modules: Won't Fix

Bug description:
Hello all,
We just had the following problem using the Subscription module : we created a new subscription with an invoice as souce document. Then, the draft invoice has been deleted without any problem ... but now, everytime we're trying to list the subscriptions, we get the following error :

Integrity Error : ERREUR:  une valeur NULL viole la contrainte NOT NULL de la colonne « doc_source »

Which is normal. So, would it be possible, before deleting an invoice, to control if the invoice id is used in the doc_source of field of the table subscription_subscription.

Because not everybody uses the subscription module, would it be possible to surcharge an account.invoice function in the subscription module for the check ?

Thanks