idurar-erp-crm icon indicating copy to clipboard operation
idurar-erp-crm copied to clipboard

Can't let me delete people even if he doesn't have any invoice or belonging to a company

Open Houssemdaoud opened this issue 11 months ago • 7 comments

Hello, I created a person in the people section and gave him an invoice then deleted the invoice and when trying to delete the people it doesn't let me.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'People'
  2. Click on 'Add new person'
  3. make sure he doesn't belong to any company
  4. create an invoice in his name
  5. delete the invoice
  6. try to delete the person

Expected behavior the created person can't get deleted

Screenshots Screenshot 2024-03-20 151050 Screenshot 2024-03-20 151152

Desktop:

  • OS: [Windows]
  • Browser [Opera GX]

Houssemdaoud avatar Mar 20 '24 14:03 Houssemdaoud

Hello, I tried reproducing it and encountered the same error. I'll investigate further to find the cause.

slimskhab avatar Mar 21 '24 04:03 slimskhab

hi houssem, i reproduced the steps and got the same error, i'll try to fix that.

inesmrad avatar Mar 21 '24 08:03 inesmrad

A person can be deleted when he has no invoice and he is not client

or should it be deleted only when he has no invoice? @inesmrad @Houssemdaoud

sanskaraggarwal2025 avatar Mar 21 '24 09:03 sanskaraggarwal2025

A person can be deleted when he has no invoice and he is not client

or should it be deleted only when he has no invoice? @inesmrad @Houssemdaoud

i guess even as 'people ' and having no invoice, technically we should be able to delete it.

inesmrad avatar Mar 22 '24 07:03 inesmrad

@salahlalami Could you please assign this issue to me? I would like to work on it.

sanskaraggarwal2025 avatar Mar 22 '24 11:03 sanskaraggarwal2025

@Houssemdaoud tell me what is the status of this issue please tell me??? does it has to be worked upon ??

samr874 avatar Apr 12 '24 18:04 samr874

@Houssemdaoud tell me what is the status of this issue please tell me??? does it has to be worked upon ??

If u create a new person then create an invoice in his name then delete the invoice it doesn't let you to delete the person because it says there is an invoice in his name

Houssemdaoud avatar Apr 12 '24 18:04 Houssemdaoud