Odoo Help

0

1
1 Answer
1
Avatar

Emipro Technologies Pvt. Ltd.

--Emipro Technologies Pvt. Ltd.--
7752
| 7 8 10
Rajkot, Índia
--Emipro Technologies Pvt. Ltd.--

Emipro has been providing a wide range of business solutions in the domain of ERP & eCommerce. We take pride in serving 1000s of contented customers across the globe with strong roots in the US, Europe & India. Being a Certified Odoo Gold Partner in India as well as the United States, we bring our rich professional experience and unrivaled technical competence to help our customers obtain efficient and cost-effective business solutions in Odoo. With our team of 50+ Odoo Experts and highly experienced business analysts, we serve our customers which are companies of all sizes, ranging from start-ups to large enterprises. 

Our ERP Services:

  • Business Need Analysis & GAP Analysis

  • ERP Migration

  • Odoo Consultancy

  • Odoo Implementation & Customization

  • Odoo Training & Support

  • Odoo Website & eCommerce Development

  • Odoo Integration (Marketplaces, eCommerce platforms, Shipping Carriers, Payment Gateways etc.)

Our Achievements:


Reach Us:

Website: www.emiprotechnologies.com

Email: info@emiprotechnologies.com

Skype: emiprotech

Emipro Technologies Pvt. Ltd.
09/06/15 08:31

Hi,

When any method is calling from scheduler then you can not get any input inside "ids" argument. So, when ids=None then you have to set it before processing it as like below.

def send_expiry_email(self, cr, uid, ids=None, context=None):

print 'o'*200

today = datetime.datetime.today()

today = datetime.datetime.strptime(datetime.datetime.strftime(today, DF), DF)

print "DF -->> ", DF

if not ids:

    ids = self.search(cr, uid, []) #It will give you ids of all employee. But you can manage domain to get as you want.

for partner in self.browse(cr, uid, ids, context=context):

.......

....


I think you get an issue inside your code. I hope it will help you.

1 Comment
Odoo
09/06/15 09:30

Thanks Emiproo.......Works Perfectly..........I

Ask a Question
Writer
1494
Odoo
Keep Informed
1 follower(s)
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register
Odoo Training Center

Access to our eLearning platform and experience all Odoo Apps through learning videos, use cases and quizzes.

Test it now