Last active
August 29, 2015 14:28
-
-
Save alcidesrivera/10452600eab48a4ec37b to your computer and use it in GitHub Desktop.
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
Traceback (most recent call last): | |
File "/home/openerp/apps/odoo/openerp/http.py", line 537, in _handle_exception | |
return super(JsonRequest, self)._handle_exception(exception) | |
File "/home/openerp/apps/odoo/openerp/http.py", line 574, in dispatch | |
result = self._call_function(**self.params) | |
File "/home/openerp/apps/odoo/openerp/http.py", line 310, in _call_function | |
return checked_call(self.db, *args, **kwargs) | |
File "/home/openerp/apps/odoo/openerp/service/model.py", line 113, in wrapper | |
return f(dbname, *args, **kwargs) | |
File "/home/openerp/apps/odoo/openerp/http.py", line 307, in checked_call | |
return self.endpoint(*a, **kw) | |
File "/home/openerp/apps/odoo/openerp/http.py", line 803, in __call__ | |
return self.method(*args, **kw) | |
File "/home/openerp/apps/odoo/openerp/http.py", line 403, in response_wrap | |
response = f(*args, **kw) | |
File "/home/openerp/apps/odoo/addons/web/controllers/main.py", line 948, in call_button | |
action = self._call_kw(model, method, args, {}) | |
File "/home/openerp/apps/odoo/addons/web/controllers/main.py", line 936, in _call_kw | |
return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs) | |
File "/home/openerp/apps/odoo/openerp/api.py", line 241, in wrapper | |
return old_api(self, *args, **kwargs) | |
File "/home/openerp/apps/odoo/openerp/addons/base/module/module.py", line 446, in button_immediate_install | |
return self._button_immediate_function(cr, uid, ids, self.button_install, context=context) | |
File "/home/openerp/apps/odoo/openerp/api.py", line 241, in wrapper | |
return old_api(self, *args, **kwargs) | |
File "/home/openerp/apps/odoo/openerp/addons/base/module/module.py", line 494, in _button_immediate_function | |
registry = openerp.modules.registry.RegistryManager.new(cr.dbname, update_module=True) | |
File "/home/openerp/apps/odoo/openerp/modules/registry.py", line 370, in new | |
openerp.modules.load_modules(registry._db, force_demo, status, update_module) | |
File "/home/openerp/apps/odoo/openerp/modules/loading.py", line 355, in load_modules | |
loaded_modules, update_module) | |
File "/home/openerp/apps/odoo/openerp/modules/loading.py", line 255, in load_marked_modules | |
loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks) | |
File "/home/openerp/apps/odoo/openerp/modules/loading.py", line 176, in load_module_graph | |
_load_data(cr, module_name, idref, mode, kind='data') | |
File "/home/openerp/apps/odoo/openerp/modules/loading.py", line 118, in _load_data | |
tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report) | |
File "/home/openerp/apps/odoo/openerp/tools/convert.py", line 901, in convert_file | |
convert_xml_import(cr, module, fp, idref, mode, noupdate, report) | |
File "/home/openerp/apps/odoo/openerp/tools/convert.py", line 987, in convert_xml_import | |
obj.parse(doc.getroot(), mode=mode) | |
File "/home/openerp/apps/odoo/openerp/tools/convert.py", line 853, in parse | |
self._tags[rec.tag](self.cr, rec, n, mode=mode) | |
File "/home/openerp/apps/odoo/openerp/tools/convert.py", line 763, in _tag_record | |
id = self.pool['ir.model.data']._update(cr, self.uid, rec_model, self.module, res, rec_id or False, not self.isnoupdate(data_node), noupdate=self.isnoupdate(data_node), mode=self.mode, context=rec_context ) | |
File "/home/openerp/apps/odoo/openerp/api.py", line 241, in wrapper | |
return old_api(self, *args, **kwargs) | |
File "/home/openerp/apps/odoo/openerp/addons/base/ir/ir_model.py", line 1077, in _update | |
res_id = model_obj.create(cr, uid, values, context=context) | |
File "/home/openerp/apps/odoo/openerp/api.py", line 241, in wrapper | |
return old_api(self, *args, **kwargs) | |
File "/home/openerp/apps/odoo/openerp/addons/base/ir/ir_ui_view.py", line 264, in create | |
context=context) | |
File "/home/openerp/apps/odoo/openerp/api.py", line 241, in wrapper | |
return old_api(self, *args, **kwargs) | |
File "/home/openerp/apps/odoo/openerp/api.py", line 336, in old_api | |
result = method(recs, *args, **kwargs) | |
File "/home/openerp/apps/odoo/openerp/models.py", line 4077, in create | |
record = self.browse(self._create(old_vals)) | |
File "/home/openerp/apps/odoo/openerp/api.py", line 239, in wrapper | |
return new_api(self, *args, **kwargs) | |
File "/home/openerp/apps/odoo/openerp/api.py", line 463, in new_api | |
result = method(self._model, cr, uid, *args, **kwargs) | |
File "/home/openerp/apps/odoo/openerp/models.py", line 4268, in _create | |
recs._validate_fields(vals) | |
File "/home/openerp/apps/odoo/openerp/api.py", line 239, in wrapper | |
return new_api(self, *args, **kwargs) | |
File "/home/openerp/apps/odoo/openerp/models.py", line 1271, in _validate_fields | |
raise ValidationError('\n'.join(errors)) | |
ParseError: "ValidateError | |
Field(s) `arch` failed against a constraint: Invalid view definition | |
Error details: | |
El campo `move_id` no existe | |
Error de contexto: | |
Vista `view.account.retention.form` | |
[view_id: 822, xml_id: n/a, model: account.retention, parent_id: n/a]" while parsing /home/openerp/apps/odoo/odoo-ecuador/l10n_ec_withdrawing/withdrawing_view.xml:182, near | |
<record id="view_account_retention_form" model="ir.ui.view"> | |
<field name="name">view.account.retention.form</field> | |
<field name="model">account.retention</field> | |
<field name="type">form</field> | |
<field name="arch" type="xml"> | |
<form string="Retención de Impuestos" version="7.0"> | |
<header> | |
<button name="action_cancel" string="Anular" type="object" states="draft,done"/> | |
<button name="button_validate" string="Validar" type="object" states="draft"/> | |
<button name="action_draft" string="Volver a Borrador" type="object" states="cancel"/> | |
<field name="state" widget="statusbar"/> | |
</header> | |
<sheet> | |
<group> | |
<group> | |
<field name="name" attrs="{'invisible':[('state','=','done')]}"/> | |
<field name="partner_id" select="1" attrs="{'required':[('to_cancel','=',False)], 'invisible':[('to_cancel','=',True)]}"/> | |
<field name="invoice_id" on_change="onchange_invoice(invoice_id)" attrs="{'required':[('to_cancel','=',False)], 'invisible':[('to_cancel','=',True)]}"/> | |
<field name="manual" invisible="1"/> | |
<field name="to_cancel"/> | |
</group> | |
<group> | |
<field name="auth_id" select="1" domain="[('in_type','=','interno')]"/> | |
<field name="type" select="1" attrs="{'required':[('to_cancel','=',False)], 'invisible':[('to_cancel','=',True)]}"/> | |
<field name="date" select="1"/> | |
<field name="in_type" required="1"/> | |
<field name="num_document" attrs="{'required':[('to_cancel','=',False)], 'invisible':[('to_cancel','=',True)]}"/> | |
<field name="move_id" attrs="{'invisible':[('to_cancel','=',True)]}"/> | |
</group> | |
</group> | |
<notebook colspan="4"> | |
<page string="Impuestos"> | |
<field name="tax_ids" widget="many2many" nolabel="1" domain="[('invoice_id','=',invoice_id),('tax_group','in',['ret_ir','ret_vat_b','ret_vat_srv'])]"> | |
<tree string="Impuestos Aplicados"> | |
<field name="invoice_id" invisible="1"/> | |
<field name="fiscal_year"/> | |
<field name="base"/> | |
<field name="percent"/> | |
<field name="base_code_id"/> | |
<field name="tax_code_id"/> | |
<field name="tax_group"/> | |
<field name="amount"/> | |
</tree> | |
</field> | |
<group> | |
<field name="amount_total" widget="monetary"/> | |
</group> | |
</page> | |
</notebook> | |
</sheet> | |
</form> | |
</field> | |
</record> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment