erpnext icon indicating copy to clipboard operation
erpnext copied to clipboard

Drop-shipping : shipping_address not filled

Open NassimBentarka opened this issue 2 years ago • 0 comments

Information about bug

When using drop shipping option in sales order item, when generating a Purchase Order, the Shipping Address on the Purchase Order should reflect the Shipping Address on the Sales Order. However, that's not what happens on my ERP Next installation, it instead shows the Company Address as the Shipping Address on the PO regardless of the Drop Shipping procedure (AKA: item.delivered_by_supplier: True)

Steps to reproduce the issue

  1. Make a sale order, in a sale order item tick the box delivered_by_supplier and submit.
  2. Make the corresponding purchase order using create purchase order.

Observed result

The shipping_address field is filled by Company Address.

Expected result

The shipping_address field should be the Customer Shipping Address (shipping_address_name field of Sale Order)

Module

buying, selling

Version

ERPNext: v14.1.0 (HEAD) Frappe Framework: v14.6.0 (HEAD)

Installation method

FrappeCloud

Relevant log output / Stack trace / Full Error Message.

No response

NassimBentarka avatar Sep 18 '22 04:09 NassimBentarka