Import: Allow to import "False"-value (Z#23127414) (#3505)

This commit is contained in:
Martin Gross
2023-08-08 15:36:51 +02:00
committed by GitHub
parent 756a4355d1
commit aee86de330
2 changed files with 27 additions and 9 deletions

View File

@@ -805,7 +805,7 @@ class QuestionColumn(ImportColumn):
return self.q.clean_answer(value)
def assign(self, value, order, position, invoice_address, **kwargs):
if value:
if value is not None:
if not hasattr(order, '_answers'):
order._answers = []
if isinstance(value, QuestionOption):