Odoo 中文社区

    • 注册
    • 登录
    • 搜索
    • 版块
    • 标签
    • 热门
    • 用户
    • 群组
    1. 主页
    2. jundi1000

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

    由于系统升迁的原因,本论坛部分较早期的内容存在格式和链接损坏失效的问题,并非本论坛系统本身的缺陷,望谅解

    本社区没有维护任何QQ群讨论组,任何与本社区同名的QQ群讨论组的言论与本社区无关!

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

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

    J
    • 资料
    • 关注 0
    • 粉丝 0
    • 主题 9
    • 帖子 17
    • 最佳 0
    • 有争议的 0
    • 群组 0

    jundi1000

    @jundi1000

    0
    声望
    246
    资料浏览
    17
    帖子
    0
    粉丝
    0
    关注
    注册时间 最后登录

    jundi1000 取消关注 关注

    jundi1000 发布的最新帖子

    • RE: Rml报表打印出来的时间慢了8小时

      [quote author=Joshua link=topic=16398.msg28072#msg28072 date=1401086770]
      谢谢提醒,开始没有看清楚,formatLang只接受默认的日期时间格式 '%Y-%m-%d %H:%M:%S',然后再根据你的语言来输出对应的日期格式,所以应该是:

      [[formatLang(time.strftime('%Y-%m-%d %H:%M:%S'), date_time=True)]]
      


      [/quote]

      好的,原来是格式的问题啊,现在问题解决了,谢谢啦。

      发布在 Odoo 新手求助
      J
      jundi1000
    • 请问下rml报表的默认字体应该在哪里设置呢?

      请问下rml报表的默认字体应该在哪里设置呢?

      怎么我使用oecn_base_fonts模块来做更改的话,每次重启server后,又要设置过才能显示我要的字体呢?
      有什么方法可以使每次重启后,就不用再设置过了

      发布在 Odoo 新手求助
      J
      jundi1000
    • RE: Rml报表打印出来的时间慢了8小时

      [quote author=Joshua link=topic=16398.msg28054#msg28054 date=1400664076]
      odoo已经帮我们想好办法了:
      report_sxw.py

      &nbsp; &nbsp; <br />def formatLang(self, value, digits=None, date=False, date_time=False, grouping=True, monetary=False, dp=False, currency_obj=False):<br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;&quot;&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Assuming &#039;Account&#039; decimal.precision=3:<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; formatLang(value) -&gt; digits=2 (default)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; formatLang(value, digits=4) -&gt; digits=4<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; formatLang(value, dp=&#039;Account&#039;) -&gt; digits=3<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; formatLang(value, digits=5, dp=&#039;Account&#039;) -&gt; digits=5<br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;&quot;&quot;<br />
      

      ``` [[formatLang(time.strftime('%d-%m-%Y %H:%M:%S'), date_time=True)]] ```
      [/quote]

      我在把[[formatLang(time.strftime('%d-%m-%Y %H:%M:%S'), date_time=True)]]放在rml里怎么显示不出时间呢?
      发布在 Odoo 新手求助
      J
      jundi1000
    • Rml报表打印出来的时间慢了8小时

      rml里[[time.strftime('%d-%m-%Y %H:%M:%S')]]
      显示的时间慢了8个小时,有什么方法可以解决这个问题呢?
      openerp是装在CentOS上的。

      发布在 Odoo 新手求助
      J
      jundi1000
    • RE: 怎样复制被取消了的报价单的号码?

      谢谢总监的解答,感谢 :)。

      发布在 Odoo 新手求助
      J
      jundi1000
    • 怎样复制被取消了的报价单的号码?

      [img http://i.imgur.com/VYQiRtM.png /img]
      要怎样实现当我按了复制报价单的按钮,就会复制那报价单的号码呢?

      [img http://i.imgur.com/6OuQb6V.png /img]
      在这个copy of后面我应该怎么写呢?

      发布在 Odoo 新手求助
      J
      jundi1000
    • RE: 已解决!

      @digitalsatori 解决了,谢谢你的指导。

      好的,我才刚接触Openerp不久而已,在学习中,界面开发工具的修改还真的有局限性,我也慢慢在学习着模块开发了。

      发布在 Odoo 新手求助
      J
      jundi1000
    • 已解决!

      首先我在报价单菜单那边选择了Edit Action
      [img http://i.imgur.com/OkSnTU9.png /img]

      本来
      [img http://i.imgur.com/hzZ0BNi.png /img]

      过后我选择了Inline Edit
      [img http://i.imgur.com/j7BHoXE.png /img]

      最后就变成这样了,点了进去一直处在编辑状态 = =
      [img http://i.imgur.com/uLC4DKs.png /img]

      看下图
      [img http://i.imgur.com/VuRUJwl.png /img]


      [size=14pt]因为现在没有调试的那一栏出现了(看图4),要去哪里才可以还原回去如图2那样可以选择回去Current Window呢?
      求大神们搭救一下我.[/size]

      发布在 Odoo 新手求助
      J
      jundi1000
    • Selection字段要怎样对不同用户显示不同的读取权限?

      selection字段要怎样对不同用户显示不同的读取权限?

      我想要该selection字段,当经理登录时,该字段是可以选择的,而当销售员登录时该字段是只读(不能更改)。

      发布在 Odoo 新手求助
      J
      jundi1000
    • 怎样在工作流里,在某个状态时编辑按钮不显示呢?

      [img http://i.imgur.com/uaAqLMF.png /img]
      要怎样在工作流里,当状态处于sent时,edit按钮就不显示呢?目的是不让用户再更改报价表。

      发布在 Odoo 新手求助
      J
      jundi1000