跳至内容
Odoo 菜单
  • 登录
  • 免费试用
  • 应用程序
    财务
    • 会计
    • 发票
    • 费用
    • 电子表格 (BI)
    • 文档
    • 电子签名
    销售
    • 客户关系管理
    • 销售
    • POS 销售点管理-零售
    • POS 销售点管理 - 餐厅
    • 订阅
    • 租赁
    网站
    • 网站设计
    • 电子商务
    • 博客
    • 论坛
    • 在线客服
    • 在线学习
    供应链
    • 库存
    • 制造
    • 产品生命周期
    • 采购
    • 维护保养
    • 品控
    人力资源
    • 员工
    • 招聘
    • 休假
    • 评价
    • 内部推荐
    • 车队
    营销
    • 社媒营销
    • 电邮营销
    • 短信营销
    • 近期活动
    • 营销自动化
    • 网上调查
    服务
    • 项目管理
    • 工时单
    • 现场服务
    • 服务台
    • 排期
    • 预约
    生产力
    • 讨论
    • 批核
    • IoT物联网
    • VoIP
    • 知识库
    • WhatsApp
    第三方应用软件 Odoo 定制 Odoo云端平台
  • 行业
    零售
    • 书店
    • 服装店
    • 家具店
    • 食品杂货店
    • 五金店
    • 玩具店
    餐饮与酒店服务
    • 酒吧及酒馆
    • 餐厅
    • 快餐
    • 民宿
    • 饮品分销商
    • 酒店
    房地产
    • 房地产代理
    • 建筑师事务所
    • 建造业
    • 地产管理
    • 园艺
    • 业主协会
    咨询
    • 会计师事务所
    • Odoo合作伙伴
    • 市场推广公司
    • 律师事务所
    • 人才招聘
    • 审核 & 认证
    制造
    • 纺织
    • 金属
    • 家具
    • 食品
    • 啤酒厂
    • 企业礼品
    保健与健身
    • 体育俱乐部
    • 眼镜店
    • 健身中心
    • 健康从业者
    • 药房
    • 发型屋
    商贸服务
    • 维修人员
    • IT 硬件及支持
    • 太阳能系统
    • 鞋匠
    • 清洁服务
    • 暖通空调服务
    其他
    • 非营利组织
    • 环境机构
    • 广告牌租赁
    • 摄影服务
    • 自行车租赁
    • 软件经销商
    浏览所有行业
  • 社区
    学习
    • 教学视频
    • 文档
    • 认证
    • 培训
    • 博客
    • 播客
    赋能教育
    • 教育计划
    • Scale Up! 商业游戏
    • 参观Odoo
    获取软件
    • 下载
    • 版本对比
    • 发布
    合作
    • Github
    • 论坛
    • 近期活动
    • 翻译
    • 成为合作伙伴
    • 合作伙伴服务
    • 注册您的会计事务所
    获取服务
    • 寻找合作伙伴
    • 查找会计服务
    • 预约顾问咨询
    • 安装及推行服务
    • 客户参考
    • 支持
    • 升级
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    获取演示
  • 定价
  • 技术支持

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • 客户关系管理
  • e-Commerce
  • 会计
  • 库存
  • PoS
  • 项目
  • MRP
All apps
只限注册用戶才可与社群互动。
所有帖文 人 徽章
标签 (查看所有)
odoo accounting v14 pos v15
关于此论坛区
只限注册用戶才可与社群互动。
所有帖文 人 徽章
标签 (查看所有)
odoo accounting v14 pos v15
关于此论坛区
帮助

How to get the newest modules in the modulelist?

订阅

此帖文有活动时,接收通知

此问题已终结
v6.1modulesupdate
1 回复
6974 查看
形象
ton123

I have installs of 6.1.1 on various Synology NAS servers. On these servers I have "only" 217 modules. And even when I update the modulelist I don't get more and new updated modules. As an example I have installs of: account_banking_nl_ing 6.1.0.1.105 account_banking 6.1.0.1.136 account_iban_preserve_domestic 6.1.0.1.134 My accounting system has bugs (I assume, because things do not work as expected) so I need updates.

Of course I am logged in as administrator with extended view.

I have received an ISO Ubunto 12.04 install of 6.1.1. This version has 598 modules and after I updated it 636 modules are listed! They are also more recent. However I do not see updates of the 3 above mentioned modules.

Further I made a backup of one of the databases installed on one of the NAS. And restored it on the Ubuntu 12.04 install of 6.1.1. After login I now see 217 modules in my list. When I run an update 173 modules were updated and 430 modules were added. I tried to run Banking I get an error: " View error Can't find field 'reconcile_id' in the following view parts composing the view of object model 'account.bank.statement.line': * Bank statement line tree view Either you wrongly customized this view, or some modules bringing those views are not compatible with your current data model "

So I am sure I missed something and the NAS installations can be improved and maybe the Ubuntu 12.04 also. But what is happening and how to do this?

Update based on Olivier Dony's answers: Assume I have installed the basic v6.1 and 18 modules.

  1. Can I update each of the 18 modules one by one in no particular sequence?
  2. Where can I find the newest Zip modules?
  3. Can I update the basic v6.1 to v6.1.x?
  4. And can this also be done by Import Module and if so where to find the Zip module?
  5. Is the database for this operation compatible?
2
形象
丢弃
ton123
编写者

My question is listed in the header. The question in the last sentence is because I want to know what is happening also. The lot of text I give because I want to give you an idea of the things involved and what I have done. It is important to know in case of restore because of hardware failure.

形象
Olivier Dony (odo)
最佳答案

The list of modules you see in a 6.1 installation only depends on the modules that your OpenERP system can find in the various directories where it is configured to look for. These directories are commonly called the "addons path" and are usually passed to the openerp-server startup script via a parameter that looks like --addons-path=/path/to/addons,/path/to/otheraddons
This parameter can also be set in a configuration file with a parameter named `addons_path``

When you use the Update Module List menu, OpenERP re-scans "your addons path" entries and updates the list of modules with whatever valid modules it finds, updating the details of existing modules and adding any new ones. A valid module is a module that has a valid __openerp__.py manifest file and is not marked with installable: False.

Based on this you should be able to understand the number of modules you see in your various OpenERP deployments: it all boils down to the contents of your addons directories. It entails from the above that updating your module list will never automatically discover any new modules or any new updates, unless something/someone has modified the contents of your addons directories.

Warning: this is quite different in OpenERP 7.0, this explanation is for OpenERP 6.1 and earlier version only!

Update: if you're using zipped modules, e.g. for 6.0 or earlier (or on a modified 6.1), you should be aware that zipped modules are considered just the same as module directories if they're found within your "addons path". If you use the Import Module menu the imported modules will be stored as zips in your local addons paths. Depending on the version you're using, any zip with the same name as a module directory may take precedence over the unzipped module (e.g. foo.zip vs foo directory), so it's not a good idea to keep both.

Update 2: to answer your extra questions:

  1. It will probably work in any order. However to be 100% correct you should normally update them all at once, or at least update all modules that depend on each other at the same time. If module B depends on A, using a newer version of A could theoretically break B. Conversely, if the newer version of B expects the newer version of A, updating B without updating A could break the system. This is however rather unlikely, as within a stable series the API of modules is supposed to be frozen, so a module should not change significantly enough to break any module that depends on it.
    Well, you asked for it ;-)

  2. The easiest place for finding zipped modules is on OpenERP Apps, by looking at the available downloads for your modules and series (6.1).

  3. Yes, the OpenERP release policy explains this. Major versions (aka Series) are represented by the first two numbers in the version (i.e. 6.0, 6.1, 7.0). As long as you stay within the same series you can upgrade without much risk, so 6.1.x is compatible with 6.1.

  4. Using Import Module is really not recommended for updating modules. You should really try to manage your module source code on the filesystem directly rather than using the interface. If you ever break the interface by installing a module that's incompatible you'll be glad you understand how to undo that on the filesystem and how to remove/reinstall it.
    After updating the modules on the filesystem you should usually start OpenERP once with the -d <DB> -u all command-line options (replace <DB> with your database name) to force a synchronization of all the modules with the source code you've just installed.

  5. Not sure what you mean here. The OpenERP database structure is automatically maintained by the system, and it must never change if you stay within the same series anyway (that would break compatibility and requires a new major version)

Warning 2: Having lots of modules available in your installation is not a good objective, and may in fact be rather harmful if you start to install many modules. You should only ever install modules that you really need and that your understand. Before OpenERP 7.0 uninstalling a module was very experimental and likely to break stuff, so it's definitely not a good idea to install random things on a production database (at least make a backup before installing).
Similarly, updating your modules to the latest version is not necessarily a good idea unless you're blocked by a bug you know to be fixed in the latest version. The risks of breaking your system are high if you don't know exactly what you're doing, so it's usually not worth it.

4
形象
丢弃
ton123
编写者

Thankx, I think I understand this. I use the function Import Module (I brought this back in the v6.1 by changing some settings) for easy installation. But I hoped there was a setting with which I could set so new modules from the repository were automatic downloaded......

Olivier Dony (odo)

I updated the answer to mention zipped modules, since you modified 6.1 to use them. Indeed there is no built-in way in 6.1 or earlier to automatically download new/updated modules. OpenERP 7.0 will allow that by integrating OpenERP Apps inside the Settings menu.

ton123
编写者

I make an update on my question to get more focus on what I know now thankx to you. And what I want to do based on this.

ton123
编写者

Thanks for the good update Dony. This is very useful.

喜欢讨论吗?不要只阅读,加入进来!

立即创建账户,享受专属功能,与我们的精彩社区互动!

注册
相关帖文 回复 查看 活动
Update all odoo modules at once 已解决
modules update
形象
形象
1
3月 23
7238
Cant modify source code Odoo V16 !!
modules update
形象
形象
2
2月 23
4238
module update 已解决
modules update
形象
形象
形象
3
3月 15
6193
"update modules list" failure
modules update
形象
形象
1
3月 15
5611
Cannot Update Modules - Odoo v8
modules update
形象
形象
1
3月 15
5831
社区
  • 教学视频
  • 文档
  • 论坛
开源
  • 下载
  • Github
  • Runbot
  • 翻译
服务
  • Odoo.sh 托管
  • 支持
  • 升级
  • 自定义开发服务
  • 教育
  • 查找会计服务
  • 寻找合作伙伴
  • 成为合作伙伴
关于我们
  • 我们的公司
  • 品牌资产
  • 联系我们
  • 招聘
  • 近期活动
  • 播客
  • 博客
  • 客户
  • 法律 • 隐私
  • 安全
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo致力于为企业管理提供高效智能的开源解决方案,是全球业内高速成长的软件服务商之一,逾七百五十万用户选择Odoo进行数字化升级。通过一系列全业务链覆盖、高度集成、简单易用的商业应用,助力企业实现信息化改革、降本增效并释放公司增长潜力。

Odoo独特的价值在于是一款非常容易使用又完全集成的应用。

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now