3dad4b3cb1cb823ae6ccbf56b990012ceca61d99
This commit improves the payment terms by: - making the payment terms lines editable on-the-fly removing the need for a wizard - refactoring the computation of the payment terms - adds new demo data for payment terms - adds an example section where the user can test and preview the due dates and amount of its payment terms - adding a new parameter "Display terms on invoice". If set, the payment deadlines and respective due amounts will be detailed on invoices. The refactoring: - adds a field `months` (months to add after the invoice date) - adds a field `end_month` (if True, switch to the end of the month after having added months or days) - renames the field `day_of_the_month` to `days_after` (days to be added after the switching to the end of the month, only if `end_month` is set) - deletes the field `option` which was too restrictive - modifies the calculation of the payments terms taking into account these new fields This allows some combinations that were not possible before. Example: The French payment terms "30 jours fin de mois le 10" (which should be interpreted as "10 days after the end of the next month") can be encoded as ``` months = 1 days = 0 end_month = True days_after = 10 ``` Task id 2852814 closes odoo/odoo#91490 Related: odoo/enterprise#29661 Related: odoo/upgrade#3524 Signed-off-by: Laurent Smet <las@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%