I cant duplicate Sales Invoice

Hello, I’m new to erpnext and I’m trying to create a new doctype. I’m duplicating the doctype Sales Invoice but this new doctype does not extract the price of the item that was already created in products, nor the address of the client that was already created. Thank you very much

Hi @Victor_Ludena

In py side, try to extend SalesInvoice class and In js side, add below code and check

{% include 'erpnext/selling/sales_common.js' %};

Kindly , refer sales invoice files


1 Like