fdegrave / djangodoo

Django app to ease the interactions between Django and Odoo
Other
53 stars 20 forks source link

Move from auth.User to the more generic settings.AUTH_USER_MODEL #2

Closed tvanesse closed 8 years ago

tvanesse commented 8 years ago

It allows people using custom user models to use djangodoo.

fdegrave commented 8 years ago

Thank you for all the good work!

tvanesse commented 8 years ago

My pleasure. We currently rely on djangodoo at Creo² to retrieve some information from our CRM down to our main backend. A major problem with the former version of djangodoo was that your entire Django application will fail to start up if your Odoo instance is, for any reason, unreachable. So using djangodoo basically makes you dependent on the availability of your Odoo instance, which should not be the case IMHO. Most parts of your Django application may probably work without having access to the Odoo server.

There is still some work to do in order to achieve complete, configurable independance between Odoo and applications using djangodoo though. In this release I just made sure the user can quickly get notified of any failure and identify the problem as coming from Odoo rather that his/her application.