tryton-ar / bank_ar Goto Github PK
View Code? Open in Web Editor NEWTryton module for banks of Argentina
License: GNU General Public License v3.0
Tryton module for banks of Argentina
License: GNU General Public License v3.0
Hola trabajando en trytond 5.6 y adecuando para Argentiname da el sig Error de aplicación Fault:[bank] en el modulo bank_ar Detalles: Traceback (most recent call last):
File "/home/usuario/.local/lib/python3.6/site-packages/tryton/gui/main.py", line 277, in do_activate
common.Login()
File "/home/usuario/.local/lib/python3.6/site-packages/tryton/common/common.py", line 900, in init
func(parameters)
File "/home/usuario/.local/lib/python3.6/site-packages/tryton/rpc.py", line 87, in login
result = connection.common.db.login(username, parameters, language)
File "/usr/lib/python3.6/xmlrpc/client.py", line 1112, in call
return self.__send(self.__name, args)
File "/home/usuario/.local/lib/python3.6/site-packages/tryton/jsonrpc.py", line 306, in __request
raise Fault(*response['error'])
tryton.jsonrpc.Fault: ['bank']
Fault: ['bank']
Desde la implementación de #4, podemos mostrar información de la cuenta utilizando los datos del CBU. El CBU se compone de 2 bloques.
http://www.gxopen.com/forumsr/servlet/viewthread?ARTECH,1,10148#10168
Bloque 1 - 8 posiciones
3 de banco, en el caso de las CBU del banco credicoop siempre 191
4 de sucursal
1 Dígito verificador del bloque 1
Bloque 2 - 14 posiciones (BCCL)
CFASSSCCCCCCCD
Donde CF (2 posiciones) indican que se trata de una cuenta fija (un viejo concepto del banco) en el caso de las CBU del banco siempre vale "55"
A - 1 posición. Vale 0 Cuenta corriente pesos, 1 Caja de ahorro pesos, 2 caja de ahorro dolar
SSS - Sucursal de la cuenta (bank subsidiary)
CCCCCCC - Nro de cuenta incluido su dígito verificador
D - Dígito Verificador del bloque 2
Bloque 2 (general)
Identificación de la cuenta individual (13 posiciones)
Los primeros dos dígitos para identificar características de la cuenta según criterio de la Entidad (ej.: tipo de cuenta y moneda de la cuenta)
Los once dígitos siguientes para el número de cuenta (completando con ceros a izquierda cuando corresponda)
Dígito verificador de las anteriores 13 posiciones (1 posición).
19664 139989088093952 [2016-10-07 21:46:44,631] ERROR trytond.protocols.dispatcher <class 'trytond.ir.module.ir.module.install_upgrade'>.execute((22, {u'start': {u'module_info': u'bank_ar: to install', u'id': -15}}, u'upgrade', {u'date_format': u'%d/%m/%Y', u'language': u'es_AR', u'locale': {u'date': u'%d/%m/%Y', u'thousands_sep': u'.', u'decimal_point': u',', u'grouping': [3, 3, 0]}, u'language_direction': u'ltr', u'company.rec_name': u'Jose Luis Zanotti', u'active_model': u'ir.module', u'groups': [1, 6, 4, 3, 2, 5], u'action_id': 42, u'employee': None, u'active_ids': [15], u'company': 1, u'active_id': 15}), *{}) from [email protected]//tryton40/
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/trytond/protocols/dispatcher.py", line 201, in _dispatch
result = rpc.result(meth(_c_args, *_c_kwargs))
File "/usr/local/lib/python2.7/dist-packages/trytond/wizard/wizard.py", line 275, in execute
return wizard._execute(state_name)
File "/usr/local/lib/python2.7/dist-packages/trytond/wizard/wizard.py", line 306, in _execute
result = self._execute(transition())
File "/usr/local/lib/python2.7/dist-packages/trytond/ir/module.py", line 570, in transition_upgrade
pool.init(update=update, lang=lang)
File "/usr/local/lib/python2.7/dist-packages/trytond/pool.py", line 155, in init
lang=lang)
File "/usr/local/lib/python2.7/dist-packages/trytond/modules/init.py", line 434, in load_modules
_load_modules()
File "/usr/local/lib/python2.7/dist-packages/trytond/modules/init.py", line 398, in _load_modules
load_module_graph(graph, pool, update, lang)
File "/usr/local/lib/python2.7/dist-packages/trytond/modules/init.py", line 251, in load_module_graph
tryton_parser.parse_xmlstream(fp)
File "/usr/local/lib/python2.7/dist-packages/trytond/convert.py", line 447, in parse_xmlstream
self.sax_parser.parse(source)
File "/usr/lib/python2.7/xml/sax/expatreader.py", line 110, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib/python2.7/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/lib/python2.7/xml/sax/expatreader.py", line 213, in feed
self._parser.Parse(data, isFinal)
File "/usr/lib/python2.7/xml/sax/expatreader.py", line 320, in end_element
self._cont_handler.endElement(name)
File "/usr/local/lib/python2.7/dist-packages/trytond/convert.py", line 507, in endElement
self.taghandler = self.taghandler.endElement(name)
File "/usr/local/lib/python2.7/dist-packages/trytond/convert.py", line 289, in endElement
self.model.name, self.values, self.xml_id)
File "/usr/local/lib/python2.7/dist-packages/trytond/convert.py", line 693, in import_record
self.create_records(model, [values], [fs_id])
File "/usr/local/lib/python2.7/dist-packages/trytond/convert.py", line 699, in create_records
records = Model.create(vlist)
File "/usr/local/lib/python2.7/dist-packages/trytond_party-4.0.2-py2.7.egg/trytond/modules/party/party.py", line 164, in create
return super(Party, cls).create(vlist)
File "/usr/local/lib/python2.7/dist-packages/trytond/model/modelsql.py", line 522, in create
field = cls._fields[fname]
KeyError: u'iva_condition'
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.