etendosoftware / etendo_core

Etendo Classic source code
9 stars 10 forks source link

ETP-56 : When a Purchase Invoice is cloned and the Bussines Partener is deactivaed, the cloned invoice is generated. It allows to create invoice using deleted(logical deleted) BPs #412

Open Amar-Etendo opened 3 months ago

Amar-Etendo commented 3 months ago

Error's description

When a Purchase Invoice is cloned and the Bussines Partener is deactivaed, the cloned invoice is generated. It allows to create invoice using deleted(logical deleted) BPs

Steps to reproduce the error

a) select any Purchase Invoice Or created a new one. b) Navigate to the business partner and uncheck “Active” check (deactive the BP) c) use the clone button d) new copy of the purchase invoice is created

Expected behavior

No clone or copy of the purchase invoice allowed to be created if the business partner is inactive/deactivated/deleted in the system.

Affected Version

Version number: Core - 24.1.3

Solution Design (optional)

Other test cases