English 中文(简体)
如何向 OpenERP 大规模装入附件文件
原标题:How to massively load attachment files to OpenERP
  • 时间:2012-05-23 15:09:25
  •  标签:
  • odoo

I have on a disk PDF files of previous employee payslips. I would like to load them to OpenERP, as attachments to each employee. Furthermore, I would like to attach more files every month. To achieve this I want to write a specific module/addon, or a Python program accessing OpenERp through XML-RPC.

我应如何与雇员模式互动,在程序上附上文件?是否有一种ORM方法可以用于此目的?

最佳回答

如果您想要用附件做更高级的事情, 我建议您检查 < a href=" http:// apps. openerp. com/ addon/671] rel = “ no follow noreferr" {code> document document ment < a href=>, 以及 < a href=" http://apps. openerp. com/addon/625" rel = “ nofollow noreferr"\ {code> document_ ftp 模块。 它们将附件存储在文件系统中, 这样您就可以复制文件, 而不是通过 API 。 我们在 OpenERP 5. 0 中使用了 FTP 服务器, 并用于附加大量文件 。

但是要小心。 当你安装这些模块时, 我认为您会丢失所有当前附件 。 您将不得不以某种方式将这些附件迁移到文件系统 。

问题回答

使用 Openerp 导入/ 导出特性 。

制造 csv 文件然后导入 。





相关问题
odoo 15 api response data -> my text field

I HAVE THİS CODE BUT NOT WORK EXACTLY <?xml version="1.0" encoding="utf-8"?> <odoo> <record id="view_musteri_tavsiye_form" model="ir.ui.view"...

Avoid OpenERP audittrail bug

I d like to manage OpenERP user s activity by installing the audittrail module. After creating some rules ( define which user, which object and which activity (create, update..) will be monitored). I ...

OpenERP cache features

I want to cache some results in my OpenERP module, so I dug around a bit and found the cache decorator. Unfortunately, the most documentation I ve been able to find is in the class declaration: Use ...

hide button according to group

I have a defined groups and i want to display a button according a group. <button name="assign_ticket" states= "pending_assignment,draft" groups="group_centricare_care_agents" string="Assign to me"...

Integrating Drupal with OpenERP

We have a requirement that we need to integrate OpenERP with Drupal. I investigated but could not find any Drupal addon/module which will do the desired job. I also investigated and found that ...

Problem installing OpenERP server with buildout !

I m trying to deploy OpenERP with a buildout and my own piece of code. In fact I would like to build a complete deployement structure allowing me to use OpenERP with custom modules and patch. First ...

OpenERP, data restore problem

I am trying to restore a database backup through the client interface of open ERP. A message appeared "Could not restore DB". I am using Postgresql 8.4.1 Please help!

热门标签