opefitoo / inur.django

django backend / frontend of the inur app
GNU General Public License v2.0
2 stars 3 forks source link

Some fields are not mandatory but still they're very important #158

Open mehditerraneen opened 1 year ago

mehditerraneen commented 1 year ago

I need a script that checks for some data if filled or not, if not send a reminder It needs to be configurable Say Emoloyee.driver_licencenumber When notification is sent, it should point to url of the object to fix

aamadou commented 1 year ago

Works like birthday? yes

aamadou commented 1 year ago

notification in google group chat? yes Message : Information I is missing for Employee X, follow Link L to complete the missing info.

mehditerraneen commented 1 year ago

Message : Missing information {{verbose_field_name}} on {{verbose_model_name}} for {{str(object)}} please fix this asap (url : optional)

aamadou commented 1 year ago

please check commits, I used own message before seeing yours, I'll change in the next commit

aamadou commented 1 year ago

where do you want me to configure the model + field ? do you want me to add a model for this? the user can add combination of "model_name" and "field_name" from choices_list and I can prefill the list with existing models and fields

aamadou commented 1 year ago

@BenaoudaMamcha please start on this and take these notes into account: