Vauxoo / odoo-venezuela

15 stars 21 forks source link

7.0 l10n ve wh fiscalseal hbto #22

Open hbto opened 9 years ago

anaguiris commented 8 years ago

Buenas! Me gustaria recibir su apoyo y asesoria para resolver, les agradezco mucho de ante mano. He instalado toda la localización de Venezuela y todo funciona perfecto, execto la retencion de ISLR que a la hora de facturar me da el siguiente error:

Server Traceback (most recent call last): File "/home/openerp/instancias/estable/modules/web/session.py", line 89, in send return openerp.netsvc.dispatch_rpc(service_name, method, args) File "/home/openerp/instancias/estable/server/openerp/netsvc.py", line 296, in dispatch_rpc rpc_request_flag = rpc_request.isEnabledFor(logging.DEBUG) File "/home/openerp/instancias/estable/server/openerp/service/web_services.py", line 626, in dispatch if method not in ['execute', 'execute_kw', 'exec_workflow']: File "/home/openerp/instancias/estable/server/openerp/osv/osv.py", line 132, in wrapper return f(self, dbname, _args, _kwargs) File "/home/openerp/instancias/estable/server/openerp/osv/osv.py", line 222, in exec_workflow res = self.exec_workflow_cr(cr, uid, obj, signal, args) File "/home/openerp/instancias/estable/server/openerp/osv/osv.py", line 215, in exec_workflow_cr return object._workflow_signal(cr, uid, [res_id], signal)[res_id] File "/home/openerp/instancias/estable/server/openerp/osv/orm.py", line 4002, in _workflow_signal

This is ok to hardcode because we assert that TransientModels always

File "/home/openerp/instancias/estable/server/openerp/workflow/wkf_service.py", line 119, in trg_validate res2 = instance.validate(cr, id, ident, signal) File "/home/openerp/instancias/estable/server/openerp/workflow/instance.py", line 43, in validate if i > 0: File "/home/openerp/instancias/estable/server/openerp/workflow/workitem.py", line 60, in process ok = _split_test(cr, workitem, activity['split_mode'], ident, signal, stack) File "/home/openerp/instancias/estable/server/openerp/workflow/workitem.py", line 175, in _split_test _join_test(cr, t[0], t[1], ident, stack) File "/home/openerp/instancias/estable/server/openerp/workflow/workitem.py", line 183, in _join_test create(cr,[activity], inst_id, ident, stack) File "/home/openerp/instancias/estable/server/openerp/workflow/workitem.py", line 40, in create process(cr, res, ident, stack=stack) File "/home/openerp/instancias/estable/server/openerp/workflow/workitem.py", line 52, in process result = _execute(cr, workitem, activity, ident, stack) File "/home/openerp/instancias/estable/server/openerp/workflow/workitem.py", line 110, in _execute res2 = wkf_expr.execute_action(cr, ident, workitem, activity) File "/home/openerp/instancias/estable/server/openerp/workflow/wkf_expr.py", line 63, in execute_action result = obj.run(cr, ident[0], [activity['action_id']], ctx) File "/home/openerp/instancias/estable/modules/base/ir/ir_actions.py", line 664, in run result = self.run(cr, uid, [act.id], context) File "/home/openerp/instancias/estable/modules/base/ir/ir_actions.py", line 611, in run eval(action.code.strip(), cxt, mode="exec", nocopy=True) # nocopy allows to return 'action' File "/home/openerp/instancias/estable/server/openerp/tools/safe_eval.py", line 285, in safe_eval } File "", line 3, in File "/home/openerp/instancias/estable/server/openerp/osv/orm.py", line 377, in function_proxy kwargs.update(context=self._context) File "/home/openerp/instancias/estable/modules/l10n_ve_withholding_islr/model/invoice.py", line 215, in _create_islr_wh_doc 'journal_id': journal File "/home/openerp/instancias/estable/modules/l10n_ve_withholding_islr/model/islr_wh_doc.py", line 243, in compute_amountwh note += ('\nPlease, Load the Taxes to be withheld and Try Again') File "/home/openerp/instancias/estable/modules/l10n_ve_withholding_islr/model/islr_wh_doc.py", line 1027, in load_taxes sb_concept = subtract File "/home/openerp/instancias/estable/server/openerp/osv/orm.py", line 4561, in create upd1 += ",%s,(now() at time zone 'UTC'),%s,(now() at time zone 'UTC')" File "/home/openerp/instancias/estable/server/openerp/osv/orm.py", line 4714, in _store_set_values field_dict.setdefault(r[0], []) File "/home/openerp/instancias/estable/server/openerp/osv/fields.py", line 1145, in get result = builtin.float(value) File "/home/openerp/instancias/estable/server/openerp/osv/fields.py", line 1221, in _fnct_read if isinstance(value, list): File "/home/openerp/instancias/estable/modules/base/res/res_partner.py", line 575, in name_get name = record.name File "/home/openerp/instancias/estable/server/openerp/osv/orm.py", line 504, in getattr except KeyError as e: AttributeError: 'Field name not found in browse_record(res.partner, 2)'

nhomar commented 8 years ago

@anaguiris

Por ahora no estamos manteniendo ésta localización de forma pública. Estás comentando en un PR que se encuentra en estado de desarrollo, por lo que se nos hace imposible determinar que pueda ser.

Si nos das más información con todo gusto cuando retomemos éste tema te apoyamos, o si quieres contratar algunas horas de servicio en www.vauxoo.com lo puedes hacer.

Saludos.

anaguiris commented 8 years ago

Muchas gracias por su pronta respuesta @nhomar pence que para la version 7 ya estaba lista. Seguire revisando