[IMP] account_financial_report: extensibility xlsx: allow to use other column types
parent
971160647b
commit
0dd3909465
|
@ -300,6 +300,8 @@ class AbstractReportXslx(models.AbstractModel):
|
||||||
value or "",
|
value or "",
|
||||||
report_data["formats"]["format_right"],
|
report_data["formats"]["format_right"],
|
||||||
)
|
)
|
||||||
|
else:
|
||||||
|
self.write_non_standard_column(cell_type, col_pos, value)
|
||||||
report_data["row_pos"] += 1
|
report_data["row_pos"] += 1
|
||||||
|
|
||||||
def write_initial_balance(self, my_object, label, report_data):
|
def write_initial_balance(self, my_object, label, report_data):
|
||||||
|
@ -703,3 +705,9 @@ class AbstractReportXslx(models.AbstractModel):
|
||||||
:return: the columns position used for final balance label.
|
:return: the columns position used for final balance label.
|
||||||
"""
|
"""
|
||||||
raise NotImplementedError()
|
raise NotImplementedError()
|
||||||
|
|
||||||
|
def write_non_standard_column(self, cell_type, col_pos, value):
|
||||||
|
"""
|
||||||
|
Write columns out of the columns type defined here.
|
||||||
|
"""
|
||||||
|
raise NotImplementedError()
|
||||||
|
|
Loading…
Reference in New Issue