Skip to content

Solede-SA/test_customer_field

Repository files navigation

Test Customer Field

Test app to reproduce the duplicate first_name and last_name fields bug in Customer when using ERPNext's Italian regional setup.

The Problem

ERPNext's Italian regional setup creates custom fields first_name and last_name on the Customer DocType. These conflict with standard Customer fields (which are read-only and fetch from the primary contact).

See: frappe/erpnext#44498

How to Reproduce the Bug

  1. Install ERPNext (version 15 or develop)
  2. Create a new site with country = Italy
  3. Install this app
  4. Go to Customer and notice the duplicate fields

Fix

PR frappe/erpnext#50921 fixes this issue by renaming the Italian regional fields to italy_customer_first_name and italy_customer_last_name.

Installation

cd $PATH_TO_YOUR_BENCH
bench get-app https://github.com/Solede-SA/test_customer_field --branch main
bench --site your-site install-app test_customer_field

License

AGPL-3.0

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages