跳至内容
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 Can I delete anything from Database (odoo) for start again

订阅

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

此问题已终结
3 回复
36758 查看
形象
Daniel Sanchez de Leon

I am making testings creating clients and invoices but i can delete invoices. I wish to delete anything for start again. It is possible?

 

Thanks

1
形象
丢弃
形象
Martin
最佳答案

I have been concerned about this difficulty for a long time.  If you are learning Odoo on your own it can be really horrible to paint yourself into a corner and have to recreate the whole project by hand to get yourself back to the point just before the misstep.

I published on GitHub a toolkit for managing the process of recreating a database from data in spreadsheets.  It's a Python program that you can run in your laptop or whatever.  It pulls data records from Google speadsheets and injects them into the right places in Odoo using XML-RPC.

The main point is that, using settings in a control spreadsheet, you can have complete automated control over the process of installing modules and inserting data, without programming.

I made a video series that introduces the whole environment I use so I can run it from a Chromebook or mobile phone:   http://blog.warehouseman.com/2014/02/step-00-handbook-for-devops-for-openerp.html.

The last video, http://blog.warehouseman.com/2014/02/demonstrate-data-pump.html gives a really fast (<5 mins) demo of how you can use the data pump to install extra languages and provinces for a country.

The project page is GData OpenERP Data Pump

I'd love to have some collaborators to help me move it forward more quickly.

 

Note! -- Google has changed the interface to its spreadsheets.  For the time being, the pump will work only with "old-style" spreadsheets.

 

4
形象
丢弃
gunnar

that seems like a great project. Is there a way to do that without google spreadsheets? I think I would have a hard time justifying that I have uploaded confidential data to a google (or any other) cloud service where no one can ever say where the data goes and who has access to look at it or copy it to wherever.

Martin

That's a sensible observation. There are certainly inappropriate use cases. Keeping separate development and production servers is always a good idea, and this tool is definitely for the development side, for the moment. All spreadsheets have size limitations too, which you'd run into quite soon with production data. Meanwhile, Daniel Sanchez de León (the OP), describes exactly the use case for I which I developed the pump. Other use cases I had in mind include: preparing demos to customers, training users, testing 3rd party modules before installing in production, debugging the install/de-install cycles of one's own modules, and pre-production setup of production servers (charts of accounts, categories, parameters, products, locations). You have given me the idea to include (some day) an encryption filter for obfuscating sensitive columns. It'd decrypt fields just before pumping them into Odoo. You're welcome to contribute that if you feel the inclination. I did use the really cool site http://www.fakenamegenerator.com/. I ordered 100,000 free fictional persons in a csv file, loaded it into Google Spreadsheets and then used formulas to create data for the pump.

gunnar

hi Martin, I'd love to help but total illiterate in programming whatsoever, so would there be anything apart from that?

形象
gunnar
最佳答案

I had a similar question and so far it looks like ... you can't really. The problem is that all installed modules are inside the database, so if you make a new empty one ... also all installed modules are gone. The workaround for your scenario seems to be:

  1. make a new empty database
  2. install all modules you want to use
  3. make a dupliacte of that still empty database and use that for testing.
  4. Once you go 'live' ... use the still ampty database with all modules installed

I know it is probably the wrong moment for you now (because it's too late) bit it seems that this is the way it works. I think what would be cool would be a Duplicate of the curren database without the data. I guess Oddo is constructed in a way somehow that sees the modules in the same way as your actual data.

If you don't have many entries yet you can try to either delete them handish or unckeck "active" checkbox in the objects you want to remove. When something is not "activ" anymore it still fullfils its dependenies with other parts of your database, but you don't see it anymore. Not 100% sure how "clean" that solution is

Deleting things by hand can be a lengthy process because in many cases an entry might be used somewhere else, so you need to delete these entries in the right order. For example the invoice you are referring to is used by any other part in your database which prevents the invoice from being deleted. So you need to get rid of this object first... depending on how many entries you have already this can be a tyring task, especially when you don't have really a clue where exactly your dependencies are.

1
形象
丢弃
形象
Candra Rusly
最佳答案

As for me, for testing softwares i usually use VM, mostly i used virtualbox, there are features like snapshot and export the virtual machine where you can use to create "save points" as your testing or development goes, i know it's like using a cannon to shoot an apple, but so far it's the most foolproof way that i always use.

and do take notes, use online notes like evernote or such to keep track of your progress, it hurts when we miss certain steps to prepare the whole system.

0
形象
丢弃
喜欢讨论吗?不要只阅读,加入进来!

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

注册
社区
  • 教学视频
  • 文档
  • 论坛
开源
  • 下载
  • 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