Sales Invoice not allowed to be renamed

Hello,

I am running into this issue “Sales Invoice not allowed to be renamed” everytime I load out an invoice or inserting a new invoice… I am using the cloud version of erpnext.
http://petpalace.erpnext.com

Please advice.

Please provide more details.
What is the current value and what do you want to rename it to.

In general, you can rename a document in the following way.

  • Open the document
  • Double click the title
  • Enter a new title in the popup form that is displayed
  • If the menu button on the right hand side says “Update”, click the button to store the new value

Hello

I am not trying to rename it. But everything I load up an Invoice or input a Invoice the message this just pop up.

Cheers,
York

Below is a video showing it.

https://drive.google.com/file/d/1Jms_6cF5ZTdlfT6H5Lh95xgRATskzMml/view?usp=sharing

https://drive.google.com/file/d/1Jms_6cF5ZTdlfT6H5Lh95xgRATskzMml/view?usp=sharing

Hello,

Any update on this?

Cheers,
York

Hi,

You have written a custom script for sales invoice.

The refresh function is called when the sales invoice is loaded.

The refresh function is also called for the submitted documents which are not allowed to be renamed.

As a workaround, you can use naming series.

To fix the issue, either remove the custom script or fix it.

In case the issue still persists, contact us at support@erpnext.com

1 Like