Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

search using API SIRENE for legal establishments #592

Open
risto42 opened this issue Dec 11, 2024 · 0 comments
Open

search using API SIRENE for legal establishments #592

risto42 opened this issue Dec 11, 2024 · 0 comments
Labels

Comments

@risto42
Copy link

risto42 commented Dec 11, 2024

Won't get into odoo's messy contact model, but there are a few trivial difficulties with the API SIRENE lookup

  1. Can only use with companies
    That's fine to get the registered company ('moral' person) initially with the affiliated SIREN, but for the other addresses which are registered establishments (having a SIRET) it's very difficult to explain to people that one has to click on 'company' in order for the API SIRENE lookup to work, then needing to set it back in order to not break accounting with a new false auxiliary account (frequently, especially with but not limited to public sector clients, establishments do not necessarily have distinct accounting).
    Fix: relax the restriction, API SIRENE searches can be used for companies, establishments as well as professionals not operating under a company structure (Entrepreneur individuel).

  2. When creating establishments with a SIRET, it would be nice to be able to invoke the API SIRENE search directly from the popup to add an address on the company, saving the step of having to save the company, then backing out to find the new contact in order to complete the establishments details...

  3. Finally there are a number of fields that are not filled in on the contact even though they are [already] retrieved via the API, such as APE and legal form

@risto42 risto42 added the bug label Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant