[Trunk/7.0] sale.order.lines invoiced status set to TRUE even when invoice is in draft state

Bug #1165533 reported by Andres Calle (TRESCLOUD)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Confirmed
Medium
OpenERP R&D Addons Team 3

Bug Description

Using OpenERP 6.0.4, Postgres 8.4, Python 2.7, Ubuntu 12.04.

Hi guys!.
Please help me out with this one.

When partially invoicing a Sale Order by lines (menu Sales/Invoicing/Lines to Invoice) the sale.orde.lines changes its invoiced status to TRUE (see attached image), it should not change the state at all as the invoice is still in draft state (OpenERP actually works like this when invoicing the whole sale order, tha sale order isn't marked as invoiced until the invoice is approved).

This wrong behaviour (setting the line to invoiced even when the invoice is not yet aproved) generates other related problems like:
- After cancelling the invoice (click on cancell on the invoice), the state of the line remains as invoiced
- It is not possible to complete the invoicing of the sale order when there are cancelled invoices (because some lines are already supposedly invoiced).

I haven't found any work around so far, right now I am having to create a new sale order and left the previous one oppened until I figure out how to fix this.

Now it seems to have been fixed in version 6.1 according to bug https://bugs.launchpad.net/openobject-addons/+bug/974074

Best Regards,
Andres Calle
TRESCLOUD Cía Ltda

Tags: accounting
Revision history for this message
Andres Calle (TRESCLOUD) (andres-calle) wrote :
summary: - sale.order.lines invoiced status set to TRUE even when invoice is in
- draft state
+ [Trunk/7.0] sale.order.lines invoiced status set to TRUE even when
+ invoice is in draft state
Changed in openobject-addons:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
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.