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:
- ลูกค้าสัมพันธ์
- e-Commerce
- ระบบบัญชี
- สินค้าคงคลัง
- PoS
- Project
- MRP
คำถามนี้ถูกตั้งค่าสถานะ
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/
สนุกกับการพูดคุยนี้ใช่ไหม? เข้าร่วมเลย!
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อRelated Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
---|---|---|---|---|
|
0
ธ.ค. 15
|
3521 | ||
|
0
มี.ค. 15
|
3589 | ||
|
0
มี.ค. 15
|
4007 | ||
|
0
มี.ค. 15
|
3507 | ||
|
1
ต.ค. 15
|
4868 |