hotwax / facilities

App to manage facilities
Apache License 2.0
1 stars 8 forks source link

Owner party ID issue in Facility App #272

Closed khushalidube closed 2 months ago

khushalidube commented 2 months ago

Current behavior

The facilities app when creating a new facility places the value for the owner party id as "COMPANY". Since the owner party ID value can vary, for example "NN_COMPANY" and not COMPANY it throws a foreign key constraint error hindering the facility creation through facilities app.

Expected behavior

The owner party id should not be hard coded as "COMPANY" instead should be the owner of the product store the facility is created for.

Screenshot 2024-06-20 at 11 43 28 AM

Steps to reproduce the issue

Please provide the steps to reproduce and if possible a minimal reproducible example of the problem

Can you handle fixing this bug by yourself?

Environment details

Additional information

amansinghbais commented 2 months ago

Following bug is handled in following issue: https://github.com/hotwax/facilities/issues/278

Hence closing it.