Skip to content

Odoo 开发与实施交流

2.3k Topics 10.4k Posts

No decsciption available

  • 部分发货, 自动发票错误

    4
    0 Votes
    4 Posts
    4k Views
    W
    https://bugs.launchpad.net/openobject-addons/+bug/1060259 <br />1 === modified file &#039;stock_invoice_directly/wizard/stock_invoice.py&#039;<br />2 --- stock_invoice_directly/wizard/stock_invoice.py 2012-03-05 18:40:03 +0000<br />3 +++ stock_invoice_directly/wizard/stock_invoice.py 2012-11-09 09:44:58 +0000<br />4 @@ -31,8 +31,13 @@<br />5 if context is None: context = {}<br />6 result = super(invoice_directly, self).do_partial(cr, uid, ids, context)<br />7 partial = self.browse(cr, uid, ids[0], context)<br />8 - context.update(active_model=&#039;stock.picking&#039;,<br />9 - active_ids=[partial.picking_id.id])<br />10 + active_ids = partial.picking_id.backorder_id.id<br />11 + if active_ids:<br />12 + context.update(active_model=&#039;stock.picking&#039;,<br />13 + active_ids=[active_ids])<br />14 + else:<br />15 + context.update(active_model=&#039;stock.picking&#039;,<br />16 + active_ids=[partial.picking_id.id])<br />17 if partial.picking_id.invoice_state == &#039;2binvoiced&#039;:<br />18 return {<br />19 &#039;name&#039;: &#039;Create Invoice&#039;,<br />
  • 立此存照

    3
    0 Votes
    3 Posts
    3k Views
    G
    所有的ERP产品,都只是半成品,必须加上企业的实际运作,才有可能成为成品。
  • OpenERP開發之前要如何做?

    4
    0 Votes
    4 Posts
    3k Views
    K
    Thanks for your sharing.....
  • 如何在报表中将金额数字显示为中文大写格式?

    7
    0 Votes
    7 Posts
    9k Views
    Y
    1994.9 输出为 壹仟玖佰玖拾肆元玖角整 正常1995  输出为  贰仟玖佰玖拾伍元整  bug?
  • Aeroo report Client action 不显示

    4
    0 Votes
    4 Posts
    6k Views
    C
    搜索 AEROO 居然只有一个帖子,都没人玩吗?
  • 记录库位权限设置

    4
    0 Votes
    4 Posts
    4k Views
    D
    管理是材料库管员只能对材料进行出入库,成品库管员只能对成品出入库。
  • OpenERP PK SAP

    2
    0 Votes
    2 Posts
    4k Views
    No one has replied
  • OpenERP简单业务的会计处理流程介绍

    10
    0 Votes
    10 Posts
    19k Views
    C
    感觉银行对账的处理 有点问题,不应该有个 “期初”这样的科目。
  • 6.2dev查询问题

    3
    0 Votes
    3 Posts
    3k Views
    JoshuaJ
    @davidmayb 你可以通过  Advanced Search 来实现上述要求[attachimg=1]
  • 0 Votes
    3 Posts
    4k Views
    C
    会动代码的都是 牛人要用 6.1.1 ,很多addons 都需要做这样的手术
  • 请教如何调试view

    5
    0 Votes
    5 Posts
    4k Views
    X
    谢谢各位的回复,我再研究一下。老是出错,很有挫败感!
  • 一次价格表的测试学习过程

    9
    0 Votes
    9 Posts
    6k Views
    W
    出色的文档能力是顾问的基本技能。ccdos快出徒了。总是觉得在你身上看到海飞的影子。。。。。。
  • 如何将客户资料,商机线索等信息导出到excel?

    3
    0 Votes
    3 Posts
    3k Views
    M
    在列表页, 多选几条记录. 然后看看页面右边多了什么东西?
  • 解决使用postgreSQL 9.1 OE首页应用图标不能显示问题.

    4
    0 Votes
    4 Posts
    5k Views
    X
    不错,一直困扰不知道是什么原因,这下解决了。感谢!
  • OE 中仓库替代料的使用

    5
    0 Votes
    5 Posts
    5k Views
    1
    继续测试属性中,刚回复的内容感觉是不对的,我继续测试
  • Many2one记录筛选

    2
    0 Votes
    2 Posts
    3k Views
    No one has replied
  • 如何使用SSL加密

    5
    0 Votes
    5 Posts
    7k Views
    D
    StartSSL 可以续签的。不过,revoke需要钱。。。[quote author=wangbuke link=topic=4335.msg11875#msg11875 date=1346395837]谢谢楼主贡献~补充下:StartSSL.com 提供单域名为期一年的SSL证书服务。下面提供一个自己制作SSL证书方法:$ openssl genrsa 1024 > server.key    生成密钥$ openssl req -new -key server.key > server.csr  生成csr证书$ openssl req -x509 -days 3650 -key server.key -in server.csr > server.crt  生成crt证书,期限10年自己生成的证书是未经各大机构签名,部署上去浏览器会提示证书无效,可以不管直接忽略。当然安全性可没有打折,还是SSL 1024  位加密。[/quote]
  • OpenERP PyChart 中文报表模块(支持CJK语言)

    9
    0 Votes
    9 Posts
    14k Views
    T
    事实上 cairosvg 默认就支持中文, 只是它在设置中文字体的时候有个 bug (我刚找到的),BUG在此 >>> [检测到链接无效,已移除] br />我们期望得到的是类似 &#039;microsoft yahei&#039; 这样的字符串, 它却给你 &quot;&#039;microsoft yahei&#039;&quot; 系统当然不认识了.另外就是, 如果给出一个不支持中文的字体也会产生乱码, 因为 cairo 默认没调用 font-config.
  • 用context控制many2one字段显示内容的问题

    4
    0 Votes
    4 Posts
    6k Views
    J
    经过测试,在action那里加了context也不行。
  • 开源OpenERP web-import-chardet 自动检测CSV编码去BOM 简介

    3
    0 Votes
    3 Posts
    7k Views
    W
    非常实用。步科兄又出新品。