frappe / frappe

Low code web framework for real world applications, in Python and Javascript
https://frappeframework.com
MIT License
7.25k stars 3.44k forks source link

Customization: Prefix names of customized column breaks #19264

Open zongo811 opened 1 year ago

zongo811 commented 1 year ago

Is your feature request related to a problem? Please describe. During migration of erpnext from V13 to V14 this error occured while the fixtures where processed: UniqueFieldnameError: Employee: Fieldname column_break_55 appears multiple times in rows 117, 117

The reason: in V13 I customized Employee and added a column break. The name of my column break clashed with a new column break introduced in Employee by ERPnext V14.

I resolved this by renaming my column break to column_break_56.

Describe the solution you'd like To prevent future clashes prefix all customized column breaks with "custom". This would name my column break as "custom_column_break_55", and clashes will never happen.

Describe alternatives you've considered

Additional context

zongo811 commented 1 year ago

I tried giving the column break a label. That affects the name of the column break, but the label also shows in the Form View. So not an option.