can busbar with paxil cause more anxiety how to get sertraline without insurance magenschmerzen von misoprostol is it safe to take zinc supplements with lisinopril can you mix rizatriptan with ibprophin cheap cialis 5mg is ondansetron gluten free difference bupropion hcl xl and xl anafranil 25 mg libido does clonidine potentiate the euphoria high of tramadol magkano ang amoxicillin 500 na generic doxycycline dosage amount for dogs clomiphene citrate 300 mg oral acyclovir along with doxycycline erythromycin 250mg tablets does fluconazole affect the pill prednisone dose pack dosing buy phenergan syrup online metformin hcl old project thesis meloxicam precio cost voltaren gel 100g lisinopril 10 mg benefits digoxin pharmacotherapeutic doxycycline hyclate for acne diltiazem 100 mg azithromycin 250 mg no alcohol does doxycycline monohydrate work for chylamidia disadvantages of use of metronidazole in infants ip 272 bactrim colchicine cause dry mouth will taking a half of lisinopril hurt you buy valtrex 1 gm tabs in india where can i buy ketoconazole cream 2 precio misoprostol costa rica kegunaan flagyl forte levitra 10 mg precio espa?±a montelukast costco desyrel 100 mg fiyat doxazosin 4 mg side effects lipitor off patent pricing meloxicam street price 7.5 m very cheap viagra doxycycline hyc for sinus infection ivermectin on chickens reviews tamoxifen citrate nolvadex for sale does lexapro make you crave carbohydrates plavix 300 mg daily seroquel xr 150 mg weight gain how long will zofran last o e que cytotec modo de usar sildenafil spray how long does fluconazole work for menr zovirax generic what is the minimum duration to take doxycycline is a loss of appetite a good or bad sign taking clomid can dogs take atarax itching contraindications of doxycycline lasix albumin drip protocol wellbutrin with cymbalta reviews sildenafil citrate tablets cobra 120 diets in urdu uk viagra paypal naproxen bp 500mg price use of ciprotab in pregnancy 300 mcg synthroid is this a high dose can i take valtrex with aldactone arimidex cost australia lamisil for diaper rash effient vs plavix side effects telmisartan product monograph pdf how many gabapentin 300 mg to get high celebrex vs ibuprofen 800 bactrim 480mg antibiotic gel for gums flagyl dosage 125 ubat propranolol 20mg gabapentin for ambien weaning cat antibiotics without a presciption brand levitra ellinika voltaren 50 mg obat apa can vibramycin effect periods indomethacin 25mg cap flagyl 400 h na escitalopram oxalate v citalopram viagra super ed trial pack how much does generic seroquel cost xn--b1afpdqbb8d.xn--p1ai hyzaar price rizatriptan odt msds what does buspar help with terbinafine tablets in saudi arabia how much is misoprostol in kenya using adderall and celexa together 1 mg albuterol 1 yr spanish clomiphene instructions doxycycline 100 in dentistry is lexapro good for ruminating thoughts doxycycline for lyme disease in dogs doses dosage metronidazole for cat pros and cons of taking alendronate weekly or daily can a nursing take ciprotab 500 ondansetron 153 cara memakai flagyl 0.5 metronidazole do you take suprax 200 mg and zithromax 500 for std metoprolol tart 25 mg side effects can u drenk redbull while takeing azithromycin clinica que use cytotec costa rica one time prednisone dose can i buy tadalafil in turkey zovirax 200 topamax and gabapentin together olmesartan 20 mg tablets brands is safe to take sleeping pill after i took zoloft does metronidazole 500 mg contradict with claritin d 200 mg strattera too much what is dapoxetine slidenafil tablets use for acyclovir for herpes simplex quanitity 30 pills prednisone vs medrol dose pack treatment where can i buy cialis in singapore gambar obat misoprostol what happens if you take 2 5mg zyprexa accutane online zoloft 50 mg user reviews can u take ciprofloxacin hcl 250 if pregnant bactrim and doxycycline together antibiotics you can buy online using medicaid ciprofloxacin 250 mg urinary tract infection montelukast sodium 10mg tablet mixing with alcohol diovan and bystolic and leg cramps pantoprazole sandoz 40 mg vs nexium becterial infection on panis augmentin 625 can metronidazole benzoate be prescribed for ferrets oxytetracycline powder dosage for cats does chamomile interact with sertraline generic levitra sale medroxyprogesterone shot cost nolvadex pharmaceuticals ab side effects of going off topamax doxepin 5 mg filmtabl taking lisinopril long term how long does it take for metronidazole to work in men azithromycin dosage chart for strep throat tabl bactrim dosis commk side effects of ciprotab to a woman generic lasix images hydroxyzine hcl for anxiety cardiomyopathy and allergic reaction to amoxicillin effect of lisinopril on pulse rate buy kamagra oral jelly uk ohip antidepressants premarin cream side effects pills effects of premarin on males can you take penicillin and amoxicillin abscessed tooth injection augmentin nursing responsibility similarities in augmentin 625 and winex 200 valsartan 320 mg tablets cialis online purchase why is acyclovir ointment so expensive buspar dopamin zovirax 800 mg dose use of yougrt with vibramycin effects originator of montelukast alli 120mg diet pill lisinopril withdrawal side effects can i take metforming and clomid anytime atorvastatin ip ondansetron odt 4 mg high gabapentin uses india nizoral shampoo without sls celexa no prescription needed take amoxicillin 1000mg during pregnancy metformin price per ten tablet amoxicillin over the counter at wallmart, laredo, tx generic fluoxetine for dogs dapoxetine drug summary in bangladesh ciprofloxacin vs zithromax ear infection does teva escitalopram get you high THUMBUY.COM plan to wean off prednisone for dog does meloxicam get you high piriton or phenergan best for head cold can ranitidine and gabapentin be taken at the same time propecia cost cvs zoloft 300 mg dosage price propecia singapore purchase cialis on line how long does it take metoprolol er to work thailand amoxicillin nizoral shampoo pret dosage of propecia 5mg fluconazole 100mg price how much trazodone and alchole mixed to kill someone generic escitalopram vs brand lexapro nizoral shampoo for hair loss walgreens very strong viagra for women precio del misoprostol en farmaciad del ahorro lamisil tablets no prescription uk atorvastatin 20 mg para que se usa diflucan dose for tinea versicolor valtrex 500 42 para que sirve montelukast 4mg chew tabs amiodarone 400 mg tds naprosyn gel 500 007 viagra dosis pemakaian furosemide 40 mg clonidine vs adderall 50mg jual cytotec jogja efect of tamoxifen soft gelatin capsules 40 mg fineova ultrasound on 9th day of cycle during clomid round competitor of glimepiride isoptin 80 mg 50 film tablet effects of sildenafil citrate mtm 100 on women atorvastatin and shoulder pain buy generic olanzapine cardizem cd 90 mg side effects of 0.6 dosage of premarin lieu dung augmentin coritensil 6.25 carvedilol precio revista 400 cara kerja glucophage xr lisinopril interactions tylenol aleve metoprolol 25 mg tablets can i take antacid with lexapro ativan kamagra 100mg buy from india doxazosin 4mg in india tamoxifen uterine cancer lawsuits cialis dosage canada nizoral shampo men hair loss review cialis canada prie daily use shoppers drug mart voltaren rapid bula side effects of levaquin antibiotic on human testicles metronidazole mercury day 3 clomid side effects can you have multiple orgasms while on cialis were can u get the cytotec pills here in south africa metoprolol take with food amoxicillin take three times daily every how much hours luvox tab price fluoxetine sale online meloxicam 7.5 and zantac interaction avapro 300 mg cost cymbalta coupon amoxicillin in walmart misoprostol 0.2 mg em portugues coumadin clinic tucson az amoxicillin brand price philippines ondansetron m 734 MASTERRAFTING.COM dexamethasone medscape buy generic viagra canada online liquid tamoxifen citrate storage metronidazole where to buy it in south africa metoprolol er 75 mg does generic cialis work the same parachuting neurontin avodart no prescription inkafarma vende cytotec can pepcid ac be taken when taking advil antibiotic lisinopril 2.5mg tablet whatisitfor side effects of cozaar comp medication how to buy clomid in malaysia viagra from canada sale clopidogrel bisulfate vs advil can u get a similar otc gabapentin furosemide 40 mg with paypal fexofenadine 30 cymbalta fibromyalgia what to expect metronidazole 300mg as benzoylmetronidazole lipitor 10 mg 90 tablet meloxicam 80 actos 15 mg 28 film tablet natural sources side effects of cabergoline buy viagra online australia legally ketoconazole cream 2 mexico can i take 2 viagra pills in one day is ciprofloxacin ok for premed buy priligy paypal DORREAJATETXEA.COM put away the viagra eat these foods nizoral stockists uk torsemide vs lasix po dosing buy amoxil dogs can you shoot up strattera 60 mg buy discount viagra on the internet antidepressants body adjusted synthroid 25 mg daily celebrex metatoporol lisinipril kamagra oral jelly review women cialis better on empty stomach neurontin ja rivatril bupropion and weight gain how much does diflucan cost without insurance glucophage 500 mg 100 film tablet thuoc zithromax 200mg 5ml suspension will 120 mg of baclofen get you high thuoc naproxen 250mg package insert amoxicillin teva pharaceuticals what prescription drugs work well with adderall fexofenadine price cvs hydroxyzine hcl moodiness take cytotec orally endometrial biopsy fluconazole for oral thrush para que es meloxicam 7.5mg does cipro 500 delay mensturation amitriptyline hcl 25 mg and synthroid 150 mg movix meloxicam 75 harga obat acyclovir cream generik ondansetron oral solution ip emigo diflucan dosage for yeast infection for men obat misoprostol 0.2 mg modo de uso de las pastillas de cytotec misoprostol prednisone and progesterone nih 3 follicles chance of multiples with femara atomoxetine reviews how to use misoprostol 4weeks into pregnancy can i take nyquil with my synthroid in the morning cost of lexapro 20 mg without insurance should vibramycin capsule be given to hens propranolol anxiety dosage 20mg erythromycin powder for pigeons interaction with thyroxine mobic 60 mg cialis reviews how much is lexapro without insurance gabapentin 300 in dubai what is a substitute antibiotic for flagyl estradiol with or without food synthroid 137 ingredients where can i buy cialis in los angeles is ketoconazole cream a corticosteroid are flagyl and zosyn compatible inderal 40 mg price olanzapine sleep same time 1 cialis and 1 levitra DORREAJATETXEA.COM generic can you buy azithromycin over the counter misoprostol en ecatepec hiccups with amoxicillin uk 1 drop for erectile dysfunction in pakistan reversing seroquel side effects fake viagra singapore bupropion works on the ne system sertraline hcl 100 mg cost etoricoxib o celecoxib para que sirve can i take mobic and percocet how to dissolve a viagra erection normal dosage of prednisone for poison ivy septra ds and alcohol shelf life of clozapine can fluconazole capsules lower sperm count how much phenergan for dogs ativan percocet elavil montelukast sodium usp canada viagra shipping tab inderal 50mg use do cyproheptadine s a bodybuilding is 1000 ml of amoxicillin does it make you drowsy fluconazole mum what is baclofen used for street value order lisinopril canada citalopram hbr 40 mg and pregnancy ciprofloxacin borreliose amlodipine20mg dose novartis voltaren 25mg suppos certificate of analysis can a muscle relaxant improve erection how much doxycycline do dogs taje for bronchitis kegunaan obat digoxin 0.25 mg viagra has stopped working panama erection gel generic bupropion xl reviews phenergan 25 mg suppository dosage cytotec pastillas en londres can i take flagyl without food watery discharge 10 days after taking clomid zovirax 200mg tablet isotretinoin price philippines ondansetron 8mg tab effect for pregnant women is cipro 500 mg good for toothach to much azithromycin while pregnant

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 , 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="" id="wizard_ti_my_excel" name=""    />
<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