mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
[ADD] sql_export_delta
This commit is contained in:
14
sql_export_delta/wizards/sql_file_wizard.py
Normal file
14
sql_export_delta/wizards/sql_file_wizard.py
Normal file
@@ -0,0 +1,14 @@
|
||||
# Copyright 2024 Hunki Enterprises BV
|
||||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl-3.0)
|
||||
|
||||
from odoo import models
|
||||
|
||||
|
||||
class SqlFileWizard(models.TransientModel):
|
||||
_inherit = "sql.file.wizard"
|
||||
|
||||
def export_sql(self):
|
||||
self.ensure_one()
|
||||
if self.sql_export_id.export_delta:
|
||||
self = self.with_context(export_delta_id=self.id)
|
||||
return super(SqlFileWizard, self).export_sql()
|
||||
Reference in New Issue
Block a user