Community mailing list archives
Re: Need helpby
there you have exactly such questions neatly explained
Didn’t get it clearly if what you are trying to do is ether to:
- auto set contract expiry date, I suggest using the following module:
- Or if what’s required is to set start & end date per product in contract you can check this rental module which would help as a guideline to create service product with duration, I used it with some enhancements for service contracts by creating contract template so when I do SO with service products that has pre-set service duration as in rental module it recalculate service end date, to activate service just need to set start date as in super calendar module.
just a suggestion to get more clearer answers from community please mention version used and usage scenario so you would get examples of usable computed field based on api used.
Welcome to odoo community
Mobile: +965 5151 5913 | Telephone: +965 5548 9013
"Make the world a better place through us."
That's the concept of functional field in odoo.
Refer existing modules with compute option of field definition.
On Jul 22, 2016 8:12 PM, "Nisrine Machrafi" <firstname.lastname@example.org> wrote:
Hello I am a beginner in Odoo and I have a few questions I hope to have your help. I am trying to develop a module for rent of nautical equipment, to establish a contract between customer and agency on a material , I need the price of the material in the contract that is where is my first problem . In the contract , I have a start date and an end date , I need the number of days is calculated automatically
Thank you so much in advance i hope that my question was clear
hopping to have your advice and help