Account : problem with journals and error messages

Bug #615268 reported by forstera
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Status tracked in Trunk
5.0
Fix Released
Medium
Jay Vora (Serpent Consulting Services)
Trunk
Fix Released
Low
OpenERP R&D Addons Team 3

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.

Tags: maintenance

Related branches

Revision history for this message
forstera (arnaud-forster-deactivatedaccount) wrote :
Revision history for this message
forstera (arnaud-forster-deactivatedaccount) wrote :
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Arnaud,

Can you try with the attached patch?

Thanks.

tags: added: maintenance
Revision history for this message
forstera (arnaud-forster-deactivatedaccount) wrote :

Hello Jay,
Thanks for the answer ; i'll pass the patch but I'll have to wait till the end of the week because the accounting responsible will be there only on next saturday. Thanks

Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

We have got confirmation fix.
This has been fixed on stable by revision 2878 <email address hidden>.

@Addons3 Team, can you check the same on trunk?
Thanks.

Revision history for this message
Mustufa Rangwala (Open ERP) (mra-tinyerp) wrote :

Hello forstera,

We have fixed the problem in Addons3 branch. And it will be merged with Trunk Addons soon.

Rev. id: mra@mra-laptop-20101111101353-iwtel2bf7sqdqhby

Thank you,
Mustufa (mra)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.