499a0506fda6a9e863cba8cb9f70fba44138854d
Description of the issue/feature this PR addresses: In sale, when threshold value of product is not exceed than upsell activity is created while creating invoice. upsell activity is only create when threshold value exceed otherwise not. Current behavior before PR: When creating an invoice, an 'upsell' activity is created on the sales order and assigned to the salesperson even if the threshold has not been exceeded. Desired behavior after PR is merged: Do not create a 'upsell' activity unless threshold is exceeded. Fix: super class is invoke before checking the upsell and create activity. so now, we prevent super method from creating upsell activity via passing `mail_activity_automation_skip` context. task- 3330815 closes odoo/odoo#126067 X-original-commit: 9232093da48cbffe2c3a9d85106292082fdbdcce Signed-off-by: Xavier Bol (xbo) <xbo@odoo.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, ...
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
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%