Community mailing list archives

community@mail.odoo.com

Re: New Module

by
lakshay2608
- 04/23/2015 08:26:00
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 <vora.jay@serpentcs.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.

Better if you go through the online training, or the doc.odoo.com.

Thanks.

On Thu, Apr 23, 2015 at 4:42 PM, Lakshay Rambaccus <lakshay2608@gmail.com> wrote:
Unfortunately, I am new to Odoo. I don't know about any methods or function fields. Can you please elaborate ? Thanks

On Thu, Apr 23, 2015 at 7:58 AM, Jay Vora (SerpentCS) <vora.jay@serpentcs.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.

Regards,
Jay Vora.
Serpent Consulting Services Pvt Ltd.


-------- Original Message --------
From:Lakshay Rambaccus <lakshay2608@gmail.com>
Sent:Thu, 23 Apr 2015 02:47:30 +0530
To:Community <community@mail.odoo.com>
Subject:New Module

Hello 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)

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe




--
The Splendid journey of 2 years in Numbers
---
Regards,
Jay Vora,
Managing Director,
<img src="cid:part1.09000700.05080805@serpentcs.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 - 9879354457
Twitter: jaynvora
Skype: jaynvora
Blog : http://jayvora.blogspot.com

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe