Giter Site home page Giter Site logo

openat / odoo_v8.0 Goto Github PK

View Code? Open in Web Editor NEW
6.0 6.0 8.0 53.36 MB

odoo Version 8.0

Shell 0.39% Python 1.46% Nginx 0.02% CSS 1.05% JavaScript 95.74% HTML 1.28% PHP 0.02% Haxe 0.01% Nix 0.01% ABAP 0.01% ActionScript 0.01% Ada 0.01% Assembly 0.01% AutoHotkey 0.01% C++ 0.01% Cirru 0.01% Clojure 0.01% COBOL 0.01% CoffeeScript 0.01% ColdFusion 0.01%

odoo_v8.0's People

Contributors

michaelkarrer81 avatar winston6071 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

odoo_v8.0's Issues

Check / Change php5-fpm from ip to socket

Make sure PHP-FPM is listening on unix socket and not on IP!

/etc/php5/fpm/pool.d/www.conf

...
; The address on which to accept FastCGI requests.
; Valid syntaxes are:
; 'ip.add.re.ss:port' - to listen on a TCP socket to a specific address on
; a specific port;
; 'port' - to listen on a TCP socket to all addresses on a
; specific port;
; '/path/to/unix/socket' - to listen on a unix socket.
; Note: This value is mandatory.
;listen = 127.0.0.1:9000
listen = /var/run/php5-fpm.sock
...

Simple Checkout finish into module

code am pfotdemo server
/addons/website_sale/controllers/main.py
oder mail andi 25. feb.
FEHLER: das mal was falsches im korb ist.....
derzeit ist der code mit product.product, deshalb müsste man dann beim linken die ID der Produktvariante nehmen....
oder man baut den code auf product.template um

website_shop_donate product.template extensions and custom snippets for donations

To make donations easier and the shop over all more usable for donations we sould need the following options for products:

  • hide price checkbox (price is only visible in the product page but not at the shop overview pages)
  • hide quantity checkbox
  • hide payment box in product page (java script that hides the pay box and that makes tha image and text full width)
  • custom price checkbox(makes it possible to set your own price for a product in the webshop - makes sence for donatiosn - adds an other field that is pre filled with the default product price - will be used in the sales order instead of the product price.)
  • simple checkout checkbox (replaces the button of the products with an other route that jumps directly to the checkout form)
  • recurring intervall price per year field and intervall selection field (selection box to allow monthly, quarterly or yearly payments :) - have to lookup what is already possible with odoo by default) - this intervall can then be set when selecting the donate form
  • donate product default record - add a default product for standard donations - can be recurring
  • donate form snipped - drag and drop snippet to directly enter data add the default donation product to the cart and redirect to the checkout page
  • donate button snipped - basically same as the snippet - adds the default donation product to the cart and redirects to the checkout page
  • translation and better wording for the entire shop (en und de)

Add an integrated Mail server (MTA + IMAP)

Add a local MTA and IMAP Server to the mix so that openerp will work out of the box - the mta also serves as an mail relay delivering all other e-mails to the default e-mail server of the company.

Because of this we would be independend from any custommers e-mail server

  • rewrite user + adressing to normal mail addresses (like [email protected] to [email protected] and send a copy to regular mail sever
  • add catchall mailboxes for project, service ...

Website Mobile Responsiveness error in Microsoft phone or iexplore scales 100% of image

Testing:
DO: Login as Admin
DO: Use Big Picture Snippet
DO: add full hd image as picture
DO: save and test it with chrome --> WORKS fullscreen, mobile less 800px aso... android, mac, works ...
DO: Iexplore smaller than 800 px till it switches to mobile menü .... page scales immediately to 100%
DO: Windows mobile phone --> same problem mobile version does not show correctly

Make python-ldap install work

add dependency

apt-get install libldap2-dev libsasl2-dev

to setupscript to make building python-ldap possible
(pip install python-ldap==2.4.15)

ermöglichen von einer zweiten installation auf einem Server mit demselben branch namen

umbauen des abbruchs mit ls-remote wenn es schon eine branch mit dem damen geben sollte
WARNING und EXIT 2 weg

if [ ! git ls-remote ${SOURCE_REPO} | grep -sw "${TARGET_BRANCH}" 2>&1>/dev/null]; then
    git branch ${TARGET_BRANCH} >> $INSTANCE_SETUPLOG
else
    echo -e "git branch not done because remote already exists your creating a new DEMO site of an existing branch" | tee -a  ${INSTANCE_SETUPLOG}
fi

PIL used not Pillow and no JPG support

Nur als reminder:

apt-get remove pil pillow -y
pip uninstall pil
pip uninstall pillow
apt-get install libjpeg-dev libfreetype6-dev zlib1g-dev libtiff4 libtiff4-dev python-libtiff
pip install Pillow==2.5.1 --upgrade

job offers email alias cannot be catchall

  • Problem:
    Bei einem Job Angebot kann keine catchall adresse benutzt werden wie jobs@.....
  1. einloggen als Admin
  2. Anlegen eines "Job Offers" " personal" "neue Arbeitsstelle"
    Anlegen Job Offer 1
    eintragen Alias Adresse beim Job Angebot --> [email protected]
  3. Speichern
  4. Anlegen eines "Job Offers" " personal" "neue Arbeitsstelle"
    Anlegen Job Offer 2
    eintragen Alias Adresse beim Job Angebot --> [email protected]
  5. Speichern
  • Erwartung:
    email adresse sollte bei beiden job angeboten gleich sein
  • Ergebnis:
    emailadresse wird jeweils mit einer nummer am ende erweitert ist ist nicht möglich
    eine catchall adresse zu verwenden, am ende der adresse wird eine nummer hinzugefügt z.B [email protected]

TODO:
Überprüfen ob das ein Bug ist oder eine Konfigurationseinstellung

use updated URL for wkhtmltopdf downloads

Hello,

wkhtmltopdf has moved the downloads provider from SourceForge to gna.org. As mentioned in the linked message, all earlier downloads have been removed from SourceForge and you are strongly advised to migrate to the new URLs. The following files in your repository will need to be updated:

  • TOOLS/odoo-tools.sh

It is recommended to either subscribe to the mailing list or Twitter feed to receive updates on new releases and further changes.

Thanks,
wkhtmltopdf maintainer

Debugging with PyCharm broken because of gevent

In openerp/init.py there is a line

if sys.modules.get("gevent") is not None:
    evented = True

Because of this if pycharm debugger starts the server with gevent wich make debugging in pycharm impossible.

Solution:
Create our own odoo start script that will set openerp.evented to False ;) Learnd from Ascone

Ogone Payment Provider customization

After Installing Payment Provider Ogone:

  1. The Payment Provider Logo is Ogone only, this makes customers not trust the payment option
    we have to show well known KreditCard Logos or EPS Logo
  2. The Paypage of the Provider can be customized a test template has been created there
    http://portal.pfotenhilfe.at/website_pfoh/static/src/js/viveum_template.html
  3. We would like to achieve that the credit card or the payment method passed to ogone is already chosen.

TEST for 1. :
not done YET
XML Paramter for Aquire Button

INFO:
odoo/addons/payment_ogone/views/ogone.xml --> logo and fields

TEST for Point 2. :
test at the payment provider template button xml

template for the aquire button customization

RESULT:
xml error after implementing this line above

INFO:
odoo/addons/payment_ogone/models/ogone.py
140: class ogone_form_generate_values(
odoo/addons/payment_ogone/views/ogone.xml --> logo and fields

TEST for Point 3. :
duplicate the payment provider and change the name to the Payment Method
and use these parameters "Values --> can be found in the documentation of Viveum/Ogone
Login to Viveum.at --> testaccount verein
Support/integration and user manuals/Viveum Advanced e-Commerce integration guide

RESULT:
Error in XML View

INFO:
odoo/addons/payment_ogone/models/ogone.py
140: class ogone_form_generate_values(
odoo/addons/payment_ogone/views/ogone.xml --> logo and fields

Replace the word Instance with branch for setup-tools.sh and everywhere else

instance is a very missleading word since what was an instance earlier is a "Database" now...

Instance now means codebase - or "branch of github repo odoo_v8.0" therefore we should rename it in setup-tools.sh and in the readme to "branch"

so

setup-tools.sh setup

would change to:

setup-tools.sh newbranch

Allow non root Linux User to restart the odoo service, etherpad and owncloud

Setupscript should add a new file "username" in folder /etc/sudoers.d/ with content:

"username"    ALL=(root) NOPASSWD: /usr/bin/service "servicename" restart, /usr/bin/service "servicename" stop, /usr/bin/service "servicename" start

(for odoo, owncloud and etherpad)

So that the non privileged user can restart the service easily without password:

sudo service "servicename" restart

Forum Insert Image

Goal:
insert image in a Question

Test:
click insert image button in the CKEdit Question or Answer dialog, Popup with a standard CK Editor window appear for inserting link to a picture

wanted solution:
insert image button calls the "image db overview" windows from the Website editor which than can be used to upload or link pictures.

website_main_menu - Extensions for the Main Navigation of odoo websites

Write a better main menu:

  • Sticky on Top
  • Reserve Place for Logo

STICKY ON TOP

Make the bootstrap top menu sticky :)

http://www.bootply.com/69848
http://www.bootply.com/96188
http://stackoverflow.com/questions/17687172/bootstrap-make-a-navbar-sticky-after-scrolling-down
http://jsfiddle.net/skelly/df8tb/

Java Script could be added tto to get a dynamic effect!

Basic CSS:

wrapwrap .affix.navbar-default {

transition: opacity 0.4s ease;
opacity: 0.9;
}

wrapwrap .affix {

top: 0;
min-width: 100%;
}
.navbar.navbar-static-top {
margin-bottom: 0;
}
.affix {
position: fixed;
-webkit-transform: translate3d(0, 0, 0);
-o-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}

Login User to odoo

---- Test Login mit ODOO Account

Forum Anmeldetest wanted to LOGIN, no option to login at this SCREEN
TODO: create a hier anmelden Button

Registrieren geht gut und man wird angelegt, selbiges wie weiter unten bei der Google Auth, Standards setzen
TODO:

  • standards setzen
  • autmatische KARMA Setzen > 3
  • Startseite definieren LÖSUNG (siehe UMLEITUNG: weiter unten )
  • website Kommentare erlauben aktivieren bei den user settings
  • Zeitzone automatisch stellen

----- Test Login with Google Account
install oauth module
erstellen der website für Nutzungs und datenschutzerklärung
http://tierfamilie.demo.datadialog.net/
http://tierfamilie.demo.datadialog.net/page/googlekontobedingungen

im google konto erstellen eines neuen Projektes
https://console.developers.google.com/
erstellen einer neuen Client ID unter authentifirierung (auth)
urls für die Odoo Seite
redirect url http://tierfamilie.demo.datadialog.net/auth_oauth/signin
redirect url für java script http://tierfamilie.demo.datadialog.net/

copy pase Client ID im Odoo bei Settings allgemein

nach dem erfolgreichen login kommt der nutzer in Portal anstatt auf die website wo er sich gerade befindet. Es wird eine neuer res.user und res.partner angelegt und mit dem neuen objekt outh provider über die oauth_id beim user verlinkt

TODO:

  • standards setzen
  • autmatische KARMA Setzen > 3
  • Startseite definieren LÖSUNG (siehe UMLEITUNG: weiter unten )
  • website Kommentare erlauben aktivieren bei den user settings
  • Zeitzone automatisch stellen

UMLEITUNG:
Redirect Users to Website
https://www.odoo.com/forum/help-1/question/how-to-redirect-to-the-shop-website-after-the-customer-log-in-into-my-system-odoo-8-81301

replace in VIEW web.login
http://tierfamilie.demo.datadialog.net/web#id=173&view_type=form&model=ir.ui.view&menu_id=42&action=25

replace
""
by
""
DIESER REDIREKT TEST --> FUNKTIONIERT NOCH NICHT

website_sale_donate - add option for anonymous donation

add a checkbox: allow annonymous donation

if set name and country do not have to be mandatory fields - instead name should be set to anonymous and country to Austria if no name and country was set in the checkout template

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.