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
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Księgowość
- Zapasy
- PoS
- Project
- MRP
To pytanie dostało ostrzeżenie
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
http://help.openerp.com/question/18285/no-action-on-function-calling/
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
|
0
gru 15
|
3520 | ||
|
0
mar 15
|
3579 | ||
|
0
mar 15
|
4005 | ||
|
0
mar 15
|
3507 | ||
|
1
paź 15
|
4868 |