Implemented data export to OO Calc (code included)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo GTK Client (MOVED TO GITHUB) |
Confirmed
|
Wishlist
|
OpenERP sa GTK client R&D |
Bug Description
Hi!
I've implemented data export to OpenOffice.org Calc and I share the code here, maybe others need this functionality, too. It does the same job as the 'Open in Excel' function for win32. This code was tested on Ubuntu 8.04 and 9.04.
The needed oootools.py is attached.
So replace this line: :)
common.
with this:
try:
import subprocess
import time
retcode = subprocess.
from oootools import OOoTools
for i in range(10):
ooo = OOoTools(
if ooo and ooo.desktop:
doc = ooo.desktop.
sheet = doc.CurrentCont
for col in range(len(fields)):
tresult = []
for i in range(len(result)):
tresult = tuple(tresult)
except:
Changed in openobject-client: | |
assignee: | nobody → uco (Open ERP) (uco-openerp) |
Changed in openobject-client: | |
assignee: | uco (Open ERP) (uco-openerp) → Anup (Open ERP) (ach-openerp) |
importance: | Undecided → Wishlist |
milestone: | none → 6.0 |
Changed in openobject-client: | |
status: | New → Confirmed |
assignee: | Anup (OpenERP) (ach-openerp) → nobody |
milestone: | 6.0 → none |
assignee: | nobody → OpenERP sa GTK client R&D (openerp-dev-gtk) |
milestone: | none → 6.0 |
Changed in openobject-client: | |
milestone: | 6.0 → none |
I've integrated this patch into Koo and given you due credit, but can you give us permission to use it? Koo is GPLv2 licensed.