跳至内容
菜单
此问题已终结
2 回复
8540 查看

I installed base_sale_multichannels modules. I got the error "There is no reference available for res.partner.address" . How to fix this error in openerp7.

形象
丢弃

you are trying to use an old module (v6) on a v7 instance. So, you may face several difficulties is this module has not been ported to v7

最佳答案

In openerpv7 res.partner.address model is changed as res.partner.

You just have to change res.partner.address to res.partner

形象
丢弃
编写者 最佳答案

Am a new person in openerp, Can you mention the file name for change from res.partner.address to res.partner.

形象
丢弃

You have change this in which module you are trying to install. i think it is base_sale_multichannels you are trying to install.

编写者

i changed the sales.py and sales.xml files in multichannels module but it's not working...

let me know the what is the next error you are facing!

编写者

Client Traceback (most recent call last): File "/opt/openerp/server/openerp/addons/web/http.py", line 204, in dispatch response["result"] = method(self, *self.params) File "/opt/openerp/server/openerp/addons/web/controllers/main.py", line 1132, in call_button action = self._call_kw(req, model, method, args, {}) File "/opt/openerp/server/openerp/addons/web/controllers/main.py", line 1120, in _call_kw return getattr(req.session.model(model), method)(args, **kwargs) File "/opt/openerp/server/openerp/addons/web/session.py", line 42, in proxy result = self.proxy.execute_kw

编写者

File "/opt/openerp/server/openerp/osv/orm.py", line 876, in create_instance 'You may need to add a dependency on the parent class\' module.' % (name, parent_name)) TypeError: The model "external.report" specifies an unexisting parent class "external.report" You may need to add a dependency on the parent class' module.

'depends': ['sale', 'base_external_referentials', 'account_voucher', 'delivery'] did you install these modules?

编写者

Yes, I installed all the dependency.

编写者

can you provide the link for v7 multichannels module.

编写者

i installed all the dependency modules...