update datenpol

develop
Andreas Brückl 2016-11-08 10:54:36 +01:00
parent 41aaf710fe
commit ce61bdad8d
3 changed files with 3 additions and 8 deletions

View File

@ -1,13 +1,8 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
############################################################################## ##############################################################################
# #
<<<<<<< HEAD:ext/custom-addons/cam_custom/__openerp__.py
# OpenERP, Open Source Management Solution
# Copyright (C) 20014-2016 datenpol gmbh (<http://www.datenpol.at/>).
=======
# datenpol gmbh # datenpol gmbh
# Copyright (C) 2013-TODAY datenpol gmbh(<http://www.datenpol.at>) # Copyright (C) 2013-TODAY datenpol gmbh(<http://www.datenpol.at>)
>>>>>>> 10.0:ext/custom-addons/dp_custom/__openerp__.py
# #
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as # it under the terms of the GNU Affero General Public License as

View File

@ -1,7 +1,7 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
class Environment(): class Environment():
def __init__(self, host, port, dbname, username, pwd=None, super_admin_pw=None, basic_auth=None): def __init__(self, host, port, dbname, username, pwd=None, super_admin_pw=None, demo=False):
self.host = host self.host = host
self.port = port self.port = port
self.dbname = dbname self.dbname = dbname
@ -11,8 +11,7 @@ class Environment():
# otherwise it's used to authenticate during login. # otherwise it's used to authenticate during login.
self.pwd = pwd self.pwd = pwd
self.super_admin_pw = super_admin_pw self.super_admin_pw = super_admin_pw
# HTTP authentication self.demo = demo
self.basic_auth = basic_auth or ('user', 'pass')
def __str__(self): def __str__(self):
return """============================== return """==============================

View File

@ -135,6 +135,7 @@ class odoo {
'gdata', 'gdata',
'requests', 'requests',
'vatnumber', 'vatnumber',
'xlsxwriter',
]: ]:
ensure => installed, ensure => installed,
provider => 'pip', provider => 'pip',