summaryrefslogtreecommitdiff
path: root/addons/web_editor/static
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2015-11-04 14:45:37 +0100
committerNicolas Martinelli <nim@odoo.com>2015-11-04 15:08:35 +0100
commitaffce2c49c1331b655d339d2f19fac0f66f5f13f (patch)
treec3c8e6114e3a1a5a5f9df0f49d4b5e203b015f30 /addons/web_editor/static
parente48a6607919f9471ef3a9467736e5e5c8bae4313 (diff)
[FIX] account, website_sale: do not set fpos on res.partner automatically
When a partner is created, the fiscal position is set automatically if possible. This is not correct, the fiscal position should only be set automatically on a SO, based on the delivery address. Here is a scenario explaining the reason: - Create 2 fiscal positions, one in US and one in Canada. Both fiscal positions apply automatically depending on the country. - As an non-logged user, go in the web shop - Buy a product - At the checkout phase, the Billing Information are in US, but the Shipping Information in Canada. - The fiscal position which will apply will be US, while you expect it to be Canada The reason is that the fical position which applies is the one on the parent partner (US in this case), since all children partners must have the same accounting data. With this fix, we simply remove the automatic setting of the fiscal position on the partner. opw-653072
Diffstat (limited to 'addons/web_editor/static')
0 files changed, 0 insertions, 0 deletions