openat / odoo_v8.0 Goto Github PK
View Code? Open in Web Editor NEWodoo Version 8.0
odoo Version 8.0
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
...
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
To make donations easier and the shop over all more usable for donations we sould need the following options for products:
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
Testing "teilen" and share content in facebook, right now the standard text from the snippets is shown and not the content of the page
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
add dependency
apt-get install libldap2-dev libsasl2-dev
to setupscript to make building python-ldap possible
(pip install python-ldap==2.4.15)
da gibt es schon ein addon - muss ich nur wieder suchen siehe twitter
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
check ob das kein problem ist
Write a payment provider for sepa Payments for FRST
Klick on Picture to enlarge ;)
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
Check how to add translations for jquery vlaidate (german)
this is needed because when a server restart happens it needs to be sure that no old session ID is there /session files in the Datadir
TODO:
Überprüfen ob das ein Bug ist oder eine Konfigurationseinstellung
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:
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
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
Simple Fix for this would be:
border: none;
color: white;
color: transparent;
}
should be always loaded in assests frontend: maybe the best place would be to load in in addon
base_config
since this is a change that should always be included ;)
etherpad db and owncloud folders and db must be backuped too
to make the update simpler we should set all the odoo services (nginx, postgresql, odoo services, aroo helper) to the highest runlevel so we can switch the runlevel update the codebase and switch the runlevel back
After Installing Payment Provider Ogone:
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
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
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
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.
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:
transition: opacity 0.4s ease;
opacity: 0.9;
}
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);
}
Add a new module
website_sale_hideprice
this module will be able to hide the price in the list or the normal view of the shop.
---- 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:
----- 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:
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
enable or disable email traffic tool
The backup did not run since the password is not wrapped in '
add link href zu web/css/website.assets/frontend
USE CSS von website
url link zum Logo --> baseurl .....
this avoids the web configuration dialogue ;)
base_iban should be installed in every instance
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.