dapoxetine 60mg tablet results highest miligram for sertraline anyone take cipro and amoxicillin at the same time doxycycline sun rash cymbalta israel clomiphene cost canada antibiotic for cat uti levaquin mycoral ketoconazole obat apa donde puedo comprar pastillas cytotec en costa rica taking doxycycline with orange juice how to know when i ovulated on clomid without discharge zyprexa 10 mg sleep clopidogrel bisulfate bcs classification ivca.info where to buy provera tablets in nigeria zovirax tablets in dublin can you take amoxicillin and steroid ear drops price of iv linezolid obat dexamethasone injection generic drospirenone ethinyl estradiol what is levaquin antibiotic use for bv buy levitra uk what are the side effects of flomax in women cost propecia prescription como tomar cytotec con 7 semanas de embarazo septran syrup for babies etcal.co.uk estradiol 10 mcg pessaries augmentin for 5 days for cat bite clonidine in name in ireland el metoprolol es sublingual thetravelbug.org were to buy amoxicillin online piriton reaction with antibiotics awekblues.com fortressat.com linezolid dose in liver failure estrace 2mg ivf clomid used after using birth control pill is lexapro better for anxiety than buspar for elderly zoloft and itchy scalp miriam.sk ocst.com chateaudelagrave.com what is the street value of buspar per mg etodolac 400 price can you drink alcohol while taking augmentin 875 celery interaction with plavix levofloxacin 500 mg is it time released hydroxyzine hcl syrup 10 mg cialis 5 mg discount coupon diltiazem cd 123 does metformin lower saretonen 25 mg clomid eod for male fertility zoloft vs celexa dosage mgs viagra 65 levonorgestrel 150 mcg ethinyl estradiol 30 mcg iv lasix to po torsemide conversion how much is generic viagra in spain cialis 30 tab.box in egypt poza rica pastillas cytotec donde las encuentro benicar generic price cipla finasteride 5mg do you need a prescription for periactin amoxicillin trihydrate acne dose does famciclovir tablets contain penicillin can you take zpac antibiotic with suboxone how much does azithromycin 500mg go for on the streets amoxicillin antibiotic and the sun proscar yan etkileri lasix nursing implications generic celexa vs generic lexapro is d5w and flagyl compatible montelukast buy online uk gabapentin side effects last how long farmasi yg menjual pil cytotec amoxil syrup 125mg 5ml latreille-perigord.com naproxen dr 500 mg street value albuterol nebulous action solution fungsi voltaren emugel kamagra allegro latreille-perigord.com thuoc mobic 7.5mg temporal arteritis after stopping prednisone thuoc naproxen 375 buspirone hci tablet 7.5 mg 300mg over dose of seroquel 300 mg beasleys-orchard.com calm-arlon.be order proscar online uk can you buy antibiotics in norway buy cheap accutane in usa when do we use doxycycline for pneumonia treatment xenical 600 mg ceftin and allegra branyasbakery.com awekblues.com dermatitis seborreica nizoral cream thetravelbug.org pricing or coreg 3.125 mg at walmart calm-arlon.be chateaugrinou.com receding hairline finasteride buy clomid online uk usage du medicament inderal 40g proventil price india kegunaan obat micardis 10mg will hydrochlorothiazide give you a buzz direction for use of erythromycin syrup miriam.sk carrieres-veze.com glucophage ireland tamoxifen and emotional clonidine and 5 htp generic septra generic azithromycin cost tenemosquever.org.uy avodart no prescription canada levitra professional effects gabapentin 100mg cap street price kamen.com cytotec uso en la semana 6 generic meloxicam for dogs evora sildenafilo lexapro opiumwet does walmart sell zithromax clomid use in australia men prednisone reductions rate tycoch.co.uk can you cut in half a 5mg cialis mercury drugstore amoxicillin price does viagra make u harder than cialis etcal.co.uk thetravelbug.org furosemide im amaryl 5mg viagra vision side effects cider vinegar tablets citalopram 20mg accutane 3 times a week glimepiride 4 mg price how long does it take to get hard erections back thetravelbug.org strattera uses ocd baclofen structure can i take voltaren after thyroxine fortressat.com list of tamoxifen 20 mg ebewe uses topamax 300 mg piroxicam 800mg lexapro 10mg street value one diflucan pill for ringworm no prescription cialis online pharmacy tamsulosin ncl augmentin 625 for pneumonia pengertian dari doxycycline finasteride 61 fingalleaderpartnership.ie robitussin and levaquin and tylenol clopidogrel 300 mg brands in india kamen.com tenemosquever.org.uy diltiazem 240 mg capsule propecia 0.5 mg eod fortressat.com thetravelbug.org generic carvedilol vs coreg quetiapine ret carrieres-veze.com es seguro usar misoprostol despues de las 12 semanas anafranil 25 mg para que sirve levitra tablets 20 mg cymbalta lawsuit withdrawal ciprofloxacin for dry socket ivca.info augmentin not working for diverticulitis will metronidazole help a dog with uti epstein barr acyclovir chateaudelagrave.com beasleys-orchard.com costcos price for 500mg tablets forlevoflaxacinlevaquin diflucan stays in system how long composicion herbal viagra straight up posologia augmentin 1g bustine per canarini will the shedding stop propecia citalopram and sun uk cyproheptadine uses in poultry thetravelbug.org naproxene orifarm discount viagra without perscription can i crush sertraline and smoke it calm-arlon.be para que es la crema lamisil branyasbakery.com famvir australia buy can azithromycin of azuma abort pregnancy pseudoefedrina y metformin erratum.org famvir 250 tablets harga misoprostol tablets cipro for chlamydia what to do brain dead on zyprexa 15mg tamoxifen proviron clenbuterol prometrium 500 forgot to refrigerate flagyl generic levitra europe etcal.co.uk hoevels-hausbrauerei.de amoxicillin suspension drops cystitis after metronidazole does valtrex affect menstrual cycle thetravelbug.org buy amoxicillin 500 mg can metronidazole gel kill sperm paxil 20 mg dosage lexapro generic or brand zyprexa 5mg tabletas buy proventil online no prescription 20mg accutane reviews voltaren patch uk is generic propecia ok what is the side efect of naproxeno on dogs how much is valtrex in philippines calm-arlon.be amoxicillin tds topamax withdrawal effects what is the prescription for strep throat do i need monitored when taking 100g of clomid coreg 5 mg topiramate 50mg erowid headache with use of augmentin bd lisinopril cough treatment treating allergic reaction with diarrhea to augmentin can 4 clonidine get u high why is my stool black with cipro which is critical to synthesize thyroxine cuanto tiempo dura el efecto del sildenafil lerk 100mg awekblues.com jha-design.co.uk latreille-perigord.com erectile tablet for age of 25yrs famvir pbs australia ocst.com effexor lexapro combination naprosyn 500 costo generic synthroid medication colchicine 1mg side effects thetravelbug.org telmisartan tablets market sales in india propecia canada drugs thuoc azithromycin 500mg medroxyprogesterone 2.5 mg tablet tenemosquever.org.uy kegunaan atorvastatin winthrop lioresal 25 mg et topamax 50mg trazodone street value latreille-perigord.com does s5 work as good as finasteride clendamicia y levofloxacino juntos para que sirve el vardenafil latreille-perigord.com can periactin cause depression can you snort furosemide order antibiotics online over the counter for uti benicar lower leg pain how to use albuterol without a nebulizer jha-design.co.uk es08.com doxycycline hyclate ingredients carrieres-veze.com augmentin 875 mg while taking prednisone awekblues.com marinaspodcast.com vardenafil orodispersible 10 mg doxycycline and hpv hydrocodone apap and coumadin missed dose of prometrium cause miscarriage side effects of mixing zoloft and vyvanse prednisone leg cramps ubat cardura xl doxazosin mesylate voltaren dolo forte emulgel in germany ratiopharm can a pregnant woman take celebrex 200mg ano ang side effect ng fluconazole names of nitroglycerin pills for heart attack in india does azithromycin and fluconazole take together prozac taken with flunarizine para que sirve azithromycin 500 mg 7169 ocst.com flagyl vaginal suppository uk zyprexa vs olanzapine sales cialis uk for sale valium prozac and ritalin. breakfast of champions chateaudelagrave.com sciatic milk thistle levofloxacin poisoning alendronate 35 mg cytotec abortion dose for 1 month valtrex 1gm tablets dosage neurontin 300 mg for joint pain lipitor no prescription canada shelf life of clozapine warfarin 3mg side effects meloxicam and baclofen pristiq zyprexa branyasbakery.com fexofenadine and montelukast during pregnancy high off hydroxyzine 100 mg prednisone side effects fluoxetine 60 miriam.sk roches-les-eyzies.com fortressat.com side effect of amoxicillin 500mg to menstrual cycle prednisone alternatives for asthma marinaonline.com how bad is for to take ic atenolol with alcohol doxycycline uti dosage clomiphene citrate 25 mg tablets ketoconazole mouthwash ketoconazole pills online abilify, escitalopram can you use marijuana can i buy flagyl over the counter at walgreens steroid how much cialis cost zofran not working for nausea will sr prescribe viagra to 28 year old is albuterol safe for 3 month old get high on prozac how many flomax days needed for effectiveness singulair price costco how many mcgs can a 4 year old boy used for albuterol calm-arlon.be hoevels-hausbrauerei.de google htcz propranolol and vallum together getting off of seroquel celebrex 200mg capsule how many diflucan can a male take how much cialis is needed watersmedia.com amlodipine 10 mg side effects can i take a probiotic with fluconazole xenical no prescription calm-arlon.be ok if muscle spasms from celexa introduction of digoxin j code for amoxicillin 500mg zovirax generic brand thetravelbug.org cara mendapatkan cytotec di malang jha-design.co.uk tamsulosin hydrochloride price hardrockchick.com bayer levitra losartan prometrium 100mg generic is cystic misoprostol sold in kenya niacin and amlodipine besylate interactions omeprazole gabapentin interaction lamisil solo hinta branyasbakery.com levofloxacin natrapharm reaction to alcohol google amoxicillin side effects of 10mg of prednisone for dogs gabapentin liquid for cats buy australian viagra gabapentin 100mg capsules ptsd propranolol reviews anxiety neurontin cost walgreens beasleys-orchard.com azithromycin allergic reaction rash and sweating bactrim or amoxicillin for a cut prednisone make it hard to orgasm can i use pink viagra with alcohol metronidazole 500mg and gel difference can i take terazol 80mg and diflucanat the same time branyasbakery.com viagra 30 pills ketoconazole bulldog precio de montelukast en mexico septra reviews magkano ang misoprostol para que se usa el voltaren en crema fina ngsi obat piroxicam mechanism of actions of furosemide 40 mg proscar yan etkileri revatio sams club clomid after birth control injections what happens if you snort 10mg lexapro prices for zyprexa plavix cost canada how long does doxycycline stay in diflucan 600 mg seroquel makes me irritable ketoconazole shampoo in saudi arabia doxycycline hyclate 100mg for cats watersmedia.com ups shipping viagra can you give a dog phenergan for vomiting indiecater.com can zyprexa be split chinese viagra in terry white chemists lipitor 40 mg price india augmentin 250 mg thuoc nizoral shampoo price in oman marinaspodcast.com obat volox levofloxacin generic cialis 20 mg can guys take ondansetron dosage of flagyl ovules what is the difference tolnaftate vs terbinafine metronidazole and endosorb doesnt work naproxen 500mg online azithromycin 1g without prescription over the counter can you use voltaren gel if you are taking vicodin should i take metformin after gastric bypass phenergan 25mg cost azithromycin over counter usa how come everytime i take trazadone i get a erection ciprolet 250 buy in uk how long does the amoxin 500 mg amoxicillin last erythromycin 250 mg side effects camber terbinafine hydrochloride tablets amoxicillin blotchy skin yogurt doxazosin xl the price of a sachet of amoxil in nigeria does clonidine block opiates benazepril 80 mg kamen.com branyasbakery.com metronidazole for dogs over the counter substitute terbinafine lamisil krim atau gel albuterol inhaler price cvs indiecater.com furosemide 5 misoprostol se compra si o si con receta prednisone for dogs cost how many millegrams of gabapentin at once felodipine and proponol side effects fluconazole ip 150mg tablet use and benifit awekblues.com propranolol 20 mg weight gain can you get high off bupropion 100 when do we give infant erythromycin ointment can overdose of zyprexa kill you buy kamagra gel australia buy cheap avapro cgv kamagra metronidazole gel canine metoprolol 5 mg ivp does boots chemist sell fluconazole capsuls uk minipress 2mg prazosin lamisil and rectal bleeding calyfig and warfarin are they safe taken together augmentin tablet for tightness in throat can you take paxil with cealis cual es la verdadera dosis de cytotec kegunaan tablet graperide cyproheptadine hci singulair dosage for dogs generic micardis reviews finasteride australia price cytotec use in 6months pregnant can erythromycin ointment cause stoach pain generic levitra does work replacing lisinopril apa itu piroxicam how much do antibiotics cost for a cat eye infection uk inofolic and metformin chateaugrinou.com buy accutane online no prescription canada mirtazapine 45 mg street value ampicillin sulbactam 750 mg lump in throat feeling with nexium can bactrim assist with chest infections can u give dogs ondansetron augmentin 875 mg uti relora and celebrex combo clomid pills in jamaica wellbutrin sr 400 mg weight loss should you eat tuna while taking warfarin phenergan 250mg buy generic tamoxifen no prescription doxywell doxycycline hyclate tablets how to dose doxycycline 150mg pills pay shipping for viagra hoevels-hausbrauerei.de generic wellbutrin sr dosage levofloxacin 500 mg and alcohol tycoch.co.uk tycoch.co.uk efferctsof missing lexapro dosage art 75 de los actos de comercio carrieres-veze.com gabapentin diarrhea montelukast levocetirizine zykast viagra online switzerland azithromycin 500 mg iv price how long does a 50mg viagra pill last cipro sinus infection dosage continuous albuterol dosage thetravelbug.org citalopram 20 mg at 6 weeks ketoconazole 1 otc does plavix effect pt prozac receptors

You are hereOpenerp: Wizard for exporting to excel

Openerp: Wizard for exporting to excel

By sean - Posted on 19 May 2010



To do: Expalin the code below....


[Update 21.jun'10:
- There was a bug in the webinterface when downloading the excel file, see https://bugs.launchpad.net/openobject-client-web/+bug/591102 , hopefully the fix will be included in 5.0.12.
- This example use a classical wizard, it can also be be using osv_memory ... must add an example


In the modules view xml, create a wizard and menu item that calls it:

<wizard string="My Excel export" model="ti.my" id="wizard_ti_my_excel" name="ti.my.excel"    />
<menuitem name="My/Excel" id="menu_my_excel" action="wizard_ti_my_excel" type="wizard" sequence="40"/>

Create the ".py" file with the wizard class:
import StringIO
import base64
from   osv import osv, fields
import pooler
import wizard
import csv
import pprint

class wiz_ti_my_excel(wizard.interface):
    view_form_finish="""<?xml version="1.0"?>
<form string="Export list">
    <image name="gtk-dialog-info" colspan="2"/>
    <group colspan="2" col="4">
        <separator string="Export to Excel" colspan="4"/>
    <field name="data" readonly="1" colspan="3" filename="file_name" />
        <label align="0.0" string="Save this document to a .XLS file and open it with\n Excel." colspan="4"/>
        'data': {'string':'File', 'type':'binary', 'readonly': True,},
        'file_name':{'string':'File Name', 'type':'char'}
    ## Only one step in this GUI, call the action _get_file
    ## return the result data + file_name and go to end state.
            'actions': [_get_file],
            'result': {'type': 'form',
                'arch': view_form_finish,
                'fields': fields_finish,
                'state': [ ('end', 'Close', 'gtk-cancel', True) ]

Creating Excel docs

to do




Create excel sheets from python