Before this commit, when two templates exist for the same model, clicking "ADD EXPORT ACTION" for each template creates separate server actions for each. As a result, if multiple templates are created for the same model, numerous server actions with the label "Export Excel" will accumulate for that model. With this commit, if two templates exist for the same model and "ADD EXPORT ACTION" is clicked for each, they will now share a single server action. Users can then select templates from within the "Export Excel" wizard. Clicking "REMOVE EXPORT ACTION" on a template will remove only that template from the "Export Excel" selection. The server action itself will be deleted only when no templates use it for export. |
||
---|---|---|
.. | ||
__init__.py | ||
common.py | ||
ir_report.py | ||
styles.py | ||
xlsx_export.py | ||
xlsx_import.py | ||
xlsx_report.py | ||
xlsx_template.py |