Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
•
Invoicing (account)
• Discuss (mail) |
Lines of code | 159 |
Technical Name |
az_extended_payment_terms |
License | OPL-1 |
Website | https://dulasoft.com |
Versions | 16.0 17.0 18.0 |
Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
•
Invoicing (account)
• Discuss (mail) |
Lines of code | 159 |
Technical Name |
az_extended_payment_terms |
License | OPL-1 |
Website | https://dulasoft.com |
Versions | 16.0 17.0 18.0 |
Module overview
This module extends Odoo's standard Payment Terms functionality, allowing you to define advanced and flexible due date rules for invoices.
With this module you can:
- Define payment terms based on the first or last weekday of the month
- Define payment terms based on the next occurrence of a specific weekday after X days
- Set due dates based on a day range (X-Z) within the month, with support for end-of-month fallback
- Set due dates on the first specified day after X days, with intelligent month rollover
- Configure additional rules combining standard delays (nb_days) with the advanced options
How it works
Install AZ Extended Payment Terms module from the Odoo Apps menu.
Once the module is installed, the user can go to:
Invoicing → Configuration → Payment Terms
On the Payment Terms form view, when creating or editing a payment term, the user will see a section called Due Terms, as shown in the image:

In the Due Terms lines, thanks to this module, five new advanced options appear at the bottom of the list:
- First Weekday of the Month after N days
- Last Weekday of the Month after N days
- Next Weekday after N days
- Day X, from the 1st to X, and day Z from X+1 to Z, after N days
- First Day X after N days
These new options allow much more flexible and business-specific due date rules based on weekdays, specific days, ranges, and offsets.
Examples
-
First Weekday of the Month after N days
-
Last Weekday of the Month after N days
-
Next Weekday after N days
-
Day X, from the 1st to X, and day Z from X+1 to Z, after N days (day Z not is the last day of the month, see preview)
-
Day X, from the 1st to X, and day Z from X+1 to Z, after N days (day Z not is the last day of the month, see preview)
-
Day X, from the 1st to X, and day Z from X+1 to Z, after N days (day Z is the last day of the month)
-
First Day X after N days
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: 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 included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module