Odoo 中文社区

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. 923485750

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

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

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

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

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

    9
    • Profile
    • Following 0
    • Followers 0
    • Topics 7
    • Posts 15
    • Best 0
    • Controversial 0
    • Groups 0

    923485750

    @923485750

    0
    Reputation
    572
    Profile views
    15
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    923485750 Unfollow Follow

    Latest posts made by 923485750

    • RE: 我自定义了一个新的模块,为什么在模块列表里无法找到???求大神解惑!

      问题解决了,init.py  和 openerp.py 应该是 init.py  和  openerp.py  居然是两条下划线,没注意啊......

      posted in Odoo 新手求助
      9
      923485750
    • 我自定义了一个新的模块,为什么在模块列表里无法找到???求大神解惑!

      我在source--addons定义了一个包--mymodule:根据网上的自定义模块教程定义了三个文件:init.py  openerp.py  main.py
      其中_init_.py  中的代码:import main
          openerp.py中的代码:

      # *  coding: utf-8 _*__


      {
          'name' : "Mymodule",
          'summary' : """
                                              我的第一个模块 
                      """,         
          'description' : """
                                                          我的第一个模块,用于学习自定义模块。
                          """,             
          'author' : "shanglin",
          'website' : "http://www.yourcompany.com",
         
          # Categories can be used to filter modules in modules listing
          # Check [检测到链接无效,已移除] br />    # for the full list
         
          'category' : "Test",
          'version' : "1.11",
         
          # any module necessary for this one to work correctly
         
          'depends' : ['base'],
         
          # always loaded
         
          'data' : [
      #              'security/ir.model.access.csv',
      #              'views/mymodule_templates.xml',
      #              'demo.xml',
                   
                    ],
         
          # only loaded in demonstration mode
         
          'demo' : [
                    'demo.xml',
                   
                    ],


      }


      main.py中的代码:
      '''
      Created on 2015年11月20日

      @author: shanglin
      '''


      三个文件定义完后,重启了Odoo服务器,并且更新了模块列表,为什么还是找不到模块啊?是缺少文件还是代码出错了?

      posted in Odoo 新手求助
      9
      923485750
    • RE: 关于csv文件导入的错误,求教大神们该如何解决!

      知道了,谢谢您的回答!!

      posted in Odoo 新手求助
      9
      923485750
    • RE: Odoo安装模块时提示Odoo server error,导致无法正常安装卸载模块,求教各位大神,这个问题该如何解决!

      试了您提供的方法,问题仍然存在,十分感谢您的解疑!!!

      posted in Odoo 新手求助
      9
      923485750
    • 关于csv文件导入的错误,求教大神们该如何解决!

      我将入库单中的内容以CSV文件的形式导出,然后在导入的时候出现错误,错误如图所示,个人理解是因为在数据库中发票那一列的值是bool值,而在csv文件中是字符串,所以类型不匹配,不知道对不对,希望大神们可以指正一下,同时指点一下解决错误的方法,十分感谢!

      posted in Odoo 新手求助
      9
      923485750
    • Odoo安装模块时提示Odoo server error,导致无法正常安装卸载模块,求教各位大神,这个问题该如何解决!

      正常解压缩GreenOdoo,模块无法正常安装,点击是提示Odoo server error 错误,这个问题该怎么解决?

      Odoo Server Error
      Traceback (most recent call last):
        File "D:\Program Files\GreenOdoo-8.0-win32_LN13\source\openerp\http.py", line 530, in _handle_exception
          return super(JsonRequest, self)._handle_exception(exception)
      .
      .
      .
      .
      .
        File "D:\Program Files\GreenOdoo-8.0-win32_LN13\source\openerp\sql_db.py", line 234, in execute
          res = self._obj.execute(query, params)
      ParseError: "insert or update on table "res_company" violates foreign key constraint "res_company_project_time_mode_id_fkey"
      DETAIL:  Key (project_time_mode_id)=(5) is not present in table "product_uom".
      " while parsing file:///D:/Program%20Files/GreenOdoo-8.0-win32_LN13/source/addons/project/project_data.xml:5, near
      <record id="base.main_company" model="res.company">
                  <field name="project_time_mode_id" ref="product.product_uom_hour"/>
              </record>

      posted in Odoo 新手求助
      9
      923485750
    • 在eclipse上运行ODOO,出现10053的错误,什么原因??请高手指点一下!!!!

      如题,在用ecplise运行ODOO的时候出现10053的错误,几番辛苦之下仍没有解决,希望各位高手指点一下!!!!

      posted in Odoo 新手求助
      9
      923485750
    • RE: 求助:GreenOdoo-8.0-win32+Eclipse+PyDev调试源码,DebugAs出错

      这个问题需要编写一段代码,定义一下getppid,  转载:http://blog.csdn.net/zhangfeng1133/article/details/46627969
      之后可能出现openerp.service.server: Evented Service (longpolling) running on 0.0.0.0:8072的问题,解决方法,
      openerp/init.py 里面找到下面这几行,按照以下代码修改应该就可以了。
      """ OpenERP core library."""

      #----------------------------------------------------------
      # Running mode flags (gevent, prefork)
      #----------------------------------------------------------
      # Is the server running with gevent.


      import sys
      evented = False


      #if sys.modules.get("gevent") is not None:
      #    evented = True

      # Is the server running in pefork mode (e.g. behind Gunicorn).

      posted in Odoo 安装指南
      9
      923485750
    • RE: 求大神指点一下,如何将ODOO页面上的功能选择模块去掉啊!!!!!

      如果是这样,那么我想让用户对会计菜单不可见的话只需要对该用户的应用程序-会计&财务的选项栏中不选择这三个组就可以了,应该没错.....嗯。
      刚刚接触ODOO,很多功能不是很清楚,十分谢谢大神的指正!

      posted in Odoo 新手求助
      9
      923485750
    • RE: 求大神指点一下,如何将ODOO页面上的功能选择模块去掉啊!!!!!

      大神,是这样的,我在练习项目的时候,误操作下载了会计与财务模块,会进行卸载后,因为依赖模块的原因无法做到全部删除,导致在页面上还保留会计菜单,因为害怕影响到原有的数据以及功能,不能将其依赖模块删除掉,所以,我想通过一些方法将会计菜单隐藏起来,使使用者看不到这个功能,可是将菜单-项目-会计组中的三个小组删掉后,又多出了许多东西........

      posted in Odoo 新手求助
      9
      923485750