ubuntu - Odoo v8 不更新模块

标签 ubuntu erp odoo

我创建了新模块并更新了一些基本模块。但它没有显示。目前我正在使用 localhost:8069。

在 Windows 上,我更新了 Program Files(x86)/Odoo 8.0-20141014-000207/server/openerp/addons 上的模块

在 Ubuntu 上,我更新了/usr/lib/python2.7/dist-packages/openerp/addons

他们都没有更新任何东西。

初始化文件

import daily_transaction.py

openerp.py
{
'name' : 'Daily Transaction Manager',
'version': '1.0',
'author': 'Billy James',
'category': 'Manager',
'complexity': 'easy',
'description': "The Module will manage our daily transaction where we'll keep a log of where and hwat money we have spent on a particular day.",
'depends': [],
'data': [
    'daily_transaction_view.xml',
],
'installable': True,
'auto_install': False,

}

daily_transaction.py
from openerp.osv import fields, osv

class daily_transaction(osv.osv):
    _name = "daily_transaction"
    _description = "Daily Transaction"


    _columns = {
        'subject': fields.char('Subject', size=128, required=True),
        'date': fields.date('Date', required=True),
        'note': fields.text('Notes'),
        'amount': fields.float('Amount', required=True),
        'type': fields.selection([
            ('transport', 'Transport'),
            ('household', 'Household'),
            ('personal', 'Personal'),
            ], required=True),

    }

我编译了所有的py文件,没有发现错误。

最佳答案

用这个替换 openerp.py 文件。

{
'name': 'Daily Transaction Manager',
'version': '1.0',
'category' : 'manager',
'author': 'Akhil',
'description': ''' This module records and manages the 
            daily transactions
        ===================================== ''',
'depends': [],
'demo': [],
'data': ['daily_transaction_view.xml'],
'installable': True,
'auto_install': False,
}

关于ubuntu - Odoo v8 不更新模块,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26500216/

相关文章:

ubuntu - 无法将 Elasticsearch 作为服务启动

model-view-controller - CF项目太大了,怎么办?

python - 如何根据 sale.order 中选择的价目表对 sale.order.line 中的 product_id 应用域过滤器?

python - Odoo 追加到 one2many

templates - 如何在Odoo中继承没有ID的模板?

java - 你如何为 Java 运行 DDD?

regex - 将一系列日期中的 Grep 作为文件名

linux - 无法安装 libc6 包

javascript - Priority-web-sdk 中的 SubForm 枚举

Odoo 防止在 One2many 字段中选择重复记录