Your SlideShare is downloading. ×
  • Like
Webdav, Caldav & Co. in Odoo
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Now you can save presentations on your phone or tablet

Available for both IPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Webdav, Caldav & Co. in Odoo

  • 1,429 views
Published

 

Published in Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
1,429
On SlideShare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
40
Comments
0
Likes
1

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. initOS GmbH&Co. KG SoftwareEngineering-Communication -Consulting An der Eisenbahn 1 DE-21224 Rosengarten Managingdirectors: Dipl.-Wirt.-Inf. Frederik Kramer Dipl.-Ing. (FH) Torsten Francke Liablecompany: initOS VerwaltungsGmbH Amtsgericht: Tostedt, HRA 201840 USt-IdNr.:DE275698169 Steuer-Nr.: 15/205/21402 CommerzbankHamburg Konto: 7411 66 300 BLZ:200 400 00 IBAN: DE54 2004 0000 0741 1663 00 BIC: COBADEHHXXX Date:04.06.2014 MarkusSchneider Slide: 1 „Webdav, Caldav & Co. in Odoo“
  • 2. initOS GmbH&Co. KG SoftwareEngineering-Communication -Consulting An der Eisenbahn 1 DE-21224 Rosengarten Managingdirectors: Dipl.-Wirt.-Inf. Frederik Kramer Dipl.-Ing. (FH) Torsten Francke Liablecompany: initOS VerwaltungsGmbH Amtsgericht: Tostedt, HRA 201840 USt-IdNr.:DE275698169 Steuer-Nr.: 15/205/21402 CommerzbankHamburg Konto: 7411 66 300 BLZ:200 400 00 IBAN: DE54 2004 0000 0741 1663 00 BIC: COBADEHHXXX Date:04.06.2014 MarkusSchneider Slide: 2 Agenda What is Webdav? Comparing solution Mobile Apps vs. Native Integration Webdav in OpenERP / Odoo Example: Carddav implementation in OpenERP v7 Having Fun Next Steps to go
  • 3. initOS GmbH&Co. KG SoftwareEngineering-Communication -Consulting An der Eisenbahn 1 DE-21224 Rosengarten Managingdirectors: Dipl.-Wirt.-Inf. Frederik Kramer Dipl.-Ing. (FH) Torsten Francke Liablecompany: initOS VerwaltungsGmbH Amtsgericht: Tostedt, HRA 201840 USt-IdNr.:DE275698169 Steuer-Nr.: 15/205/21402 CommerzbankHamburg Konto: 7411 66 300 BLZ:200 400 00 IBAN: DE54 2004 0000 0741 1663 00 BIC: COBADEHHXXX Date:04.06.2014 MarkusSchneider Slide: 3 What is webdav? short for: Web Distributed Authoring and Versioning It extends HTTP (RFC 2518, RFC 4918) [2007] Carddav = Webdav + vCard [2011 Apple] Caldav = Webdav + iCalendar [2003 IETF] Groupdav = Webdav + Caldav + Carddav So you can sync files, addresses and calendar data to one standard protocol
  • 4. initOS GmbH&Co. KG SoftwareEngineering-Communication -Consulting An der Eisenbahn 1 DE-21224 Rosengarten Managingdirectors: Dipl.-Wirt.-Inf. Frederik Kramer Dipl.-Ing. (FH) Torsten Francke Liablecompany: initOS VerwaltungsGmbH Amtsgericht: Tostedt, HRA 201840 USt-IdNr.:DE275698169 Steuer-Nr.: 15/205/21402 CommerzbankHamburg Konto: 7411 66 300 BLZ:200 400 00 IBAN: DE54 2004 0000 0741 1663 00 BIC: COBADEHHXXX Date:04.06.2014 MarkusSchneider Slide: 4 Mobile apps vs webdav Advantage apps: More freedom Simple to implement Advantage Webdav in Odoo One implementation for all platforms Stick to Python Independent from 3rd vendors (like Google)
  • 5. initOS GmbH&Co. KG SoftwareEngineering-Communication -Consulting An der Eisenbahn 1 DE-21224 Rosengarten Managingdirectors: Dipl.-Wirt.-Inf. Frederik Kramer Dipl.-Ing. (FH) Torsten Francke Liablecompany: initOS VerwaltungsGmbH Amtsgericht: Tostedt, HRA 201840 USt-IdNr.:DE275698169 Steuer-Nr.: 15/205/21402 CommerzbankHamburg Konto: 7411 66 300 BLZ:200 400 00 IBAN: DE54 2004 0000 0741 1663 00 BIC: COBADEHHXXX Date:04.06.2014 MarkusSchneider Slide: 5 Webdav in OpenERP (before) Based on document.directory (flexible, but not easy) Webdav is slow (so not useable) Carddav a module from Vertel for OpenERP 6.1 Caldav was removed in OpenERP 7 Webdav was removed in Odoo 8 Note: clients evolve as well
  • 6. initOS GmbH&Co. KG SoftwareEngineering-Communication -Consulting An der Eisenbahn 1 DE-21224 Rosengarten Managingdirectors: Dipl.-Wirt.-Inf. Frederik Kramer Dipl.-Ing. (FH) Torsten Francke Liablecompany: initOS VerwaltungsGmbH Amtsgericht: Tostedt, HRA 201840 USt-IdNr.:DE275698169 Steuer-Nr.: 15/205/21402 CommerzbankHamburg Konto: 7411 66 300 BLZ:200 400 00 IBAN: DE54 2004 0000 0741 1663 00 BIC: COBADEHHXXX Date:04.06.2014 MarkusSchneider Slide: 6 Carddav implementation v7 Fixing webdav => MP has not reviewed Provide a module fork: document_webdav_fast base_vcard to map a openobject to vCard class
  • 7. initOS GmbH&Co. KG SoftwareEngineering-Communication -Consulting An der Eisenbahn 1 DE-21224 Rosengarten Managingdirectors: Dipl.-Wirt.-Inf. Frederik Kramer Dipl.-Ing. (FH) Torsten Francke Liablecompany: initOS VerwaltungsGmbH Amtsgericht: Tostedt, HRA 201840 USt-IdNr.:DE275698169 Steuer-Nr.: 15/205/21402 CommerzbankHamburg Konto: 7411 66 300 BLZ:200 400 00 IBAN: DE54 2004 0000 0741 1663 00 BIC: COBADEHHXXX Date:04.06.2014 MarkusSchneider Slide: 7 Carddav implementation v7 (2) Using AbstractModel for easy reuse Using vcard_property to easy configure matching _fill_get_vcard and _fill_set_vcard for complexer mapping Store additional unmapped carddav data in vcard_properties field document_carddav module to bring vCard together with webdav http://odoo.local/webdav/dbname/addressbooks/users/demo/a/m- res.partner/default/
  • 8. initOS GmbH&Co. KG SoftwareEngineering-Communication -Consulting An der Eisenbahn 1 DE-21224 Rosengarten Managingdirectors: Dipl.-Wirt.-Inf. Frederik Kramer Dipl.-Ing. (FH) Torsten Francke Liablecompany: initOS VerwaltungsGmbH Amtsgericht: Tostedt, HRA 201840 USt-IdNr.:DE275698169 Steuer-Nr.: 15/205/21402 CommerzbankHamburg Konto: 7411 66 300 BLZ:200 400 00 IBAN: DE54 2004 0000 0741 1663 00 BIC: COBADEHHXXX Date:04.06.2014 MarkusSchneider Slide: 8 Having Fun - First Use Carddav for other objects crm_vcard module https://odoo.local/webdav/dbname/addressbooks/users/ demo/a/m-crm.lead/default/
  • 9. initOS GmbH&Co. KG SoftwareEngineering-Communication -Consulting An der Eisenbahn 1 DE-21224 Rosengarten Managingdirectors: Dipl.-Wirt.-Inf. Frederik Kramer Dipl.-Ing. (FH) Torsten Francke Liablecompany: initOS VerwaltungsGmbH Amtsgericht: Tostedt, HRA 201840 USt-IdNr.:DE275698169 Steuer-Nr.: 15/205/21402 CommerzbankHamburg Konto: 7411 66 300 BLZ:200 400 00 IBAN: DE54 2004 0000 0741 1663 00 BIC: COBADEHHXXX Date:04.06.2014 MarkusSchneider Slide: 9 Having Fun - Second Using filters http://odoo.local/webdav/dbname/addressbooks/users/ demo/a/m-res.partner/filtered-71/
  • 10. initOS GmbH&Co. KG SoftwareEngineering-Communication -Consulting An der Eisenbahn 1 DE-21224 Rosengarten Managingdirectors: Dipl.-Wirt.-Inf. Frederik Kramer Dipl.-Ing. (FH) Torsten Francke Liablecompany: initOS VerwaltungsGmbH Amtsgericht: Tostedt, HRA 201840 USt-IdNr.:DE275698169 Steuer-Nr.: 15/205/21402 CommerzbankHamburg Konto: 7411 66 300 BLZ:200 400 00 IBAN: DE54 2004 0000 0741 1663 00 BIC: COBADEHHXXX Date:04.06.2014 MarkusSchneider Slide: 10 Having Fun - Third Odoo meets OwnCloud (PoC) Sync your ir.attachments locally like Dropbox Odoo webdav + OwnCloud external storage Alternative solution use OwnCloud client (webdav client) directly with Odoo (not tested yet)
  • 11. initOS GmbH&Co. KG SoftwareEngineering-Communication -Consulting An der Eisenbahn 1 DE-21224 Rosengarten Managingdirectors: Dipl.-Wirt.-Inf. Frederik Kramer Dipl.-Ing. (FH) Torsten Francke Liablecompany: initOS VerwaltungsGmbH Amtsgericht: Tostedt, HRA 201840 USt-IdNr.:DE275698169 Steuer-Nr.: 15/205/21402 CommerzbankHamburg Konto: 7411 66 300 BLZ:200 400 00 IBAN: DE54 2004 0000 0741 1663 00 BIC: COBADEHHXXX Date:04.06.2014 MarkusSchneider Slide: 11 Next Steps to go Become a community project Caldav for OpenERP v7 provided by Intero Technologies GmbH For Odoo v8 needs some changes on server handling Calender model changes in odoo v8, but hopefully easy to remap Add base_vcard_import for easy migration from old server base_vcard_import + connector = carddav client
  • 12. initOS GmbH&Co. KG SoftwareEngineering-Communication -Consulting An der Eisenbahn 1 DE-21224 Rosengarten Managingdirectors: Dipl.-Wirt.-Inf. Frederik Kramer Dipl.-Ing. (FH) Torsten Francke Liablecompany: initOS VerwaltungsGmbH Amtsgericht: Tostedt, HRA 201840 USt-IdNr.:DE275698169 Steuer-Nr.: 15/205/21402 CommerzbankHamburg Konto: 7411 66 300 BLZ:200 400 00 IBAN: DE54 2004 0000 0741 1663 00 BIC: COBADEHHXXX Date:04.06.2014 MarkusSchneider Slide: 12 Q&A https://github.com/initOS/openerp-dav Twitter: @OSguard IRC: OSguard initOS GmbH & Co. KG An der Eisenbahn 1 D-21224 Rosengarten Telefon: +49 4105 56156-0 Fax: +49 4105 56156-10 e-Mail: info@initos.com initOS GmbH & Co. KG Hegelstrasse 28 D-39104 Magdeburg Telefon: +49 391 5385640-0 Fax: +49 391 5385640-1 e-Mail: info@initos.com
  • 13. initOS GmbH&Co. KG SoftwareEngineering-Communication -Consulting An der Eisenbahn 1 DE-21224 Rosengarten Managingdirectors: Dipl.-Wirt.-Inf. Frederik Kramer Dipl.-Ing. (FH) Torsten Francke Liablecompany: initOS VerwaltungsGmbH Amtsgericht: Tostedt, HRA 201840 USt-IdNr.:DE275698169 Steuer-Nr.: 15/205/21402 CommerzbankHamburg Konto: 7411 66 300 BLZ:200 400 00 IBAN: DE54 2004 0000 0741 1663 00 BIC: COBADEHHXXX Date:04.06.2014 MarkusSchneider Slide: 13