Odoo Help


How to check whether its been a month to invoice date?

on 5/14/13, 5:13 AM 1,733 views

I want to make a function that can check if the date of invoice is a month or more months older? Do I need to specify another variable or date? how can I do that?? Also if I make this function work in background? Please help it is really urgent



| 2 2 4
Buenos Aires, Argentina

Python developer, big fan of sailing

On 5/14/13, 5:11 PM

You need to develop a module that creates a calculated function attribute on the account.invoice model. That function should check the invoice date field and substract it from today date. It is not a big deal to do that

I just want that syntax to work with date i searched a lot and tried few but there is no result, i tried with timedelta but it gives error. pls help

on 5/15/13, 2:06 AM


on 5/24/13, 7:36 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 5/14/13, 5:13 AM
Seen: 1733 times
Last updated: 3/16/15, 8:10 AM