Community mailing list archives
Re: New Moduleby
Thanks for replying. About the trigger. Where must i create it? and how to create it ? Thanking you in advance.
On Thu, Apr 23, 2015 at 3:23 PM, Jay Vora <email@example.com> wrote:
Lakshay,You've put the fields on display(view). If you have a need to do any calc on the fields, you will have to have a trigger(onchange, button call, automated call) so that the fields on display will do some calculation.The methods are a way to manage the server side computation of the fields.Thanks.On Thu, Apr 23, 2015 at 4:42 PM, Lakshay Rambaccus <firstname.lastname@example.org> wrote:Unfortunately, I am new to Odoo. I don't know about any methods or function fields. Can you please elaborate ? ThanksOn Thu, Apr 23, 2015 at 7:58 AM, Jay Vora (SerpentCS) <email@example.com> wrote:Hi,
You may use function fields to calculate them, you may use button call and that method will read self.fieldname.
Do you know methods?
As an option, there is a self-paced Online #odoo beginner to expert level in-depth technical training by #SerpentCS
https://t.co/yxjyTemmR5. Coupon code SCS40 for 40% discount.
Serpent Consulting Services Pvt Ltd.
-------- Original Message --------
From:Lakshay Rambaccus <firstname.lastname@example.org>
Sent:Thu, 23 Apr 2015 02:47:30 +0530
Subject:New ModuleHello all,
I have successfully created a new module in Odoo 8.I have also been able to set up a few fields which are accompanied by their respective textfields. I want to know how i can retrieve values from these newly created textfields so that i can use them in python functions (For example: calculate bonus)--The Splendid journey of 2 years in Numbers---
<img src="cid:email@example.com" style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
Serpent Consulting Services Pvt. Ltd.
Web : http://www.serpentcs.com
Mobile : 91 - 9879354457Twitter: jaynvora
Blog : http://jayvora.blogspot.com