jvm-odoo edc4c093d8 [FIX] sale, purchase: fix empty partner lang
Issue

	- Create new db with language en_CA
	- Install Sales & Purchase
	- Enable fr_CA
	- Create a product & Save
	- Edit the name & Save
	- Create a quotation or RFQ
	- Do not select partner
	- Select your product

	The description is still the old name

Cause

	We try to browse a product with an empty
	partner language

Solution

	Use odoo.tools.misc.get_lang() in order
	to fallback to a language is the partner's
	one is empty

closes #44357

OPW-2196602

closes odoo/odoo#45620

X-original-commit: 4561b6bd4c2afab8ae29ced1a9085e6878a9921d
Signed-off-by: Jason Van Malder (jvm) <jvm@odoo.com>
2020-02-18 12:01:58 +00:00
2020-02-13 11:45:39 +00:00
…
2019-10-03 12:48:09 +00:00
…
…
…
2019-11-08 11:24:04 +00:00
2019-10-03 12:48:09 +00:00

Build Status Tech Doc Help Nightly Builds

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, ...

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.

To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials

S
Description
No description provided
Readme LGPL-3.0
3.4 GiB
Languages
Python 49.6%
JavaScript 47.8%
SCSS 2%
CSS 0.3%
HTML 0.2%