Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
4473 Widoki

I want to hide Send&Print in invoice after first click.

https://imgur.com/a/dIENr8O


Awatar
Odrzuć
Najlepsza odpowiedź

Give one Boolean field 

field_name = fields.Boolean('Hide Button')

and add in the form view also and make invisible.

Then on that button function pass that field_name value as True.

In the form view of that button add the attrs condition for invisible as field_name as True

Then it will hide after first clcik

Awatar
Odrzuć
Autor

sorry i don’t understand programming.

would be nice if you can provide me copy and paste text