跳转至内容
  • 版块
  • 标签
  • 热门
  • 用户
  • 群组
皮肤
  • 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 中文社区

1

1348647581qq.com

@1348647581qq.com
关于
帖子
17
主题
3
群组
0
粉丝
0
关注
0

帖子

最新 最佳 有争议的

  • 导出官方的中文翻译为PO文件时出错
    1 1348647581qq.com

    你应该找到这个po文件,将'\n'改成'\n', 然后update这个模块。然后再尝试导出。:)


  • Windows下安装UNO,配置AEROO_REPORT (Openoffice4已经升级为Python2.7.5版)
    1 1348647581qq.com

    请教楼主:按楼主的步骤过了一遍,当然我的是openoffice4的,步骤有一些变通。安装report_aeroo和reprot_aeroo_sample两个模块皆无问题。但是安装reprot_aeroo_direct_print和openoffice Help Addons时报错:[b]Warning! Unmet python dependencies!No module named cups[/b];
    谢谢


  • Openerp 7.0设置产品退货操作权限
    1 1348647581qq.com

    不错


  • OpenERP的权限设置
    1 1348647581qq.com

    说的很清楚,谢谢!!


  • 安装aeroo report时的问题
    1 1348647581qq.com

    @winson97,
    windows下可以用ms office 做模板吗?
    请问哪里有好的文档?


  • 安装aeroo report时的问题
    1 1348647581qq.com

    我想测试一下aeroo report,看看是不是更好用,但是过程中碰到一些问题:
    一,第一个报错,具体什么忘了,(记起来的时候一定不上,不好意思)记得好像要修改一下文件:report_aeroo_direct_print/openerp.py:就是添加一行:“installer.xml”
    [quote]'update_xml': ["data/report_aeroo_direct_data.xml",
      "installer.xml",#就是添加这一行。
                                      "report_aeroo_direct_print_view.xml",
                                      "installer.xml",
                                        "security/security_rules.xml",
                                      "security/ir.model.access.csv"],[/quote]

    二,第二个报错:点击“print screen”时,报错信息如下:
    [quote]Aeroo Reports: Error while generating the report "name of the report"

    13-04-20 10:15:36,721 5868 ERROR gmc openerp.loglevels.deprecated.report_aeroo: [01]:
    2013-04-20 10:15:36,722 5868 ERROR gmc openerp.loglevels.deprecated.report_aeroo: [02]: Environment Information :
    2013-04-20 10:15:36,722 5868 ERROR gmc openerp.loglevels.deprecated.report_aeroo: [03]: System : Linux-3.5.0-27-generic-i686-with-Ubuntu-12.10-quantal
    2013-04-20 10:15:36,722 5868 ERROR gmc openerp.loglevels.deprecated.report_aeroo: [04]: OS Name : posix
    2013-04-20 10:15:36,722 5868 ERROR gmc openerp.loglevels.deprecated.report_aeroo: [05]: Distributor ID: Ubuntu
    2013-04-20 10:15:36,722 5868 ERROR gmc openerp.loglevels.deprecated.report_aeroo: [06]: Description: Ubuntu 12.10
    2013-04-20 10:15:36,722 5868 ERROR gmc openerp.loglevels.deprecated.report_aeroo: [07]: Release: 12.10
    2013-04-20 10:15:36,722 5868 ERROR gmc openerp.loglevels.deprecated.report_aeroo: [08]: Codename: quantal
    2013-04-20 10:15:36,722 5868 ERROR gmc openerp.loglevels.deprecated.report_aeroo: [09]: Operating System Release : 3.5.0-27-generic
    2013-04-20 10:15:36,722 5868 ERROR gmc openerp.loglevels.deprecated.report_aeroo: [10]: Operating System Version : #46-Ubuntu SMP Mon Mar 25 20:00:05 UTC 2013
    2013-04-20 10:15:36,723 5868 ERROR gmc openerp.loglevels.deprecated.report_aeroo: [11]: Operating System Architecture : 32bit
    2013-04-20 10:15:36,723 5868 ERROR gmc openerp.loglevels.deprecated.report_aeroo: [12]: Operating System Locale : it_IT.UTF-8
    2013-04-20 10:15:36,723 5868 ERROR gmc openerp.loglevels.deprecated.report_aeroo: [13]: Python Version : 2.7.3
    2013-04-20 10:15:36,723 5868 ERROR gmc openerp.loglevels.deprecated.report_aeroo: [14]: OpenERP-Server Version : 7.0
    2013-04-20 10:15:36,723 5868 ERROR gmc openerp.loglevels.deprecated.report_aeroo: [15]: Report generation error!
    2013-04-20 10:15:36,723 5868 ERROR gmc openerp.loglevels.deprecated.report_aeroo: [16]: Traceback (most recent call last):
    2013-04-20 10:15:36,723 5868 ERROR gmc openerp.loglevels.deprecated.report_aeroo: [17]: File "/home/openerp/addons/report_aeroo/report_aeroo.py", line 439, in create_aeroo_report
    2013-04-20 10:15:36,723 5868 ERROR gmc openerp.loglevels.deprecated.report_aeroo: [18]: data = basic.generate(**oo_parser.localcontext).render().getvalue()
    2013-04-20 10:15:36,723 5868 ERROR gmc openerp.loglevels.deprecated.report_aeroo: [19]: File "/usr/local/lib/python2.7/dist-packages/aeroolib-1.0.0.RC4-py2.7.egg/aeroolib/plugins/base.py", line 51, in render
    2013-04-20 10:15:36,723 5868 ERROR gmc openerp.loglevels.deprecated.report_aeroo: [20]: return self.serializer(self.events)
    2013-04-20 10:15:36,724 5868 ERROR gmc openerp.loglevels.deprecated.report_aeroo: [21]: File "/usr/local/lib/python2.7/dist-packages/aeroolib-1.0.0.RC4-py2.7.egg/aeroolib/plugins/opendocument.py", line 1202, in call
    2013-04-20 10:15:36,724 5868 ERROR gmc openerp.loglevels.deprecated.report_aeroo: [22]: content = TContent(serialized_stream)
    2013-04-20 10:15:36,724 5868 ERROR gmc openerp.loglevels.deprecated.report_aeroo: [23]: File "/usr/local/lib/python2.7/dist-packages/aeroolib-1.0.0.RC4-py2.7.egg/aeroolib/plugins/opendocument.py", line 808, in init
    2013-04-20 10:15:36,724 5868 ERROR gmc openerp.loglevels.deprecated.report_aeroo: [24]: self.tree = lxml.etree.parse(StringIO(content))
    2013-04-20 10:15:36,724 5868 ERROR gmc openerp.loglevels.deprecated.report_aeroo: [25]: UnicodeEncodeError: 'ascii' codec can't encode character u'\u2022' in position 13593: ordinal not in range(128)
    2013-04-20 10:15:36,725 5868 ERROR gmc openerp.service.web_services: Exception: (u'Aeroo Reports: Error while generating the report "Sample Report".', UnicodeEncodeError('ascii', u'<office:document-content xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:text="ur

    ...
    cut
    ...

    tt\xf5s .</text:p></text:section><text:section text:style-name="Sect2" text:name="Section2"><text:p text:style-name="P9"/></text:section></office:text></office:body></office:document-content>', 13593, 13594, 'ordinal not in range(128)'))[/quote]
    解决方案是:genshi的版本问题:只能是0.6.x版本,不能太高也不能太低。查看方法:
          import genshi
          print genshi.version
    附件附上genshi 0.6.1版本
    希望对大家有用,谢谢。


  • 说说OpenERP的领料单
    1 1348647581qq.com

    >>"如果该产品是MTO(Make To Order),表示该产品没有库存,需要购买,系统提取该产品的供应商信息,自动生成采购订单。"
    对于MTO的产品,如果没有库存,我的理解是应该生成生产订单啊。请楼主指正!


  • 增大form表单的合适宽度
    1 1348647581qq.com

    @jeff  谢谢指正,已更正。


  • 增大form表单的合适宽度
    1 1348647581qq.com

        我发现,在form视图中的one2many字段(这里用A表示)的显示,如果A的字段很多,宽度超出form的宽度,form不会自适应宽度,效果很难看。于是我找到web模块下的base.css 文件,找到对应的css class:改为:

    .openerp .oe_form_sheet_width{<br />&nbsp; &nbsp; &nbsp; &nbsp; min-width:650px;<br />&nbsp; &nbsp; &nbsp; &nbsp; max-width:3095px;<br />&nbsp; &nbsp; &nbsp; &nbsp; margin:0 15px 15px;<br />&nbsp; &nbsp; }
    


    这里想分享一下,觉得应该有那么一点价值吧。嘿嘿


  • Windows下安装UNO,配置AEROO_REPORT (Openoffice4已经升级为Python2.7.5版)
    1 1348647581qq.com

    谢谢楼主哦。


  • Openerp tree view 中的分页问题
    1 1348647581qq.com

    很不错呀


  • Openerp压力测试:OpenERP Web Client 无缓存1000并发测试OpenERP Server 性能
    1 1348647581qq.com

    看到好贴,岂有不回之理?!


  • [分享]关于如何确认哪些模块继承修改过某对象的方法
    1 1348647581qq.com

    mark一下,这是我一直都想找的。谢了


  • Openerp中的小数精度问题
    1 1348647581qq.com

        我需要变单价的精度。我到product.product表中偷看标价的定义:

    &#039;list_price&#039;: fields.float(&#039;Sale Price&#039;, digits_compute=dp.get_precision(&#039;Product Price&#039;), help=&quot;Base price to compute the customer price. Sometimes called the catalog price.&quot;),
    


    对get_Precision的参数:Product Price莫名其妙。于是在开发群中得到joshua,shelly,ccdos,冰之星辰,东莞周等前辈的建议,发现oe单独开了一个模块来控制小数的精度:decimal_precision模块。在该模块中的py文件中,我找到了函数get_precision的定义:

    <br />&nbsp; &nbsp; def precision_get(self, cr, uid, application):<br />&nbsp; &nbsp; &nbsp; &nbsp; cr.execute(&#039;select digits from decimal_precision where name=%s&#039;, (application,))<br />&nbsp; &nbsp; &nbsp; &nbsp; res = cr.fetchone()<br />&nbsp; &nbsp; &nbsp; &nbsp; return res[0] if res else 2<br /><br />def get_precision(application):<br />&nbsp; &nbsp; def change_digit(cr):<br />&nbsp; &nbsp; &nbsp; &nbsp; res = pooler.get_pool(cr.dbname).get(&#039;decimal.precision&#039;).precision_get(cr, SUPERUSER_ID, application)<br />&nbsp; &nbsp; &nbsp; &nbsp; return (16, res)<br />&nbsp; &nbsp; return change_digit
    


    也明白了为什么默认精度是2位:(有源码就是幸福)

    _defaults = {<br />&nbsp; &nbsp; &nbsp; &nbsp; &#039;digits&#039;: 2,<br />&nbsp; &nbsp; }
    



    另外:用户界面的操作是:设置-数据库-小数精度

    ps.每一个在群里得到自己问题答案的人,都有义务发相关帖,以帮助更多人。


  • 如何在请假条审批后,生成工资扣款!
    1 1348647581qq.com

    请参考:http://help.openerp.com/question/15256/how-to-calculate-pay-slip-automatically/
    希望对你有用。


  • OpenERP中国财务模块(l10n_cn)改进计划
    1 1348647581qq.com

    支持!期待!


  • OpenERPv7.0 中文报表字体模块(oecn_base_fonts)安装出错
    1 1348647581qq.com

    不止楼主解决问题了吗?我也碰到一样的问题。 😕

  • 登录

  • 没有帐号? 注册

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