Community mailing list archives

community@mail.odoo.com

Re: Triggering WebShop Order

by
initOS GmbH, Torsten Francke
- 04/09/2015 16:49:49
Hi valentin

Odoo it self has no event listener. There two solution:

1) inherit sale.order and add your create write and unlink methods and call super after

2) use connector framework as this provide a event system you locking for

Kind regards
Markus

Am 8. April 2015 19:44:23 MESZ, schrieb "V. Imsand" <v.imsand@aeschimann.ch>:

Hi all,


I’m searching a way to trigger a new WebShop order in my own module to insert custom informations to a new table.
I did found a possible way with „Automated Actions“ to run a custom python argument, but this is not a smart way to do it.. is there a way to trigger events (add/update/delete) initiated from an other module? I would like to add all necessary manipulations  in my custom module without touching the core python from odoo?

Thanks for a smart solution ;-)

Regards, Valentin

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


--
Dipl.-Comp.-Math. Markus Schneider
Softwareentwickler

initOS GmbH & Co. KG
An der Eisenbahn 1
21224 Rosengarten

Mobil: +49 (0)172 2303699
Phone: +49 (0)4105 5615613
Fax: +49 (0)4105 5615610

Email: markus.schneider@initos.com
Web: http://www.initos.com

Geschäftsführung:
Dipl. Wirt.-Inf. Frederik Kramer & Dipl.-Ing. (FH) Torsten Francke
Haftende Gesellschafterin: initOS Verwaltungs GmbH

Sitz der Gesellschaft: Rosengarten – Klecken
Amtsgericht Tostedt, HRA 201840
USt-IdNr: DE 275698169
Steuer-Nr: 15/205/21402