Commit 6f92189a authored by Mame Coumba Sall's avatar Mame Coumba Sall

Modified to make sure that two lists are always concatenated

parent fb218608
...@@ -48,7 +48,7 @@ class PaySheetModelCell(TradeModelCell): ...@@ -48,7 +48,7 @@ class PaySheetModelCell(TradeModelCell):
if not result: if not result:
if not self.hasCellContent(base_id='variation'): if not self.hasCellContent(base_id='variation'):
result = self.getVariationRangeBaseCategoryList() # The current resource variation result = self.getVariationRangeBaseCategoryList() # The current resource variation
return result + ['trade_phase', 'quantity_unit'] return list(result) + ['trade_phase', 'quantity_unit']
# Redefine some methods as we do not want to turn cells into predicate # Redefine some methods as we do not want to turn cells into predicate
def edit(self, **kw): def edit(self, **kw):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment