Odoo Help

Welcome!

This community 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.

1

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

By
evon_dun
on 5/14/13, 5:13 AM 1,171 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

1

Gustavo

--Gustavo--
950
| 2 1 4
Buenos Aires, Argentina
--Gustavo--

Python developer, big fan of sailing

Gustavo
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

evon_dun
on 5/15/13, 2:06 AM

http://help.openerp.com/question/18285/no-action-on-function-calling/

evon_dun
on 5/24/13, 7:36 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

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