789aa140b96226718bfecc52ec2fe33273e31d3f
During checkout, the user can create a new billing (only for public user as it will create a 'normal' `res.partner`), a new shipping, edit its billing (that will edit himself) or edit its shipping address. All those cases will go through the exact same methods, public user and logged in user included. This previously led to multiple issues and multiple fixes to correctly set `company_id` and `website_id` on the address (res.partner). See44372471efthat fixed the `website_id` part. See3a0f05f33that fixed the multi-company behavior, but needed2ba71140to not modify the company of an already created partner, but was still incomplete as after that fix a logged in user would still have the admin (sudo) company instead of the website one as supposed. This commit will fix that bug and add some tests for all mentionned issues. Related to #28853 as we want to backport the mentionned commit but needed to be fix first. closes odoo/odoo#34596 Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
…
…
…
…
…
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, Purchase Management, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
Then follow the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%