تخطي للذهاب إلى المحتوى
أودو القائمة
  • تسجيل الدخول
  • جرب مجاناً
  • التطبيقات
    المالية
    • المحاسبة
    • فوترة
    • النفقات
    • جدول البيانات (BI)
    • المستندات
    • توقيع إلكتروني
    المبيعات
    • إدارة علاقات العملاء
    • المبيعات
    • نقطة البيع للمتاجر
    • نقطة البيع للمطاعم
    • الاشتراكات
    • تأجير
    المواقع الإلكترونية
    • أداة بناء المواقع الإلكترونية
    • متاجر إلكترونية
    • مدونة
    • المنتدى
    • دردشة مباشرة
    • التعليم الإلكتروني
    سلسلة التوريد
    • المستودعات
    • التصنيع
    • إدارة دورة حياة المنتج
    • المشتريات
    • الصيانة
    • الجودة
    الموارد البشرية
    • موظفون
    • التوظيف
    • إجازة عمل
    • التقييمات
    • الإحالات
    • تطبيق الأسطول
    التسويق
    • التسويق الإجتماعي
    • التسويق عبر البريد الإلكتروني
    • التسويق عبر الرسائل النصية
    • فعاليات
    • أتمتة التسويق
    • الاستطلاعات
    الخدمات
    • المشاريع
    • الجداول الزمنية
    • الخدمة الميدانية
    • مكتب المساعدة
    • التخطيط
    • مواعيد
    اﻹنتاجية
    • مناقشة
    • الموافقات
    • إنترنت الأشياء "IoT"
    • بروتوكول ربط المحادثات الصوتية عبر الإنترنت
    • المعرفة
    • WhatsApp
    التطبيقات الخارجية ستوديو أودو منصة أودو السحابية
  • قطاعات الأعمال
    البيع بالتجزئة
    • متجر كتب
    • متجر ملابس
    • متجر أثاث
    • متجر بقالة
    • متجر معدات
    • متجر ألعاب
    الطعام والضيافة
    • بار وحانة
    • المطعم
    • مطعم للوجبات السريعة
    • نزل للضيوف
    • موزّع مشروبات
    • فندق
    العقارات
    • وكالة عقارات
    • شركة هندسة معمارية
    • البناء
    • إدارة العقارات
    • العناية بالحدائق
    • اتحاد مُلاّك العقارات
    استشارة
    • مؤسسة محاسبية
    • شريك أودو
    • وكالة تسويقية
    • منشأة قانونية
    • استقطاب المواهب
    • التدقيق والتوثيق
    التصنيع
    • الأقمشة
    • معدني
    • الأثاث
    • الطعام
    • مصنع خمور
    • هدايا الشركات
    الصحة واللياقة البدنية
    • نادي رياضي
    • متجر نظارات
    • مركز لياقة بدنية
    • الممارسون الصحيون
    • صيدلية
    • صالون تصفيف الشعر
    التجارة
    • عامل صيانة
    • الأجهزة والمعدات التقنية ودعمها
    • أنظمة الطاقة الشمسية
    • صانع أحذية
    • خدمات التنظيف
    • خدمات التكييف (HVAC)
    غير ذلك
    • منظمة غير ربحية
    • وكالة بيئية
    • تأجير لوحات إعلانية
    • تصوير
    • تأجير دراجات
    • بائع وسيط للبرمجيات
    تصفح كافة قطاعات الأعمال
  • مجتمع أودو
    تعلم
    • دروس
    • التوثيق
    • شهادات
    • التدريب
    • مدونة
    • بودكاست
    قم بتعزيز التعليم
    • برنامج تعليم
    • Scale UP! لعبة الأعمال
    • قم بزيارة أودو
    احصل على البرنامج
    • تحميل
    • قارنْ الإصدارات
    • إطلاق
    تعاون
    • جيت هاب "Github"
    • المنتدى
    • فعاليات
    • الترجمات
    • كنْ شريكاً
    • خدمات الشركاء
    • سجل مكتب المحاسبة الخاص بك
    احصل على الخدمات
    • اعثر على شريك
    • اعثر على محاسب
    • قابل أحد مرشدي الأعمال
    • خدمات التنفيذ
    • مراجع العملاء
    • الدعم
    • الترقيات
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    الحصول على عرض توضيحي
  • الأسعار
  • المساعدة

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • إدارة علاقات العملاء
  • e-Commerce
  • المحاسبة
  • المخزون
  • PoS
  • المشروع
  • MRP
All apps
يجب أن تكون مسجلاً حتى تتفاعل مع المجتمع.
كافة المنشورات الأفراد الشارات
علامات التصنيف (عرض الكل)
odoo accounting v14 pos v15
حول هذا المنتدى
يجب أن تكون مسجلاً حتى تتفاعل مع المجتمع.
كافة المنشورات الأفراد الشارات
علامات التصنيف (عرض الكل)
odoo accounting v14 pos v15
حول هذا المنتدى
المساعدة

How to install and properly debug two versions of openerp in Ubuntu?

اشتراك

تسلم الإشعارات عندما يكون هناك نشاط في هذا المنشور

لقد تم الإبلاغ عن هذا السؤال
v7openerpdebugging
3 الردود
8106 أدوات العرض
الصورة الرمزية
Alexei R. Acosta

Hello I need to install and properly debug openerp v6.1 and openerp v7.0 in Ubuntu. If I install just one version (entering to downloaded file with latest code source and running in console python setup.py install), its libraries are added to python libraries, and I can debug perfectly using Pycharm. But if I install a second version, this one overwrite the conf file. I need to install both versions and be able to debug, because I'm developing in both versions.

Any help, thanks in advanced

Regards.

0
الصورة الرمزية
إهمال
الصورة الرمزية
Med Said BARA
أفضل إجابة

Install them in different folders, and change the port of the second instance (other than the default port 8069).

Response Added after comment.

let's take an example, assuming that you followed the steps described here; assuming also that Postgres is installed.

1- When you reach the step "move to the install directory", create the directory name according to your version (e.g mkdir /opt/openerp/v7 and mkdir /opt/openerp/v6.1) and continue to the next step ...

2- When creating the openerp-server.conf (you can rename it according to the openerp version) or you can use the same name but when copying it to the /etc/ folder , copy it in a subfolder ( /etc//V6.1 or /etc/V7 ).

3- Do the same thing for the openerp-server-log (put them in two separate subfolder under ./var/log/)

3- The Last step is to create a Boot Script under /etc/init.d/ for each instance (Look how to do it here at step 7:

Edit the scripts, and modify the lines related to the paths to the DAEMON, CONFIG, and LOGFILE, you can also choose different names for each running instance (e.g openerp-server7 and openerp-server61)

Don't forget to change the port of the second instance !!!

And remember:

The Two (or more) instances of openERP must be installed in different folders, and pointing each one to different openerp-server.conf, openerp-server.log, and init script files.

0
الصورة الرمزية
إهمال
Alexei R. Acosta
الكاتب

Thanks for your answer. But like I said, when I install the second version (v7), I'm not able to run the other version. In the home directory is created the openerp_serverrc file, here is where I configure db_user, db_host etc, and the problem is that both installed versions use this file, and obviously that's wrong. How can we create two files, allowing to execute properly openerp-server script file, located in the directory owned to each openerp version inside for example in my case:/usr/local/lib/python2.7/dist-packages/openerp-6.1_1-py2.7.egg/EGG-INFO/scripts. Any help, thanks in advanced

الصورة الرمزية
Simplify it!
أفضل إجابة

Go to openerp/tools/config.py Look for

        if os.name == 'nt':
            rcfilepath = os.path.join(os.path.abspath(os.path.dirname(sys.argv[0])), 'openerp-server.conf')
        else:
            rcfilepath = os.path.expanduser('~/.openerp_serverrc8')

And change the name of the file. In my case i'm using openerp_serverrc8 for v8

0
الصورة الرمزية
إهمال
Alexei R. Acosta
الكاتب

I tried your solution man, but I had the same problem. When I try to debug the first installation, its config is overwritten with the last one (v7).

الصورة الرمزية
Martin
أفضل إجابة

Your immediate answer is virtualenv (and virtualenvwrapper to make it even easier). Here's another good tutorial.

However, the sanest thing you can do as a developer is to use full machine virtualization. VMWare, VirtualBox, Xen, KVM and others all make it ridiculously easy. I have dozens of 8 - 20Gb virtual machines on my hard disk. Windows XP, Windows 7, Tail and many, many different installations of Ubuntu with different editions of OpenERP, Joomla, WordPress and so on.

Any experimentation I need to do, I start up a VM, mess around fearlessly, shovel anything I need to keep out to GitHub and kill it when I'm done.

0
الصورة الرمزية
إهمال
Alexei R. Acosta
الكاتب

Yeah man I were thinking do something like that using debootstrap, which seems to be useful for software testing without overwrite or damage host OS.

Martin

Cool stuff. I had not heard about debootstrap. Thanks for the tip, but I doubt if I'll ever use it. Beginning with KVM a few years ago totally changed the way I work. One day I'll set up my own Apache CloudStack. In the meantime, I've rented a space from http://iwStack.com/. Cheap as dirt: A KVM instance with 1Gb memory, 2 vCPUs and 10Gb disk would cost you $0.01 per hour, for the times you used it. They do want $40 initial credit, but that would last you half a year if you ran it full-time. So good I made a video about it; https://www.youtube.com/watch?v=GPC1fAigDbY&feature=youtu.be

Alexei R. Acosta
الكاتب

Cool stuff too.

هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!

أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!

تسجيل
المنشورات ذات الصلة الردود أدوات العرض النشاط
OpenERP Installation modules
v7 openerp
الصورة الرمزية
الصورة الرمزية
2
مارس 15
4691
2 beginner questions about function(fields_view_get)
v7 openerp fields_view_get
الصورة الرمزية
الصورة الرمزية
1
مارس 15
8024
How to access OpenERP v7 via a browser on different pc's تم الحل
webclient v7 access openerp
الصورة الرمزية
الصورة الرمزية
1
فبراير 24
12839
How can i use user wise smtp account?
email smtp v7 openerp
الصورة الرمزية
الصورة الرمزية
الصورة الرمزية
2
مارس 15
11144
Developer Mode Restriotions
v7 openerp mode developer
الصورة الرمزية
الصورة الرمزية
1
مارس 15
8387
المجتمع
  • دروس
  • التوثيق
  • المنتدى
مصدر مفتوح
  • تحميل
  • جيت هاب "Github"
  • المشغل الآلي رنبوت
  • الترجمات
خدماتنا
  • استضافة أودو إس إتش
  • الدعم
  • الترقية
  • التطويرات المخصصة
  • التعليم
  • اعثر على محاسب
  • اعثر على شريك
  • كنْ شريكاً
معلومات عنا
  • شركتنا
  • أصول العلامة التجارية
  • اتصلْ بنا
  • الوظائف
  • فعاليات
  • بودكاست
  • مدونة
  • عملاء
  • قانوني • الخصوصية
  • الحماية
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

أودو هو عبارة عن مجموعة من تطبيقات الأعمال مفتوحة المصدر التي تغطي جميع احتياجات شركتك، مثل: إدارة علاقات العملاء والتجارة الإلكترونية والمحاسبة والمخزون ونقاط البيع وإدارة المشاريع وما إلى ذلك.

ما يجعل من أودو مميزاً هو هدفه بأن يكون سهل الاستخدام للغاية ومتكاملاً تمامًا في الوقت ذاته.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now