mirror of
https://github.com/camptocamp/odoo-cloud-platform.git
synced 2026-06-24 16:48:36 +00:00
Rename builtin id variable
This commit is contained in:
@@ -253,7 +253,8 @@ class IrAttachment(models.Model):
|
||||
attachment = attachment_model_env.browse(attachment_id)
|
||||
attachment._move_attachment_to_s3()
|
||||
except psycopg2.OperationalError:
|
||||
_logger.error('Could not migrate attachment %s to S3', id)
|
||||
_logger.error('Could not migrate attachment %s to S3',
|
||||
attachment_id)
|
||||
|
||||
@contextmanager
|
||||
def do_in_new_env(self, new_cr=False):
|
||||
|
||||
Reference in New Issue
Block a user