Closed juhenriquez closed 8 years ago
Ese modulo no esta terminado
On Jun 14, 2016, at 4:12 PM, Juliano Henriquez notifications@github.com wrote:
Al momento de generar un reporte 607 aparece el mensaje sigiuiente:
Odoo Server Error Traceback (most recent call last): File "/var/lib/odoo/odoo/openerp/http.py", line 643, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/var/lib/odoo/odoo/openerp/http.py", line 680, in dispatch result = self._call_function(_self.params) File "/var/lib/odoo/odoo/openerp/http.py", line 316, in _call_function return checked_call(self.db, args, _kwargs) File "/var/lib/odoo/odoo/openerp/service/model.py", line 118, in wrapper return f(dbname, _args, _kwargs) File "/var/lib/odoo/odoo/openerp/http.py", line 309, in checked_call result = self.endpoint(_a, _kw) File "/var/lib/odoo/odoo/openerp/http.py", line 959, in call return self.method(_args, _kw) File "/var/lib/odoo/odoo/openerp/http.py", line 509, in response_wrap response = f(_args, _kw) File "/var/lib/odoo/odoo/addons/web/controllers/main.py", line 896, in call_kw return self._call_kw(model, method, args, kwargs) File "/var/lib/odoo/odoo/addons/web/controllers/main.py", line 888, in _call_kw return getattr(request.registry.get(model), method)(request.cr, request.uid, _args, _kwargs) File "/var/lib/odoo/odoo/openerp/api.py", line 250, in wrapper return old_api(self, _args, _kwargs) File "/var/lib/odoo/odoo/openerp/api.py", line 354, in old_api result = method(recs, _args, _kwargs) File "/var/lib/odoo/marcos_addons/ncf_manager/models/dgii_sale.py", line 68, in create self.create_report() File "/var/lib/odoo/odoo/openerp/api.py", line 248, in wrapper return new_api(self, _args, *_kwargs) File "/var/lib/odoo/marcos_addons/ncf_manager/models/dgii_sale.py", line 201, in create_report self.create_report_lines(invoices) File "/var/lib/odoo/marcos_addons/ncf_manager/models/dgii_sale.py", line 93, in create_report_lines TIPO_IDENTIFICACION = "1" if len(RNC_CEDULA.strip()) == 9 else "2" AttributeError: 'bool' object has no attribute 'strip'
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/eneldoserrata/marcos_addons/issues/2, or mute the thread https://github.com/notifications/unsubscribe/AAV_Tvkq9woUe65Qny2Xo1r-SlBfRPCyks5qLwsygaJpZM4I1tnD.
Disculpa lo da el ncf_manager, sino me equivoco el que genera los reportes ahora mismo...
Al momento de generar un reporte 607 aparece el mensaje sigiuiente:
Odoo Server Error Traceback (most recent call last): File "/var/lib/odoo/odoo/openerp/http.py", line 643, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/var/lib/odoo/odoo/openerp/http.py", line 680, in dispatch result = self._call_function(**self.params) File "/var/lib/odoo/odoo/openerp/http.py", line 316, in _call_function return checked_call(self.db, *args, **kwargs) File "/var/lib/odoo/odoo/openerp/service/model.py", line 118, in wrapper return f(dbname, *args, **kwargs) File "/var/lib/odoo/odoo/openerp/http.py", line 309, in checked_call result = self.endpoint(*a, **kw) File "/var/lib/odoo/odoo/openerp/http.py", line 959, in __call__ return self.method(*args, **kw) File "/var/lib/odoo/odoo/openerp/http.py", line 509, in response_wrap response = f(*args, **kw) File "/var/lib/odoo/odoo/addons/web/controllers/main.py", line 896, in call_kw return self._call_kw(model, method, args, kwargs) File "/var/lib/odoo/odoo/addons/web/controllers/main.py", line 888, in _call_kw return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs) File "/var/lib/odoo/odoo/openerp/api.py", line 250, in wrapper return old_api(self, *args, **kwargs) File "/var/lib/odoo/odoo/openerp/api.py", line 354, in old_api result = method(recs, *args, **kwargs) File "/var/lib/odoo/marcos_addons/ncf_manager/models/dgii_sale.py", line 68, in create self.create_report() File "/var/lib/odoo/odoo/openerp/api.py", line 248, in wrapper return new_api(self, *args, **kwargs) File "/var/lib/odoo/marcos_addons/ncf_manager/models/dgii_sale.py", line 201, in create_report self.create_report_lines(invoices) File "/var/lib/odoo/marcos_addons/ncf_manager/models/dgii_sale.py", line 93, in create_report_lines TIPO_IDENTIFICACION = "1" if len(RNC_CEDULA.strip()) == 9 else "2" AttributeError: 'bool' object has no attribute 'strip'