openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #11640
[Bug 961760] Re: 6.1 duplicate invoice
[Expired for OpenERP Addons because there has been no activity for 60
days.]
** Changed in: openobject-addons
Status: Incomplete => Expired
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/961760
Title:
6.1 duplicate invoice
Status in OpenERP Addons (modules):
Expired
Bug description:
There is a functionality fault or regression from 6.0.
On 6.1 is not possible duplicating invoices. The warning shown on screen is
"duplicate key value violates unique constraint "account_invoice_number_uniq"
This is produced because on duplicating invoice, the field
invoice_number is not cleaned. If we are duplicating an invoice, the
invoice_number should never be the same in 2 invoices, so the warning
is right but the procedure of duplicating this object is not.
Problem comes from 6.0 where we could duplicate the invoice but the invoice_number was mantained even if new invoice was set on draft status.
We built a module for 6.0 (avanzosc_invoice_duplicate) to avoid this problem but the correct way would be including a right procedure to duplicate invoices on core.
Thank you very much:
Ana
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/961760/+subscriptions
References