This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class selection(_column): | |
_type = 'selection' | |
def __init__(self, selection, string='unknown', **args): | |
_column.__init__(self, string=string, **args) | |
self.selection = selection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var size = new OpenLayers.Size(21,25); | |
var offset = new OpenLayers.Pixel(-(size.w/2), -size.h); | |
var icon = new OpenLayers.Icon("http://google-maps-icons.googlecode.com/files/arch.png", size, offset); | |
var zoom, center, currentPopup, map, lyrMarkers; | |
var popupClass = OpenLayers.Class(OpenLayers.Popup.FramedCloud, { | |
"autoSize": true, | |
"minSize": new OpenLayers.Size(300, 50), | |
"maxSize": new OpenLayers.Size(500, 300), | |
"keepInMap": true | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def calcular_valores(self, cr, uid, ids): | |
for obj in self.browse(cr, uid, ids): | |
#crear lineas normalmente para este objeto obj.id | |
#no considerar hijos ni nada, solo como si fuera para este | |
return True | |
def button_calcular(self, cr, uid, ids): | |
#iterar para sacar los ids entre los padres | |
child_ids | |
self.calcular_valores(cr, uid, child_ids) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Environment Information : | |
System : Linux-2.6.32-21-generic-i686-with-Ubuntu-10.04-lucid | |
OS Name : posix | |
Distributor ID: Ubuntu | |
Description: Ubuntu 10.04 LTS | |
Release: 10.04 | |
Codename: lucid | |
Operating System Release : 2.6.32-21-generic | |
Operating System Version : #32-Ubuntu SMP Fri Apr 16 08:10:02 UTC 2010 | |
Operating System Architecture : 32bit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def send_mail(self, cr, uid, ids, filtered_uesrs=[], cc=[]): | |
lista_cc = [] | |
for task self.browse(cr, uid, ids, context): | |
lista_cc = [] | |
for user in task.user_ids: | |
lista_cc.append(user.user_mail) | |
super(Project_Task, self).send_mail(cr, uid, ids, filtered_users, cc+lista_cc) | |
return True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80; | |
server_name you.domain.com; | |
open_file_cache max=1000; | |
# access_log logs/host.access.log main; | |
# Main location | |
location / { | |
proxy_pass http://127.0.0.1:8069/; | |
proxy_redirect http://127.0.0.1:8069/ /; | |
proxy_set_header Host $host; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./account/account.py:import pooler | |
./account/account_financial_report.py:import pooler | |
./account/account_invoice.py:import pooler | |
./account/project/report/analytic_journal.py:import pooler | |
./account/project/report/cost_ledger.py:import pooler | |
./account/project/report/inverted_analytic_balance.py:import pooler | |
./account/project/report/quantity_cost_ledger.py:import pooler | |
./account/report/account_print_overdue.py:import pooler | |
./account/report/account_report.py:import pooler | |
./account/report/common_report_header.py:import pooler |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
auto lo | |
iface lo inet loopback | |
auto eth0 | |
iface eth0 inet static | |
address 192.168.15.1 | |
netmask 255.255.255.0 | |
gateway 192.168.15.5 | |
dns-nameservers 192.168.15.5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nameserver 10.10.10.9 | |
nameserver 10.10.10.10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[2012/10/18 16:47:20.458548, 2] auth/token_util.c:455(finalize_local_nt_token) | |
WARNING: Failed to create BUILTIN\Administrators group! Can Winbind allocate gids? | |
[2012/10/18 16:47:20.459257, 2] auth/token_util.c:479(finalize_local_nt_token) | |
WARNING: Failed to create BUILTIN\Users group! Can Winbind allocate gids? | |
[2012/10/18 16:47:21.100188, 1] smbd/process.c:457(receive_smb_talloc) | |
receive_smb_raw_talloc failed for client 192.168.1.158 read error = NT_STATUS_CONNECTION_RESET. | |
[2012/10/18 16:47:21.412199, 2] auth/auth.c:319(check_ntlm_password) | |
check_ntlm_password: Authentication for user [admin] -> [admin] FAILED with error NT_STATUS_NO_SUCH_USER | |
[2012/10/18 16:47:37.291947, 1] smbd/process.c:457(receive_smb_talloc) | |
receive_smb_raw_talloc failed for client 192.168.1.158 read error = NT_STATUS_CONNECTION_RESET. |
OlderNewer