I try to create docker container. To do that, i'm trying to install docker from .deb package i just downloaded. Every time I do docker-compose up, the installation fails with this message :
Setting up odoo (13.0+e.20200814) ... File "/usr/lib/python3/dist-packages/odoo/addons/partner_commission/models/account_move.py", line 73 desc = f"{_('Commission on %s') % (move.name)}, {move.partner_id.name}, {formatLang(self.env, move.amount_untaxed, currency_obj=move.currency_id)}" ^ SyntaxError: invalid syntax File "/usr/lib/python3/dist-packages/odoo/addons/partner_commission/tests/test_purchase_order.py", line 86 expected = f"""Commission on INV/12345/0001, Customer, 2,000.00 € {sub.code}, from {format_date(self.env, date_from)} to {format_date(self.env, date_to)}""" ^ SyntaxError: invalid syntax File "/usr/lib/python3/dist-packages/odoo/addons/payment_stripe/models/payment.py", line 87 stripe_session_data[f'payment_method_types[{idx}]'] = payment_method_type ^ SyntaxError: invalid syntax File "/usr/lib/python3/dist-packages/odoo/addons/sale_amazon_authentication/models/mws_connector.py", line 60 f"proxy responded with status code {mws_error.response.status_code} to: {mws_error}" ^ SyntaxError: invalid syntax File "/usr/lib/python3/dist-packages/odoo/addons/website/models/ir_qweb.py", line 71 data_name = f'data-{name}' ^ SyntaxError: invalid syntax File "/usr/lib/python3/dist-packages/odoo/tools/config.py", line 567 glob.glob(os.path.join(res, f"*/*/{prefix}-*.py")) ^ SyntaxError: invalid syntax dpkg: error processing package odoo (--configure): subprocess installed post-installation script returned error exit status 1 Processing triggers for libc-bin (2.24-11+deb9u4) ... Errors were encountered while processing: odoo E: Sub-process /usr/bin/dpkg returned an error code (1) ERROR: Service 'odoo' failed to build: The command '/bin/sh -c apt-get install -f -y' returned a non-zero code: 100
Is there a way to resolve the issue ?