Skip to content
  • Categories
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • 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

  • Default (Flatly)
  • No Skin
Collapse

Odoo 中文社区

  1. Home
  2. Categories
  3. Odoo 新手求助
  4. 新手请进(openERP应用和开发基础)

新手请进(openERP应用和开发基础)

Scheduled Pinned Locked Moved Odoo 新手求助
169 Posts 107 Posters 331.3k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    windypeng
    wrote on last edited by
    #84

    lz很是有才,期待后续的!!

    1 Reply Last reply
    0
    • R Offline
      R Offline
      regsbbs
      wrote on last edited by
      #85

      从来不上来写什么评论的,你是第一个!谢谢老肖的努力和共享精神!

      1 Reply Last reply
      0
      • D Offline
        D Offline
        darkangelxu2009
        wrote on last edited by
        #86

        非常感谢楼主,学习中,有机会我也贡献下力量

        1 Reply Last reply
        0
        • S Offline
          S Offline
          speedsoft
          wrote on last edited by
          #87

          学习中,谢谢楼主分享

          1 Reply Last reply
          0
          • D Offline
            D Offline
            dianben
            wrote on last edited by
            #88

            感谢楼主的分享!

            1 Reply Last reply
            0
            • X Offline
              X Offline
              xieyin
              wrote on last edited by
              #89

              那篇E 文的太长了,先看看这个好了,谢谢分享

              1 Reply Last reply
              0
              • X Offline
                X Offline
                xuhuibin
                wrote on last edited by
                #90

                感谢老肖的无私奉献的精神。

                1 Reply Last reply
                0
                • C Offline
                  C Offline
                  chengwenge
                  wrote on last edited by
                  #91

                  谢谢老肖同志
                  辛苦了。

                  1 Reply Last reply
                  0
                  • T Offline
                    T Offline
                    terrychan
                    wrote on last edited by
                    #92
                    :handshake 非常感觉楼主,楼主辛苦啦!
                    1 Reply Last reply
                    0
                    • N Offline
                      N Offline
                      nature
                      wrote on last edited by
                      #93

                      非常感谢!!!

                      1 Reply Last reply
                      0
                      • H Offline
                        H Offline
                        hero9840
                        wrote on last edited by
                        #94

                        支持楼主!我也来了!翻译的事情我也可以帮一点小忙!

                        1 Reply Last reply
                        0
                        • A Offline
                          A Offline
                          anaxe
                          wrote on last edited by
                          #95

                          太好了,有这篇教程我就可以来试用一下了。

                          1 Reply Last reply
                          0
                          • F Offline
                            F Offline
                            fortune
                            wrote on last edited by
                            #96

                            新手报到,留个脚印。

                            1 Reply Last reply
                            0
                            • M Offline
                              M Offline
                              musutarufa
                              wrote on last edited by
                              #97

                              谢谢楼主,楼主辛苦了~

                              1 Reply Last reply
                              0
                              • H Offline
                                H Offline
                                hewwei403
                                wrote on last edited by
                                #98

                                谢谢,辛苦了谢谢,辛苦了谢谢,辛苦了

                                1 Reply Last reply
                                0
                                • Y Offline
                                  Y Offline
                                  ya888g
                                  wrote on last edited by
                                  #99

                                  肖大侠,
                                    我在根据你写的OpenERP应用和开发基础学习openerp,其中第六章的例子安装成功后点击相应的功能比如:我的请假单(任何一个功能)都报编码错误,详细错误请参考下面,由于对openerp和python不太熟悉,不知道怎么修改或处理,请指点一下,非常感谢!
                                  我的openerp版本为:openerp-allinone-setup-5.0.14.exe

                                  具体错误如下:Traceback (most recent call last):
                                    File "netsvc.pyo", line 256, in dispatch
                                    File "netsvc.pyo", line 76, in call
                                    File "service\web_services.pyo", line 577, in execute
                                    File "osv\osv.pyo", line 58, in wrapper
                                    File "osv\osv.pyo", line 119, in execute
                                    File "osv\osv.pyo", line 111, in execute_cr
                                    File "osv\orm.pyo", line 1372, in fields_view_get
                                    File "osv\orm.pyo", line 1117, in __view_look_dom_arch
                                    File "osv\orm.pyo", line 1104, in __view_look_dom
                                    File "lxml.etree.pyx", line 641, in lxml.etree._Element.set (src/lxml/lxml.etree.c:9596)
                                    File "apihelpers.pxi", line 416, in lxml.etree._setAttributeValue (src/lxml/lxml.etree.c:31761)
                                    File "apihelpers.pxi", line 1136, in lxml.etree._utf8 (src/lxml/lxml.etree.c:37215)
                                  ValueError: All strings must be XML compatible: Unicode or ASCII, no NULL bytes

                                  1 Reply Last reply
                                  0
                                  • M Offline
                                    M Offline
                                    martiemei
                                    wrote on last edited by
                                    #100

                                    非常感谢,先下载下来看看。学习中

                                    1 Reply Last reply
                                    0
                                    • S Offline
                                      S Offline
                                      stbrine
                                      wrote on last edited by
                                      #101

                                      [quote author=ya888g link=topic=756.msg6958#msg6958 date=1286371696]
                                      肖大侠,
                                        我在根据你写的OpenERP应用和开发基础学习openerp,其中第六章的例子安装成功后点击相应的功能比如:我的请假单(任何一个功能)都报编码错误,详细错误请参考下面,由于对openerp和python不太熟悉,不知道怎么修改或处理,请指点一下,非常感谢!
                                      我的openerp版本为:openerp-allinone-setup-5.0.14.exe

                                      具体错误如下:Traceback (most recent call last):
                                        File "netsvc.pyo", line 256, in dispatch
                                        File "netsvc.pyo", line 76, in call
                                        File "service\web_services.pyo", line 577, in execute
                                        File "osv\osv.pyo", line 58, in wrapper
                                        File "osv\osv.pyo", line 119, in execute
                                        File "osv\osv.pyo", line 111, in execute_cr
                                        File "osv\orm.pyo", line 1372, in fields_view_get
                                        File "osv\orm.pyo", line 1117, in __view_look_dom_arch
                                        File "osv\orm.pyo", line 1104, in __view_look_dom
                                        File "lxml.etree.pyx", line 641, in lxml.etree._Element.set (src/lxml/lxml.etree.c:9596)
                                        File "apihelpers.pxi", line 416, in lxml.etree._setAttributeValue (src/lxml/lxml.etree.c:31761)
                                        File "apihelpers.pxi", line 1136, in lxml.etree._utf8 (src/lxml/lxml.etree.c:37215)
                                      ValueError: All strings must be XML compatible: Unicode or ASCII, no NULL bytes
                                      [/quote]
                                      我也出现一样的错误

                                      按以下bug处理应该能够解决,搞了一下午.
                                      https://bugs.launchpad.net/openobject-server/+bug/617484

                                      1 Reply Last reply
                                      0
                                      • mrshellyM Offline
                                        mrshellyM Offline
                                        mrshelly
                                        wrote on last edited by
                                        #102

                                        [quote author=stbrine link=topic=756.msg7073#msg7073 date=1288689229]
                                        我也出现一样的错误

                                        按以下bug处理应该能够解决,搞了一下午.<br / https://bugs.launchpad.net/openobject-server/+bug/617484 br />[/quote]

                                        不错 赞一个...
                                        官方的代码中. 地雷不少..

                                        1 Reply Last reply
                                        0
                                        • S Offline
                                          S Offline
                                          stbrine
                                          wrote on last edited by
                                          #103

                                          Domain 条件表达式写法
                                          标记:
                                          Domain 条件表达式写法在《openERP应用和开发基础V2》第124页

                                          [b]在5.14版中按老肖的写法会出现错误[/b]
                                          [color=green]以下是正确的例子,使用()元组,而不是[][/color]
                                          ('&',('purchase_line_id','!=',False),('date_planned', '>=', from_date))


                                          [b]search方法:查询符合条件的记录。[/b]
                                          格式:def search(cr, user, args, offset=0, limit=None, order=None, context=None, count=False)¶
                                          参数说明:
                                          args: 包含检索条件的tuples列表,格式为: [('name_of_the_field', 'operator', value), ...]。可用的operators有:
                                            =, !=, >, >=, <, <=, like, ilike, in, not in, child_of, parent_left, parent_right

                                          1 Reply Last reply
                                          0

                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Tags
                                          • Popular
                                          • Users
                                          • Groups