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

Fix: Product Category can be recreated with the same name, description & color tag. #1074 #1094

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from

Conversation

MehdiMsa
Copy link

@MehdiMsa MehdiMsa commented May 5, 2024

Description

In this pull request, I have been able to create a README.md documentation file in German. In addition, Problem with the Product Category and Product Replication has been fixed. With this change, if you attempt to create a new product with a name that already exists in the database, MongoDB will throw a duplicate key error, preventing the creation of duplicate products with the same name.

Related Issues

If this pull request is related to any issue(s), please list them here.

https://github.com/idurar/idurar-erp-crm/issues/1074

Steps to Test

  1. Login
  2. Go to 'Products Category Section'
  3. Click on 'Add New Product Category'
  4. Fill in the information & create the Product Category
  5. Click on 'Add New Product Category'
  6. Recreate another Product Category with the same data

Screenshots (if applicable)

image

Checklist

  • I have tested these changes
  • I have updated the relevant documentation
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the codebase
  • My changes generate no new warnings or errors
  • The title of my pull request is clear and descriptive

@MehdiMsa MehdiMsa changed the title Product Category & Product Models Fixed - German Translation Document Provided Fix: Product Category & Product Models Fixed - Feat: German Translation Document Provided May 5, 2024
@MehdiMsa MehdiMsa marked this pull request as draft May 5, 2024 12:21
@MehdiMsa MehdiMsa marked this pull request as ready for review May 5, 2024 12:25
@MehdiMsa MehdiMsa changed the title Fix: Product Category & Product Models Fixed - Feat: German Translation Document Provided Fix: Product Category can be recreated with the same name, description & color tag. #1074 May 5, 2024
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.

None yet

1 participant