Allow adding fees on each product, including direct fees and nested fees.
Support computing supplementary fees.
Add the Compute Supplementary Fees to the Sales order (SO). After pressing this button, the system will find and calculate all the fees associating with all the products of the SO.
When the SO is confirmed, the system will check if the supplementary fee has been added or not. If not, the system will show a warning so that the user can confirm the calculation of the supplementary fee and add it to the order.
On the product view, at the Fee Definitions tab, press Add a line to add the fee products applied to this product.
3. Sell a product with supplementary fees
When you create a quotation, press the Compute Supplementary Fees button to calculate all the fees for the sales order's product.
All the applied fees will be displayed in the Product Fees section of the quotation you send to the customer. You can also add, edit or delete the fees applied to the sales order.
When you confirm the quotation, if the supplementary fee hasn't been calculated yet, the system will show a warning so that you can confirm if you want to calculate the supplementary fee for the sales order or not.
This software and associated files (the "Software") may only be
(executed, modified, executed after modifications) if you have
valid license from the authors, typically via Odoo Apps,
or if you
received a written agreement from the authors of the
Software (see the
You may develop Odoo modules that use the Software as a library
by depending on it, importing it and using its
copying any source code or material from the
Software. You may distribute
those modules under the license of your
choice, provided that this
is compatible with the terms of
the Odoo Proprietary License (For
LGPL, MIT, or proprietary
licenses similar to this one).
It is forbidden to publish, distribute, sublicense, or sell
copies of the
Software or modified copies of the Software.
The above copyright notice and this permission notice must be
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT
AUTHORS OR COPYRIGHT HOLDERS
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN
ACTION OF CONTRACT, TORT OR OTHERWISE,
FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE