i installed odoo V 12.0 and i configure it with pycharm to build a custom module .
i have this error in pycharm .
Traceback (most recent call last):
File "C:/Program Files (x86)/Odoo 12.0/server/odoo-bin", line 5, in <module>
import odoo
File "<frozen importlib._bootstrap>", line 961, in _find_and_load
File "<frozen importlib._bootstrap>", line 950, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 646, in _load_unlocked
File "<frozen importlib._bootstrap>", line 616, in _load_backward_compatible
File "C:\Program Files (x86)\Odoo 12.0\python\lib\site-packages\wrapt\importer.py", line 157, in load_module
module = self.loader.load_module(fullname)
File "C:\Program Files (x86)\Odoo 12.0\server\odoo\__init__.py", line 127, in <module>
from . import osv
File "C:\Program Files (x86)\Odoo 12.0\server\odoo\osv\__init__.py", line 4, in <module>
from . import osv
File "C:\Program Files (x86)\Odoo 12.0\server\odoo\osv\osv.py", line 5, in <module>
from .orm import Model, TransientModel, AbstractModel
File "C:\Program Files (x86)\Odoo 12.0\server\odoo\osv\orm.py", line 8, in <module>
from ..models import (
File "C:\Program Files (x86)\Odoo 12.0\server\odoo\models.py", line 5734, in <module>
from .fields import Field
File "C:\Program Files (x86)\Odoo 12.0\server\odoo\fields.py", line 328
def __init__(self, string: object = Default, kwargs: object) -> object:
^
SyntaxError: non-default argument follows default argument
i have reinstall odoo v12.0 but i have the same error how can i resolve it
thanks
Configure PyCharm with Odoo: http://learnopenerp.blogspot.com/2019/10/configure-pycharm-with-odoo.html