[IMP] account_fr_fec: fix SQL Memory error when FEC too big
Set fec_data to attachment True to avoid storing data in DB and generating memory alloc errors. closes odoo/odoo#83620 Task: 2453453 X-original-commit: e2d4a6bd03361188f7454015574896b52aa797ef Signed-off-by: William André (wan) <wan@odoo.com>
This commit is contained in:
@@ -19,7 +19,7 @@ class AccountFrFec(models.TransientModel):
|
||||
|
||||
date_from = fields.Date(string='Start Date', required=True)
|
||||
date_to = fields.Date(string='End Date', required=True)
|
||||
fec_data = fields.Binary('FEC File', readonly=True, attachment=False)
|
||||
fec_data = fields.Binary('FEC File', readonly=True)
|
||||
filename = fields.Char(string='Filename', size=256, readonly=True)
|
||||
test_file = fields.Boolean()
|
||||
export_type = fields.Selection([
|
||||
|
||||
Reference in New Issue
Block a user