The invoice user_id is not already the same that sale order user_id

Bug #821486 reported by Jean-Sebastien SUZANNE - http://www.Syleam.fr
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Status tracked in Trunk
6.0
Fix Released
Low
OpenERP Publisher's Warranty Team
Trunk
Fix Released
Low
OpenERP R&D Addons Team 3

Bug Description

addons rev 4754.
Linux Ubuntu
### Action to reproduce the bug
install modules account and sale
Create 2 user: Fabien, Stephane with all the group need to make sale and accounting
With user Fabien, create a sale order with tree line( the product does not matter) and confim the order.
With user Stephane, in sales/Invoicing/Line to invoice, select one of the line of the order created by Fabien. click on the button "Create Invoice". This button use the wizard sale_line_invoice.
With user Stephane, create invoice by the sale order.
#### the result observed
We have 2 invoices:
* One with 1 line and the user_id is Stephane
* One with 2 lines and the user_id is Fabien.
Or the invoices was created by Stephane and the sale order by Fabien
#### the result expected
2 invoices with user_id=Fabien because it the real saleman.

Tags: maintenance

Related branches

Revision history for this message
Jean-Sebastien SUZANNE - http://www.Syleam.fr (alnjssuza) wrote :
Amit Parik (amit-parik)
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Low
status: New → Confirmed
summary: - [6.0] the invoice user_id is not already the same that sale order
- user_id
+ The invoice user_id is not already the same that sale order user_id
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Jean-Sebastien SUZANNE - http://www.Syleam.fr (alnjssuza) wrote :

Hi Bharat,

My patch fixes only the user_id, but le company_id has got the same probleme. Can you Check it too please.
I think, this issue is not only on this fields

Regard

Revision history for this message
Bharat Devnani (Open ERP) (bde-openerp) wrote :

Hello Jean-Sebastien SUZANNE,

I have checked and applied your patch, and it's working fine, The solution will be merged soon in addons. Following are the Revision ID and Number of the bug :

Revision ID : <email address hidden>
Revision Number : 4920

Thanks for Reporting, and solution.

Regards,
Devnani Bharat R.

Changed in openobject-addons:
status: In Progress → Fix Committed
Revision history for this message
Jean-Sebastien SUZANNE - http://www.Syleam.fr (alnjssuza) wrote : Re: [Bug 821486] Re: The invoice user_id is not already the same that sale order user_id

Thanks for all

Regards

2011/8/8 Bharat Devnani (Open ERP) <email address hidden>

> Hello Jean-Sebastien SUZANNE,
>
> I have checked and applied your patch, and it's working fine, The
> solution will be merged soon in addons. Following are the Revision ID
> and Number of the bug :
>
> Revision ID : <email address hidden>
> Revision Number : 4920
>
> Thanks for Reporting, and solution.
>
> Regards,
> Devnani Bharat R.
>
> ** Changed in: openobject-addons
> Status: In Progress => Fix Committed
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/821486
>
> Title:
> The invoice user_id is not already the same that sale order user_id
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/openobject-addons/+bug/821486/+subscriptions
>

--
Jean-Sébastien Suzanne
Développeur / *Software d*eveloper

27 avenue Jean Mantelet
61000 Alençon
FRANCE

*Tel : +33 (0)2 33 31 22 10
Fax : +33 (0)2 33 31 22 14*

********************************************************************************
Ce message et toutes les pièces jointes (ci-après le "message") sont établis à
l'intention exclusive de ses destinataires et sont confidentiels. Si vous
recevez ce message par erreur, merci de le détruire et d'en avertir
immédiatement l'expéditeur. Toute utilisation de ce message non conforme à sa
destination, toute diffusion ou toute publication, totale ou partielle, est
interdite, sauf autorisation expresse. L'internet ne permettant pas d'assurer
l'intégrité de ce message, SYLEAM décline toute responsabilité au titre de ce
message, dans l'hypothèse où il aurait été modifié.

This message and any attachments (the "message") is intended solely for the
addressees and is confidential. If you receive this message in error, please
delete it and immediately notify the sender. Any use not in accord with its
purpose, any dissemination or disclosure, either whole or partial, is prohibited
except formal approval. The internet can not guarantee the integrity of this
message. SYLEAM shall not therefore be liable for the message if modified.
********************************************************************************

Changed in openobject-addons:
milestone: none → 6.1
Revision history for this message
Bharat Devnani (Open ERP) (bde-openerp) wrote :

Hello Jean-Sebastien SUZANNE,

I have also fixed for the company_id too.

Thanks & Regards,
Devnani Bharat R.

Revision history for this message
qdp (OpenERP) (qdp) wrote :

fix landed on trunk at revision 5056 revid:<email address hidden>

Changed in openobject-addons:
status: Fix Committed → Fix Released
tags: added: maintenance
Revision history for this message
Rifakat Husen (OpenERP) (rha-openerp) wrote :

Landed on 6.0 with Revision 5157

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.