Odoo Hilfe

0

0
5 Answers
1
Avatar

Temur

--Temur--

3297
| 7 5 9
Tbilisi, Georgien
--Temur--
Programmer
Temur
27.10.15, 05:11

per your description of module structure, __init__.py can NOT be empty, it should contain following line:

import  ir_cron

(add this line to __init__.py, also make sure you restart odoo after this change)

0
Fabien REMY
27.10.15, 05:26

Hi Temur,

You're right ! I've tried to put from . import ir_cron in my __init__.py but the result was the same.

Thank you for your reactivity (again) ! :-)


1 Kommentar
Thinkwell Designs, Dave Burkholder
27.10.15, 07:33

For the "from . import ir_cron" syntax to work, I believe you need to enable absolute imports first, by "from __future__ import absolute_import" and then do your absolute import of "from . import ir_cron".

Fragen Sie
Writer
Keep Informed
1 Verfolger
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