تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
4994 أدوات العرض

Hi,

I've discoverd that i can create my own module (with this video : https://www.youtube.com/watch?v=RrXrxuAKFRY).

But when i try to create my own form view, i doesn't get it created. I just made like the man do in the video (approximatively after 3:00) but i don't get my own form view in the list.

The only difference between the vid and my module are the field of the table : he got a char and i got a many2one pointing on res.partner

Somebody got an idea please ?

Thanks by advance

الصورة الرمزية
إهمال

Can you provide us the code (both python and XML?) and the error message, if any?

الكاتب

I don't have code nothing. I just make like in the video.

أفضل إجابة

Did you register your form view in the __openerp__.py file?  Maybe your module is referencing the other form from the video, so change the 'data': 'your_form_view.xml'. Also remember to import your class file in the __init__.py file

الصورة الرمزية
إهمال
الكاتب أفضل إجابة

I have code nothing. I've just made like in the video and he doesn't tell me to code something.

And in the "C:\Program Files (x86)\OpenERP 7.0-20140618-231101\Server\server\openerp\addons" i don't see the plugin that i've created.

___________________________

EDIT : Problem solved, i've create the form view by myself ^^

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
نوفمبر 24
1599
1
أكتوبر 24
1516
1
سبتمبر 21
9376
1
يناير 24
16989
0
مارس 15
3275