Error while saving/creating a dynamic contract in scenario

Hi, i have this error:

In /lib/python3.10/site-packages/smartpy.py, line 2677 :

data[“model_id”] = model.contractId.export()
AttributeError: ‘MethodCall’ object has no attribute ‘contractId’

My code is:

dyn0 = sc.dynamic_contract(0, Factory.createProduct(“Primo”))