Monday 24 December 2012

Use of lambda in OpenERP 7.0


                                                                                                                    Pinakin Nayi
                                                                                                                    OpenERP , Gandhinagar, India
                                                                                                                   
Different use of lambda in OpenERP 7.0
In OpenERP we are using a lambda function, here i described some of function that all are normally use, that may be useful to you also.
- Map your ids using lambda :
    ids = map(lambda x: x[0], self.cr.fetchall())

- Get date using lambda
    'date2': lambda *a: time.strftime('%Y-%m-%d')
   
- Get Company id using lambda
    'company_id': lambda self,cr,uid,c:    
    self.pool.get('res.users').browse(cr, uid, uid, c).company_id.id,
   
- Get user id using lambda
    'user_id': lambda self, cr, uid, context=None: uid,
   
- Get start and end date using lambda
    'date_start': lambda *a: time.strftime('%Y-01-01'),
    'date_stop': lambda *a: time.strftime('%Y-12-31'),
   
- Get Currency id using lambda
    'currency_id': lambda self,cr,uid,c:self.pool.get('res.users').browse(cr, uid, uid,
c).company_id.currency_id.id,
   
- Get month and year using lambda
    'month': lambda *a: time.gmtime()[1],
    'year': lambda *a: time.gmtime()[0],
   
    'month': lambda *a: datetime.date.today().month,
    'year': lambda *a: datetime.date.today().year,

...Enjoy...

Wednesday 12 December 2012

Celebrate 12/12/12 12:12:12

I just passed the moment in OpenERP, Gandhinagar. So, i am so excite to share with all of you.
Just about to celebrate 12/12/12 12:12:12

Celebrating 12/12/12 12:12:12 with OpenERP..





Monday 10 December 2012

5 steps to configure new Employee in OpenERP 7.0


                                                                                                                         Pinakin Nayi
                                                                                                                         OpenERP, Gandhinagar,
                                                                                                                         India.
                                                                                                                         nayi.pinakin@gmail.com


Only 5 steps with OpenERP 7.0.
Lets,
Complete process of new Employee in OpenERP. Employee Payroll complete process in Openerp.

5 Steps to complete process :

Step 1. Create Employee

Step 2. Create Bank Account

Step 3. Create Salary Rule

Step 4. Salary Structure

Step 5. Employee Payslip.



How to work with thunderbird and OpenERP V 7.0


                                                                                                                       Pinakin Nayi
                                                                                                                       OpenERP, Gandhinagar,
                                                                                                                       India.
                                                                                                                       nayi.pinakin@gmail.com

Thunderbird what a cool idea.
Mozilla Thunderbird lets you manage multiple POP and IMAP email accounts and reads RSS feeds.
OpenERP provides such a facility which makes you able work with direct Thunderbird. 

I will try to explain how its useful in OpenERP.
- With the use of thunderbird you can direct push a particular mail to particular contacts in OpenERP.
- You can manage your leads, and lots of thing with OpenERP7.

Here i described video that will showing you how to work with OpenERP thunderbird plugin.
Here , How to work with thunderbird and OpenERP V 7.0.


...Enjoy...

Work with different languages in OpenERP

                                                                                                                          Pinakin Nayi
                                                                                                                          OpenERP, Gandhinagar,
                                                                                                                          nayi.pinakin@gmail.com

Work with different languages

Working with different languages in OpenERP.  Here i tried to show you how we configure languages as well as translated term. OpenERP default provides translated term but which term you define dynamically enter that you have to translated value.

Here i tried to define video that will show you how to define term.
Work with different languages in OpenERP.

                                                                                                                       


Thursday 6 December 2012

Install All Modules at once in OpenERP 7.0


                                                                                                           Pinakin Nayi
                                                                                                           OpenERP , Gandhinagar,India.
                                                                                                           nayi.pinakin@gmail.com

How to install all modules at once in OpenERP 7.0?
Hello to all,
When we use OpenERP than sometimes its needed to install all modules without selecting one by one and install it.  OpenERP 7 gives you facility so, you can install all modules at once. I think its more useful, am i right?
Here i described some of steps which make 

Step 1 :



Step 2 :



Step 3 :



...Enjoy...