c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #02434
[Bug 615268] Re: Account : problem with journals and error messages
Arnaud,
Can you try with the attached patch?
Thanks.
** Also affects: openobject-addons/5.0
Importance: Undecided
Status: New
** Also affects: openobject-addons/trunk
Importance: Low
Assignee: OpenERP R&D Addons Team 3 (openerp-dev-addons3)
Status: Confirmed
** Changed in: openobject-addons/5.0
Status: New => Confirmed
** Changed in: openobject-addons/5.0
Assignee: (unassigned) => Jay (OpenERP) (jvo-openerp)
** Changed in: openobject-addons/5.0
Importance: Undecided => Medium
** Tags added: maintenance
** Patch added: "line_with_zero.patch"
https://bugs.launchpad.net/openobject-addons/+bug/615268/+attachment/1721712/+files/line_with_zero.patch
--
Account : problem with journals and error messages
https://bugs.launchpad.net/bugs/615268
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: Confirmed
Status in OpenObject Addons 5.0 series: Confirmed
Status in OpenObject Addons trunk series: Confirmed
Bug description:
Hello all,
We just passed 3 weeks on a problem we first thought it was a bug but that's 'only' a problem of warning. Here's what's happend :
I first received a request from the accounting because they couldn't create anymore invoices with an amount of 0.- Because many patches were applied these times, I first though a problem of patch. After investigating, the patches were not the problem.
Many many times later, we saw, when creating an new customer invoice, than if the first line of the invoice was not 0.- , we could create the invoice (even if another line was 0.-) but if the first line of the invoice is 0.- than we had the error message :
you cannot do this modification on a confirmed entry ! Please note that yo can just change some non imortant fields !
Here, there's the 1st problem : first line with an amount of 0.- generates the error message and the invoice cannot be created. But if we exchange the lines and we put the line wiht the amount of 0.- on the second position (the first position is a line with an amount > 0), here we can create the invoice.
Finally, after 3 weeks, we found (thanks to Opennet) that this problem comes from the configuration of the sale journal. If the option
'Skip 'Draft' State for Created Entries' is set, impossible to create an invoice with the line set to 0. And in this case, the error message is not very significant.