KoalixSwitzerland / koalixcrm

koalixcrm is an Open Source Python CRM and ERP based on django
www.koalix.org
BSD 3-Clause "New" or "Revised" License
531 stars 218 forks source link

Integration with oscar & oscar-accounts ? #266

Closed goutnet closed 6 months ago

goutnet commented 5 years ago

Would it be possible to integrate with oscar-accounts for the accounts providing?

oscar-accounts provides a bit more features (and plays well with oscar as well)…

it could be either replace the Account model with the oscar-accounts or attach an oscar-account reference to it…

would you accept a pull request that would go in this direction?

scaphilo commented 5 years ago

It looks quite promising. I will need to think about your proposal in more detail. I will come back to you once I have a clearer picture.

goutnet commented 5 years ago

I am waiting for an answer on their issue tracker before getting serious here:

https://github.com/django-oscar/django-oscar-accounts/issues/64

Depending on their response, the way I saw it would be to use model inheritance to use Oscar-accounts as base class:

https://docs.djangoproject.com/en/2.1/topics/db/models/#model-inheritance

This would ensure koalix to be independent in the way it manages extra fields (ex: account documentation etc..)