跳转至内容
  • 版块
  • 标签
  • 热门
  • 用户
  • 群组
皮肤
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • 默认(Flatly)
  • 不使用皮肤
折叠

Odoo 中文社区

H

hyk249933033

@hyk249933033
关于
帖子
4
主题
2
群组
0
粉丝
0
关注
0

帖子

最新 最佳 有争议的

  • 开发打印报表断点进入不了
    H hyk249933033

    做了一个凭证打印的rml
    xml内容

     &lt;report <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; auto=&quot;True&quot; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; id=&quot;account_move_print&quot; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; model=&quot;account.move&quot; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; name=&quot;account_print&quot; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; header=&quot;False&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; multi=&quot;True&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rml=&quot;account_move_print/report/account_move_print.rml&quot; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; string=&quot;Journal Print&quot;/&gt;
    


    py文件内容

    class move_print(report_sxw.rml_parse):<br />&nbsp; &nbsp; def __init__(self, cr, uid, name, context):<br />&nbsp; &nbsp; &nbsp; &nbsp; super(move_print, self).__init__(cr, uid, name, context)<br />&nbsp; &nbsp; &nbsp; &nbsp; self.localcontext.update({<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#039;time&#039;: time,&nbsp; &nbsp; #断点位置<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#039;lst&#039;: self._lst,<br />&nbsp; &nbsp; &nbsp; &nbsp; })<br />&nbsp; &nbsp; def _lst(self, move_id):<br />&nbsp; &nbsp; &nbsp; &nbsp; res = &#91;]<br />&nbsp; &nbsp; &nbsp; &nbsp; .....<br />&nbsp; &nbsp; &nbsp; &nbsp; return res<br />report_sxw.report_sxw(&#039;report.account_move&#039;,&#039;account.move&#039;,&#039;addons/account_move_print/report/account_move_print.rml&#039;,parser=move_print,header=&#039;internal&#039;)<br />
    


    可以正常打印但是使用lst就报没有定义,而且调试的时候断点也进入不去init里面.请问各位大侠是什么问题?


  • OE 如何设置最顶层菜单权限
    H hyk249933033

    设置->用户界面->菜单项  里面设置有个组,添加给"管理员权限".(但是这个设置需要建个库设置一回,如果碰到多用户设置的时候,想一次搞定还是需要碰到代码,毕竟将来HR模块不可能只给admin使用)


  • 请教openerp7 模块更新问题
    H hyk249933033

    问题解决:
    1.设置-用户-更改(访问权限中技术特性)打钩。 
    2.重新登录
    3.设置-技术-系统参数-天就一条(关键字:apps.server    值:随便写 )


  • 请教openerp7 模块更新问题
    H hyk249933033

    在oe7中,addons下新增了模块,重启项目,页面设置-模块-更新,显示Nice!NO updates  在可安装的模块中也无法找到。
    重新建了一个数据库,再到可安装的模块中就能找到。请求各位大侠,如何解决?

  • 登录

  • 没有帐号? 注册

  • 登录或注册以进行搜索。
  • 第一个帖子
    最后一个帖子
0
  • 版块
  • 标签
  • 热门
  • 用户
  • 群组