تخطي للذهاب إلى المحتوى
أودو القائمة
  • تسجيل الدخول
  • جرب مجاناً
  • التطبيقات
    المالية
    • المحاسبة
    • فوترة
    • النفقات
    • جدول البيانات (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
حول هذا المنتدى
المساعدة

Do you really need to learn Python to change OpenERP's CSS?

اشتراك

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

لقد تم الإبلاغ عن هذا السؤال
pythonmoduledesignertemplatebootstrap
15 الردود
21606 أدوات العرض
الصورة الرمزية
Test User

Seriously, OpenERP? This has got to be the worst overall application I've ever worked with. After days of researching and trying, I'm no closer to altering the CSS than I was at the beginning. So far, there's only two options:

1) Incorrectly alter the CSS under an existing module like Web. This is be overwritten in any future update. This is a bad method. 2) Write a python module simply to add a CSS file. Are you kidding me? Writing a freaking python module to add a CSS file?

Who was in charge of this over at OpenERP? It's like everyone is sitting back and thinking of all these complicated things, but they can't get the simplest things right. No one is giving the time of day for so many things. Here's a tip, every single application I've ever worked with gives the user some kind of theme directory for adding css, js, html, etc.

So if there's a better way that is not documented other than the ridiculous expectation that all designers are going to learn python, please let me know. All I've managed to do is waste time reading tutorial after tutorial on module creation only to end up with "No handler found" error each time. Without a firm understanding of developing in python we can only copy and paste and if nothing works then we don't have anything to go off of.

3
الصورة الرمزية
إهمال
الصورة الرمزية
Géry Debongnie (ged)
أفضل إجابة

Here is what you could do:

  1. create a folder 'custom_stuff' in the addons folder.
  2. create the following files inside (see explanation later):
    • custom_stuff/
    •     __init__.py
    •     __openerp__.py
    •     view.xml
    •     custom.css
  3. Load your addon in Odoo (after restarting the server)

 

  • The file __init__.py can be empty, or load any custom python file you desire.  In your case, it can be empty
  • The file __openerp__.py could be something like https://gist.github.com/ged-odoo/ec32394b24223eac55d0 It is the description of your module, and basically just make sure that it is correctly loaded by Odoo (also, it tells odoo to load view.xml
  • view.xml should look like this: https://gist.github.com/ged-odoo/d5cfaf8451504fad61b7  It is the file telling Odoo what static resources it needs to load.  In this case, you file custom.css.  But you can add any <script> tag and include whatever js file you want

 

4
الصورة الرمزية
إهمال
Géry Debongnie (ged)

well, I can't edit my answer, so I will just add a comment instead. I wanted to say that I think that this is the proper way to customize Odoo. You can maintain your own addon (possibly with the name of your company or whatever instead of 'custom_stuff', you can include every assets you want: images/css/js on the client side (included by editing view.xml), and python code/models/controllers/... on the server side (included by importing them in the __init__.py ). This makes migrations quite easy: just need to make sure the folder is in the addons/ folder, and load it in the Settings menu. (it would be even better to add that addon in a separate folder and include it in the path, but it is slightly more advanced)

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

You are talking about OpenERP, as if it was just a simple application. "YET ANOTHER APPLICATION".

No It's an ERP Application, The most comprehensive and richer ERP, that we cannot see even in our dreams, if it was not an open source.

By respect, to the Core Team and to the OpenERP Community, and before saying anything, browse the web to see what people are doing with OpenERP.

You say that <<you have="" been="" using="" openerp="" long="" enough="" to="" see="" what="" people="" are="" using="" it="" for="">>, I do not think this is true, for the following reasons:

  • Could you tel me where is the relation between python and css?

  • You've said: Without a firm understanding of developing in python we can only copy and paste ..... Do you think that any other Application, any other ERP, or just a "Hello World" can be programmed with English or Japaneese languages?

It seems that you are totally ignoring that there is always an underlaying programming language like PYTHON, yes i've said PYTHON.

  • You talk about "complaints", the only complaint i've heard here is yours. Here we say Question.

  • just one question please: Do you know the URL of this website?

    No please, no comment, we don't need your response, i'll respond for you: HELP.OPENERP.COM, and do you know what HELP means for us? It's not a question nor a comment.

So please there are thousands of forums around us, see if you can find another place, where you can talk about ...

Sorry for my bad english.

Best regards.

3
الصورة الرمزية
إهمال
Test User
الكاتب

This is not an answer. Defending the company but providing no solution is not only offensive to users but also shows you are more interested in promoting some other agenda than actual improvement in the project. I have been using OpenERP long enough to see what people are using it for and also long enough to hear the multitude of complaints that receive no response from OpenERP SA at all.

Test User
الكاتب

The relation between python and css is that you must write a module to include css. Hence, to write a module, you need to know python. Copy and paste has nothing to do with what language the underlying application is written in. The point is that you shouldn't need to know the underlying language to add a css file. Even SAP let's you easily add css files and they are a major competitor in the proprietary market. No one is saying anything about writing anything in English or Japanese. If I had complained about not being able to write a module in COBOL you might have a point to argue against it.

Test User
الكاتب

If you have never seen a complaint here or anywhere else, you are not really looking.

Test User
الكاتب

Sorry for posting so many comments in response to your questions but I was limited on space. I don't fully understand the rest so I will leave it at that. Good day to you.

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

In short: Yes. Because any alteration done to OpenERP in the correct way should be through a module. And modules start with 2 python files, in the form of __init__.py and __openerp__.py. Then again, if you somehow feel offended by this and/or are unable to accomplish this task, in my opinion you will have 2 options: - 1: Have someone who knows how to alter the application do it for you or - 2: Don't work with it. No one is forcing you, right?

3
الصورة الرمزية
إهمال
Ludo - 21South

Please stop hijacking comments :)

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

Dear Test User,

I can't help to feel a little offended by your posts, and I don't know why you set a quite agressive tone from in the beginning. Sorry if I'm wrong about this.

You are right that it could be made simpeler to add a custom css to openerp. No discussion about that. This might be something to change in the future, but personally I don't see much of an advantage in this compared to the work to do something like this.

As for your question, yes, the one you haven't got an answer to in your oppinion, the answer is 'No', you don't need to learn python to add a custom css to openerp. Python is a huge language, you don't need to learn that. you only need add some folders and some files just like Géry Debongnie (ged) said in the first answer on this post. This can take you up to 5 minutes of work. The little changes is no work and has nothing to do with python.

If you think that you have to learn python to do this, it is like saying that you need to learn the full chinese language just to say 'hello' in chinese.

In my oppinion it just feels like you are looking for a stick to hit with. If you would have looked to openerp in total, you would know that the inheriting of modules is a enormous advantage. Ok, it is a (realy)little bit more work to add a stylesheet than just uploading one, but the advantages of this system easilly outnumber this little downside.

One more thing. I would realy appreciate that, if you would answer, that you would do it without the agressive unthertone. We are all trying to help eachother, and doing the best we can.  I can untherstand that sometimes one can get irritaded by software and computers, I realy have my part of that on a weekly basis. Just ask my mouse and keyboard :-). So I can untherstand some irritaded posts, but please don't keep doning this.  Thank you for that.

I hoped I have answered your question. For clarity, you don't need to learn the language, if the explanation of Géry Debongnie (ged) is not clear enough for you, I can untherstand that. Just ask and we will try to clarrify.

2
الصورة الرمزية
إهمال
الصورة الرمزية
Jakob Krabbe
أفضل إجابة

I know this is an old thread, but I agree with Test user... if he's still around! :-)Odoo Community is mainly a framework for skilled professionals with many years of programming and much experience.If you want to use Odoo you have to know it! :-) If you not understand any of these 47.000 threads, the videos or the talk at StackOverflow you'll need either to pay someone to code for you or choose another framework. Internet in general and Odoo in particular don't provide any help of importance for beginners. I think it's bad and wrong, but I also understand, "the boss is always right". It's life! I rest my case! :-)

1
الصورة الرمزية
إهمال
الصورة الرمزية
Thierry Godin
أفضل إجابة

You are wrong.

OpenERP is a wondeful application. You can do everything you want with it. Of course, it has a few flaws, but OpenERP team works hard to make it better every day. And the whole community brings a lot of new fonctionnalities and corrections.

OpenERP deserves spend some time on it to understand its workings, but after that, we find that the possibilities of this application are limitless.

Once you master the workings of OpenERP, error pages will be increasingly rare. Errors are often the same. It's worth learning.

Note: I do not work for OpenERP company, and I am pretty sure that many devs here do think like me.

0
الصورة الرمزية
إهمال
Test User
الكاتب

I can say it can do anything all day long but the answer is still, "You cannot update CSS without first learning python," and that is an unacceptable statement.

Thierry Godin

So again, your are wrong, I do not promote any agenda or something. I do not work for OpenERP , I do not work for any OpenERP Partner. I do use OpenERP in my company and I really enjoy it.

الصورة الرمزية
adiputra
أفضل إجابة
-3
الصورة الرمزية
إهمال
هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!

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

تسجيل
المنشورات ذات الصلة الردود أدوات العرض النشاط
create a module through interface?
python module
الصورة الرمزية
الصورة الرمزية
1
مارس 15
5156
Error In Open Erp when create new module
python module
الصورة الرمزية
0
مارس 15
4767
Database for my module not created تم الحل
python module database
الصورة الرمزية
الصورة الرمزية
الصورة الرمزية
الصورة الرمزية
4
أبريل 24
3443
Template not updating after editing in website builder
module template website_builder
الصورة الرمزية
الصورة الرمزية
الصورة الرمزية
الصورة الرمزية
3
مارس 25
11386
Gantt planning
python module odoo
الصورة الرمزية
0
أبريل 19
3828
المجتمع
  • دروس
  • التوثيق
  • المنتدى
مصدر مفتوح
  • تحميل
  • جيت هاب "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