Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
2566 Zobrazení

Any ideas if this is possible with default vanilla installation?

When creating a sales order I am able to set an expiration date, when this sales order is approved it is sent to projects under the respective project but not the expiration date.

So my question I:

can I make it so the expiration date is the same as the deadline in projects?


Thanks

Avatar
Zrušit
Nejlepší odpověď

Hello German,

I think,Your question is second time as I told you previously.

You can override date_deadline field of project.task model.

Please go through below code which will help.

date_deadline = fields.Date(related="sale_line_id.validity_date",string='Deadline', index=True, copy=False, store=True)
Hope it will help.
Thanks.




Email: odoo@aktivsoftware.com

Skype: kalpeshmaheshwari


Avatar
Zrušit
Autor Nejlepší odpověď

Do I need to SSH to override a field in a model?

Thanks for your answer!

Avatar
Zrušit