Skip to content

Instantly share code, notes, and snippets.

View lukebranch's full-sized avatar

Luke Branch lukebranch

View GitHub Profile
Traceback (most recent call last):
File "/opt/odoo/server/openerp/http.py", line 648, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/opt/odoo/server/openerp/http.py", line 685, in dispatch
result = self._call_function(**self.params)
File "/opt/odoo/server/openerp/http.py", line 321, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/opt/odoo/server/openerp/service/model.py", line 118, in wrapper
return f(dbname, *args, **kwargs)
File "/opt/odoo/server/openerp/http.py", line 314, in checked_call
2017-03-13 04:27:27,399 16414 ERROR sunion_production_021216 openerp.http: "undefined get method partner_id:None!" while evaluating
u'wkf_action_close()'
Traceback (most recent call last):
File "/opt/odoo/odoo-server/openerp/http.py", line 115, in dispatch_rpc
result = dispatch(method, params)
File "/opt/odoo/odoo-server/openerp/service/model.py", line 37, in dispatch
res = fn(db, uid, *params)
File "/opt/odoo/odoo-server/openerp/service/model.py", line 118, in wrapper
return f(dbname, *args, **kwargs)
File "/opt/odoo/odoo-server/openerp/service/model.py", line 188, in exec_workflow
2017-03-13 02:17:53,805 16414 INFO
_production_021216 werkzeug: 203.198.149.109 - - [13/Mar/2017 02:17:53] "POST /web/dataset/call_kw/account.voucher/search_read HTTP/1.1" 200 -
2017-03-13 02:17:53,829 16414 ERROR sunion_production_021216 openerp.http: "undefined get method partner_id:None!" while evaluating
u'proforma_voucher()'
Traceback (most recent call last):
File "/opt/odoo/odoo-server/openerp/http.py", line 115, in dispatch_rpc
result = dispatch(method, params)
File "/opt/odoo/odoo-server/openerp/service/model.py", line 37, in dispatch
res = fn(db, uid, *params)
File "/opt/odoo/odoo-server/openerp/service/model.py", line 118, in wrapper
Traceback (most recent call last):
File "/opt/odoo/server/openerp/http.py", line 648, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/opt/odoo/server/openerp/http.py", line 685, in dispatch
result = self._call_function(**self.params)
File "/opt/odoo/server/openerp/http.py", line 321, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/opt/odoo/server/openerp/service/model.py", line 118, in wrapper
return f(dbname, *args, **kwargs)
File "/opt/odoo/server/openerp/http.py", line 314, in checked_call
<?xml version="1.0"?>
<tree decoration-bf="message_needaction==True" decoration-danger="date_deadline and (date_deadline&lt;current_date)" string="Tasks">
<field name="message_needaction" invisible="1"/>
<field name="sequence" invisible="1"/>
<field name="name"/>
<field name="ac_account"/>
<field name="partner_id"/>
<field name="state_id"/>
<field name="order_type"/>
<field name="service_type_id"/>
apt-get remove open-vm-tools -y
@lukebranch
lukebranch / gist:0990bf027e2c18c7b4941f214eb81abc
Created January 23, 2017 13:58 — forked from ivanvanderbyl/gist:4222308
Postgres 9.1 to 9.2 upgrade guide for Ubuntu 12.04
sudo add-apt-repository ppa:pitti/postgresql
sudo apt-get update
sudo apt-get install postgresql-9.2 postgresql-server-dev-9.2 postgresql-contrib-9.2
sudo su -l postgres
psql -d template1 -p 5433
CREATE EXTENSION IF NOT EXISTS hstore;
CREATE EXTENSION IF NOT EXISTS "uuid-ossp";
service postgresql stop
/usr/lib/postgresql/9.2/bin/pg_upgrade -b /usr/lib/postgresql/9.1/bin -B /usr/lib/postgresql/9.2/bin -d /var/lib/postgresql/9.1/main/ -D /var/lib/postgresql/9.2/main/ -O "-c config_file=/etc/postgresql/9.2/main/postgresql.conf" -o "-c config_file=/etc/postgresql/9.1/main/postgresql.conf"
<?xml version="1.0"?>
<layout version="1.0.0">
<nwdrevslider_common>
<reference name="head">
<action method="setTemplate"><template>nwdthemes/revslider/page/head.phtml</template></action>
<block type="nwdrevslider/adminhtml_block_template" name="thickbox.js" as="thickbox.js" template="nwdthemes/revslider/head/thickbox.phtml" />
<action method="addItem"><type>skin_css</type><name>nwdthemes/revslider/admin/assets/css/admin.css</name></action>
<action method="addItem"><type>skin_css</type><name>nwdthemes/revslider/admin/assets/css/tipsy.css</name></action>
<action method="addItem"><type>skin_css</type><name>nwdthemes/revslider/admin/assets/js/codemirror/codemirror.css</name></action>
#!/bin/bash
################################################################################
# Script for installing Odoo V10 on Ubuntu 16.04, 15.04, 14.04 (could be used for other version too)
# Author: Yenthe Van Ginneken
#-------------------------------------------------------------------------------
# This script will install Odoo on your Ubuntu 14.04 server. It can install multiple Odoo instances
# in one Ubuntu because of the different xmlrpc_ports
#-------------------------------------------------------------------------------
# Make a new file:
# sudo nano odoo-install.sh
user nginx;
worker_processes 4;
error_log /var/log/nginx/error.log warn;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}