Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
2603 Vizualizări

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

Imagine profil
Abandonează
Cel mai bun răspuns

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


Imagine profil
Abandonează
Autor Cel mai bun răspuns

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

Thanks for your answer!

Imagine profil
Abandonează