diff --git a/product/ERP5/Document/InvoiceTransactionRule.py b/product/ERP5/Document/InvoiceTransactionRule.py index ac8bc5f7f3487806a634a5177e9b9e8a13cab084..4171155161b33153d9bf45232964e6619ee66118 100755 --- a/product/ERP5/Document/InvoiceTransactionRule.py +++ b/product/ERP5/Document/InvoiceTransactionRule.py @@ -257,7 +257,7 @@ class InvoiceTransactionRule(Rule, XMLMatrix): force_update = 1 ) else : - # If only one cell, delete it + # If empty matrix, delete all cells cell_range_id_list = self.getCellRangeIdList(base_id = base_id) for k in cell_range_id_list : if self.get(k) is not None :