Community mailing list archives
RE: Due Date to skip Weekend and/or Public Holidaysby
Not aware of such module but you can probably use calendar https://docs.python.org/2/library/calendar.html to implement such logic.
We have used the calendar library to propose a month-end date when we extended the payment term object before: https://github.com/rfhk/odoo8.0-extra-addons/blob/master/account_payment_term/account_payment_term.py#L83
From: Kitti U. [mailto:firstname.lastname@example.org]
Sent: Tuesday, August 18, 2015 1:09 PM
To: Community <email@example.com>
Subject: Due Date to skip Weekend and/or Public Holidays
Wondering if there are modules that extend the Payment Term, to skip over holidays?
For example, Payment Term = 30 days make the due date fall on Sunday, then it should change to Monday.