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

[IMP] Add hook to allow to disable the invoice and delivery address merge #89

Merged
merged 1 commit into from
Jun 12, 2024

Conversation

florian-dacosta
Copy link
Member

Not merging shipping and invoicing addresses make a change on delivery address after sale creation way easier.
Also, since addresses are archived automatically, it does not really pollute anything.

Juste a hook for now as I don't really know if it is something that is worth a config in Odoo. We'll add this when we'll have more cases.

@clementmbr @sebastienbeau @bealdav

…erge and always have 2 distinct addresses

In case you want to update the delivery adresse after the creation of the sale order, it is easier to already have distinct addresses between delivery and invoicing.
Else one should create a new address, update the sale order, update the delivery order...
In the future, it  could become an option on channel or company instead of this hook that require an override to change the behavior
@florian-dacosta florian-dacosta merged commit ac6fa9a into 16.0 Jun 12, 2024
4 checks passed
@github-grap-bot github-grap-bot deleted the 16-sale_import_base-hook-address-merge branch June 12, 2024 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants