Change CI to GitHub actions

Use copier template from oca/oca-addons-repo-template

Target Python3.7

Adapt modules to fix few issues
This commit is contained in:
Yannick Payot
2023-05-11 11:43:49 +02:00
parent 6dd6d71807
commit f5033f54b2
32 changed files with 586 additions and 74 deletions
+1
View File
@@ -6,6 +6,7 @@
'version': '12.0.1.0.0',
'category': 'Tests',
'author': 'Camptocamp,Odoo Community Association (OCA)',
'website': 'https://github.com/camptocamp/odoo-cloud-platform',
'license': 'AGPL-3',
'depends': [
'base_fileurl_field'
@@ -14,9 +14,9 @@ class IrAttachment(models.Model):
_inherit = "ir.attachment"
def _get_stores(self):
l = ['s3']
l += super(IrAttachment, self)._get_stores()
return l
stores = ['s3']
stores += super(IrAttachment, self)._get_stores()
return stores
@api.model
def _store_file_read(self, fname, bin_size=False):