[IMP] account_financial_report: extensibility xlsx: allow to use other column types
parent
b91c2dfccc
commit
6e7cfb02b1
|
@ -297,6 +297,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):
|
||||||
|
@ -700,3 +702,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