Commit Graph
5 Commits
Author SHA1 Message Date
Cédric Krier f2fa5ea0f8 Set web shop currency and methods on sale after calling on_change's
The on_change_party set the default currency from the company and methods from
the party.

Closes #14149
(grafted from 28c6378e6e274df23e31f85bdc9062a28f2b6fdd)

--HG--
branch : 7.0
2025-08-07 10:28:09 +02:00
Cédric Krier 0504a0e766 Ensure the contextual company is not None and positive before using it
Closes #13868
(grafted from 0ea68af90f3ef7059c7c9c7a33d13fa216e23bc4)

--HG--
branch : 7.0
2025-03-10 23:43:49 +01:00
Cédric Krier 2620cac751 Fill tax rule pattern of web shop with countries
When account_tax_rule_country is activated, the pattern must be filled with
from_country and to_country to compute the right tax.

Closes #13223
(grafted from 1f4f2778d399c214b93ff41ac9e11e826f7c6724)

--HG--
branch : 7.0
2024-04-29 18:08:39 +02:00
Cédric Krier 69f82e8100 Set default value of active_test from transaction
Instead of testing the context in _search_domain_active, it is simpler to set
the active_test default value using the transaction context.
2023-07-05 12:39:48 +02:00
Cédric Krier 80fcdfe019 Prepare migration to monorepo 2022-12-16 14:54:03 +01:00