← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 690700] [NEW] [purchase-stock] Wrong Partner used when invoicing from picking coming from a puchase with sent_to_address

 

Public bug reported:

How to replicate:

Let's create a new purchase order.
Select a supplier,
Create new purchase lines.

In the tab regarding invoice/picking, select that you want to send the
products to the clients directly instead of you, so you select a
_customer_ partner address,

Select that you want _invoice_from_picking_,

Approve as many times as it is needed.

Go to incoming pickings,

Let's say that all the product received are the ones in your P.O. (no difference) 
Approve the picking

Then select in the right side  bar the action create invoice,
Select Purchase Invoice, and proceed,

The draft purchase invoice create is associated to the customer partner (wrong) not to the supplier partner,
the picking is already related to the P.O. so the partner that should be related to the newly created invoice could come from it.
an not from the partner_address field filled in the picking, as long as there is P.O. (or S.O regarding to sale orders & sale invoices)

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/690700

Title:
  [purchase-stock] Wrong Partner used when invoicing from picking coming from a puchase with sent_to_address

Status in OpenObject Addons Modules:
  New

Bug description:
  How to replicate:

Let's create a new purchase order.
Select a supplier,
Create new purchase lines.

In the tab regarding invoice/picking, select that you want to send the products to the clients directly instead of you, so you select a _customer_ partner address,

Select that you want _invoice_from_picking_,

Approve as many times as it is needed.

Go to incoming pickings,

Let's say that all the product received are the ones in your P.O. (no difference) 
Approve the picking

Then select in the right side  bar the action create invoice,
Select Purchase Invoice, and proceed,

The draft purchase invoice create is associated to the customer partner (wrong) not to the supplier partner,
the picking is already related to the P.O. so the partner that should be related to the newly created invoice could come from it.
an not from the partner_address field filled in the picking, as long as there is P.O. (or S.O regarding to sale orders & sale invoices)





Follow ups

References