68ef2a36f4425689e79b5c2c37e2af5e71392203
This PR introduces multiple changes to improve potential inheritance regarding products. Purpose ====== Be able to sale products on eCommerce that have some specificities regarding their price computation. For example, accommodation price depends on the duration of stay, or rental product price depends on the duration of the rental. Specifications =========== This PR introduces some hooks or methods as : - Add kwargs to price compute methods in order to give some additional parameters - Allow adding optional parameters to product/cart rpc to give additional information concerning product. - Make the cart-quick-add button displayable with a given condition on the product. - Regarding stock on eCommerce, improve the inheritance of the cart quantity and the free quantity computation (which may depend on the temporality). It also allows to increase the inheritance potential of the computation of the max quantity of products that can be added to cart. - The stock warning field is now added in the eCommerce module to allow other eCommerce modules to take advantage of this message prompt. task-2382027 See also https://github.com/odoo/enterprise/pull/23741 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr closes odoo/odoo#83359 Signed-off-by: Yannick Tivisse (yti) <yti@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%