Odoo中文社区可以通过以下三个域名访问:shine-it.net , odoocn.org,odoo.net.cn

原论坛用户的基本信息和发帖这里都予以保留,请注意:原论坛用户无需重新注册新用户,但是您的密码需要重置

开发人员可以登录gitter讨论组: http://gitter.im/odoo-china/Talk, 需要github账号

如果您登录系统碰到问题,请在微信公众号留言:

为什么在客户付款单中不能过滤客户



  • 非常感谢digitalsatori 在上个贴子中为我排查错误,现在又发现一个新问题<br /><br />因为我们公司客服工作,包括对客户的付款在Customer Payment初始录入,并由财务审核并记账。<br />而一个客服服务几个客户,因此新建一个客服组,也增加规则如下:<br />['|','&','|',('section_id','=',user.default_section_id.id),('section_id','=',False),('customer','=',True),('id','=',user.partner_id.id)]<br /><br />但是销售-销售-客户工作正常,而在会计-客户-customer payment中出错了。提示如下:<br />openerp.osv.orm: Access Denied by record rules for operation: read, uid: 62, model: res.partner<br /><br />同样是对客户进行过滤,为什么customer payment出现错误提示: (Document type: Partner, Operation: read) <br /><br />盼复!!



  • 非常感谢digitalsatori 在上个贴子中为我排查错误,现在又发现一个新问题<br /><br />因为我们公司客服工作,包括对客户的付款在Customer Payment初始录入,并由财务审核并记账。<br />而一个客服服务几个客户,因此新建一个客服组,也增加规则如下:<br />['|','&','|',('section_id','=',user.default_section_id.id),('section_id','=',False),('customer','=',True),('id','=',user.partner_id.id)]<br /><br />但是销售-销售-客户工作正常,而在会计-客户-customer payment中出错了。提示如下:<br />openerp.osv.orm: Access Denied by record rules for operation: read, uid: 62, model: res.partner<br /><br />同样是对客户进行过滤,为什么customer payment出现错误提示: (Document type: Partner, Operation: read) <br /><br />盼复!!



  • 系统有一个记录规则  “业务伙伴  res.partner company"<br />['|','|',('company_id.child_ids','child_of',[user.company_id.id]),('company_id','child_of',[user.company_id.id]),('company_id','=',False)]<br />在客服组导入这个规格,没有res.partner访问限制。但不能过滤partner.<br /><br /><br />而自建的记录规则 "业务伙伴 res_partner: read access on partners of sales group"<br />['|','&','|',('section_id','=',user.default_section_id.id),('section_id','=',False),('customer','=',True),('id','=',user.partner_id.id)]<br />引入这条规则,还是出现错误:<br />2013-08-04 09:00:10,977 6412 WARNING ZJGCS openerp.osv.orm: Access Denied by record rules for operation: read, uid: 62, model: res.partner<br />2013-08-04 09:00:10,979 6412 ERROR ZJGCS openerp.netsvc: Access Denied<br />The requested operation cannot be completed due to security restrictions. Please contact your system administrator.<br /><br />(Document type: Partner, Operation: read)<br />Traceback (most recent call last):<br />  File "D:\OpenERP7\openerp\openerp\netsvc.py", line 292, in dispatch_rpc<br />    result = ExportService.getService(service_name).dispatch(method, params)<br />  File "D:\OpenERP7\openerp\openerp\service\web_services.py", line 626, in dispatch<br />    res = fn(db, uid, *params)<br />  File "D:\OpenERP7\openerp\openerp\osv\osv.py", line 188, in execute_kw<br />    return self.execute(db, uid, obj, method, *args, **kw or {})<br />  File "D:\OpenERP7\openerp\openerp\osv\osv.py", line 144, in wrapper<br />    raise except_osv(inst.name, inst.value)<br />except_osv: (u'Access Denied', u'The requested operation cannot be completed due to security restrictions. Please contact your system administrator.\n\n(Document type: Partner, Operation: read)')<br /><br />这是什么问题,谁帮我解决一下。


登录后回复
 

与 Odoo 中文社区 的连接断开,我们正在尝试重连,请耐心等待