literature self_buy_giveData variable is now required in extern view
This commit is contained in:
parent
d09b97f72f
commit
0b044692d6
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ class CheckForm(FdbForm):
|
|||
class LiteratureForm(CheckForm):
|
||||
def __init__(self, *args, **kwargs):
|
||||
super().__init__(*args, **kwargs)
|
||||
self.fields['selfbuy_give_data'].required = False
|
||||
self.fields['selfbuy_give_data'].required = True
|
||||
class Meta:
|
||||
model = Literature
|
||||
fields = ['cost', 'info', 'source', 'notes', 'selfbuy', 'selfbuy_data', 'selfbuy_give_data']
|
||||
|
|
Loading…
Reference in a new issue