Skip to content

Instantly share code, notes, and snippets.

View alcidesrivera's full-sized avatar

alcidesrivera

  • VIRTUALSAMI CIA. LTDA.
  • Ibarra
View GitHub Profile
<?xml version="1.0"?>
<document filename="test.pdf">
<template pageSize="(595.0,842.0)" title="Test" author="Martin Simon" allowSplitting="20">
<pageTemplate id="first">
<frame id="first" x1="34.0" y1="28.0" width="530" height="786"/>
</pageTemplate>
</template>
<stylesheet>
<blockTableStyle id="Standard_Outline">
<blockAlignment value="LEFT"/>
# -*- coding: utf-8 -*-
##############################################################################
#
# Account Module - Ecuador
# Copyright (C) 2014 Cristian Salamea All Rights Reserved
# $Id$
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
@alcidesrivera
alcidesrivera / einvoice.py
Last active June 28, 2025 01:06
Electronic Document SRI Ecuador
# -*- coding: utf-8 -*-
##############################################################################
#
# E-Invoice Module - Ecuador
# Copyright (C) 2014 VIRTUALSAMI CIA. LTDA. All Rights Reserved
# [email protected]
# $Id$
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@alcidesrivera
alcidesrivera / firma_electronica.py
Last active October 5, 2022 12:37
Firma Electrónica SRI Ecuador
# -*- coding: utf-8 -*-
##############################################################################
#
# E-Invoice Module - Ecuador
# Copyright (C) 2014 VIRTUALSAMI CIA. LTDA. All Rights Reserved
# [email protected]
# $Id$
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@alcidesrivera
alcidesrivera / log_error
Created October 13, 2014 20:43
Error factura de proveedor
2014-10-13 20:20:52,439 9693 ERROR xxxxx openerp.tools.safe_eval: Cannot eval u'action_invoice_create()'
Traceback (most recent call last):
File "/home/servidor/apps/openerp-7.0/server/openerp/tools/safe_eval.py", line 285, in safe_eval
return eval(test_expr(expr, _SAFE_OPCODES, mode=mode), globals_dict, locals_dict)
File "", line 1, in <module>
File "/home/servidor/apps/openerp-7.0/server/openerp/osv/orm.py", line 377, in function_proxy
return attr(self._cr, self._uid, [self._id], *args, **kwargs)
File "/home/servidor/apps/openerp-7.0/addons/purchase/purchase.py", line 561, in action_invoice_create
inv_id = inv_obj.create(cr, uid, inv_data, context=context)
File "/home/servidor/apps/openerp-7.0/addons/mail/mail_thread.py", line 252, in create