Skip to content

Conversation

@ZakkiyathLulu
Copy link
Contributor

Feature description

This patch removes the "bureau" field from the Employee doctype by deleting the associated custom field entry in the database.

Analysis and design (optional)

The field "bureau" was identified as obsolete and is no longer required in the Employee doctype.
The patch ensures database cleanup to prevent unnecessary data clutter.

Solution description

The following script will execute during migration:

  • It iterates over a list of fields to be removed.
    
  • It checks if the field exists in the Custom Field table.
    
  • If it exists, it deletes the field and commits the changes to the database.
    

Areas affected and ensured

Employee doctype

Is there any existing behavior change of other features due to this code change?

No

Was this feature tested on the browsers?

  • Chrome
  • Mozilla Firefox

@ZakkiyathLulu ZakkiyathLulu changed the base branch from develop to master March 25, 2025 09:46
@ZakkiyathLulu ZakkiyathLulu changed the title M1new 01 Remove Bureau field from Employee with help of patches. Mar 25, 2025
@SherinKR SherinKR merged commit b7bd697 into master Mar 25, 2025
@SherinKR SherinKR deleted the m1new_01 branch March 25, 2025 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants