Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't name the doctype while creating by copy and paste #26444

Open
vinay500 opened this issue May 16, 2024 · 7 comments
Open

Can't name the doctype while creating by copy and paste #26444

vinay500 opened this issue May 16, 2024 · 7 comments
Labels

Comments

@vinay500
Copy link

Description of the issue

Unable to Name the doctype while creating the doctype by copy and paste

Context information (for bug reports)

Output of bench version

erpnext 15.20.6
frappe 15.23.0
healthcare 15.0.0
hrms 15.19.0

Steps to reproduce the issue

1.open to any doctype and in menu click on copy to clipboard
2.go to create a new doctype and paste the copied doctype
3.when we want to name the doctype then their is no field for naming the doctype

Observed result

No field to name the doctype and also unable to edit the text New Doctype

New DocType - Google Chrome 16-05-2024 10_56_51

Expected result

there should be a field to name the doctype or should be able to edit the content new doctype on top right to name the doctype

Stacktrace / full error message

fgfjhk

Additional information

OS version / distribution, Frappe install method, etc.

@vinay500 vinay500 added the bug label May 16, 2024
@gopikrishnan13
Copy link

gopikrishnan13 commented May 17, 2024

@vinay500 Please check the bottom fields tab, the name field is preset here

image

@vinay500
Copy link
Author

@gopikrishnan13 name field is not present

hjhl,jukl;

@gopikrishnan13
Copy link

@vinay500 I have this field in the 'before save' state. I follow this setup and it works fine:
image

  1. Copy the doctype to the clipboard.
  2. Paste it in Frappe Desk.
    Then, the field is available

@vinay500
Copy link
Author

vinay500 commented May 20, 2024

@gopikrishnan13 I do have this field in pre-save state but I am unable to edit the field(nothing happening when i am clicking on it)
sdvsdv

@gopikrishnan13
Copy link

gopikrishnan13 commented May 20, 2024

@vinay500 In this state, check the bottom fields tab and change the Name field value

@vinay500
Copy link
Author

@gopikrishnan13 both are not present, bottom fields tab has only doctype fields and no name field to name the doctype and the field which is at top is not editable

@nbfleet
Copy link

nbfleet commented May 29, 2024

Solution: The name is present at the end while creating the doctype using copy and paste.

Steps to solve:
Step 1: Go to any doctype you want to copy.
Step 2: Open the settings menu by clicking on the three dots present on the top right.
Step 3: Click on copy to clipboard. This will copy the doctype.
Step 4: Go to the doctype list and click on add doctype.
Step 5: Paste the doctype you have copied. Use cmd + p for mac or ctrl + p for windows.
Step 6: You will find the name field after the Fields section. Please refer to below image
Screenshot 2024-05-29 at 1 00 52 PM

Step 7: Click on save. It will save the doctype with the name you have entered in the name field

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants