I want show sales orders in tree view current_date + 4 days will be red

Asked by KAKA1.2

I want show sales orders in tree view date_planned > current_date + 4 days will be red. what can i do for this .I put current_date + 4 it is not working

Question information

Language:
English Edit question
Status:
Solved
For:
Odoo Addons (MOVED TO GITHUB) Edit question
Assignee:
No assignee Edit question
Solved by:
KAKA1.2
Solved:
Last query:
Last reply:
Revision history for this message
Vinay Rana (OpenERP) (vra-openerp) said :
#1

Hello Satheesh,

You need to override fields_view_get function.You can check this for reference in account_move_line.py line 668 approximately.

Hope this will help you.
Thanks.

Revision history for this message
KAKA1.2 (satheesh) said :
#2

Thank you for valuable information..

I found this functionality in account_move_line.py , I wrote function fields_view_get in sale.order .

Where will call this "fields_view_get" function ?

Can you please help me?

Revision history for this message
Vinay Rana (OpenERP) (vra-openerp) said :
#3

Hello Satheesh,

You need not worry regarding calling this function.It will called it self, When the action(view action) is called.The related view for displaying fields are called field view get function.

Hope this will help you.
Thanks.

Revision history for this message
KAKA1.2 (satheesh) said :
#4

Thank you for your valuable information..
My problem solved