Hi guys, i try to install the "account_invoice_currency" module but the installation crash all the time showing me this error:
Traceback (most recent call last): File "/proceodoo/proceodoo-server/odoo/http.py", line 640, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/proceodoo/proceodoo-server/odoo/http.py", line 677, in dispatch result = self._call_function(**self.params) File "/proceodoo/proceodoo-server/odoo/http.py", line 333, in _call_function return checked_call(self.db, *args, **kwargs) File "/proceodoo/proceodoo-server/odoo/service/model.py", line 101, in wrapper return f(dbname, *args, **kwargs) File "/proceodoo/proceodoo-server/odoo/http.py", line 326, in checked_call result = self.endpoint(*a, **kw) File "/proceodoo/proceodoo-server/odoo/http.py", line 935, in __call__ return self.method(*args, **kw) File "/proceodoo/proceodoo-server/odoo/http.py", line 506, in response_wrap response = f(*args, **kw) File "/proceodoo/proceodoo-server/addons/web/controllers/main.py", line 889, in call_button action = self._call_kw(model, method, args, {}) File "/proceodoo/proceodoo-server/addons/web/controllers/main.py", line 877, in _call_kw return call_kw(request.env[model], method, args, kwargs) File "/proceodoo/proceodoo-server/odoo/api.py", line 689, in call_kw return call_kw_multi(method, model, args, kwargs) File "/proceodoo/proceodoo-server/odoo/api.py", line 680, in call_kw_multi result = method(recs, *args, **kwargs) File "/proceodoo/proceodoo-server/odoo/addons/base/module/module.py", line 410, in button_immediate_install return self._button_immediate_function(type(self).button_install) File "/proceodoo/proceodoo-server/odoo/addons/base/module/module.py", line 484, in _button_immediate_function modules.registry.Registry.new(self._cr.dbname, update_module=True) File "/proceodoo/proceodoo-server/odoo/modules/registry.py", line 82, in new odoo.modules.load_modules(registry._db, force_demo, status, update_module) File "/proceodoo/proceodoo-server/odoo/modules/loading.py", line 339, in load_modules loaded_modules, update_module) File "/proceodoo/proceodoo-server/odoo/modules/loading.py", line 237, in load_marked_modules loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks) File "/proceodoo/proceodoo-server/odoo/modules/loading.py", line 156, in load_module_graph _load_data(cr, module_name, idref, mode, kind='data') File "/proceodoo/proceodoo-server/odoo/modules/loading.py", line 95, in _load_data tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report) File "/proceodoo/proceodoo-server/odoo/tools/convert.py", line 845, in convert_file convert_xml_import(cr, module, fp, idref, mode, noupdate, report) File "/proceodoo/proceodoo-server/odoo/tools/convert.py", line 915, in convert_xml_import obj.parse(doc.getroot(), mode=mode) File "/proceodoo/proceodoo-server/odoo/tools/convert.py", line 796, in parse self.parse(rec, mode) File "/proceodoo/proceodoo-server/odoo/tools/convert.py", line 799, in parse self._tags[rec.tag](rec, de, mode=mode) File "/proceodoo/proceodoo-server/odoo/tools/convert.py", line 707, in _tag_record id = self.env(context=rec_context)['ir.model.data']._update(rec_model, self.module, res, rec_id or False, not self.isnoupdate(data_node), noupdate=self.isnoupdate(data_node), mode=self.mode) File "/proceodoo/proceodoo-server/odoo/addons/base/ir/ir_model.py", line 1229, in _update record = record.create(values) File "/proceodoo/proceodoo-server/odoo/addons/base/ir/ir_ui_view.py", line 362, in create return super(View, self).create(self._compute_defaults(values)) File "/proceodoo/proceodoo-server/odoo/models.py", line 3834, in create self._fields[key].determine_inverse(record) File "/proceodoo/proceodoo-server/odoo/fields.py", line 1041, in determine_inverse getattr(records, self.inverse)() File "/proceodoo/proceodoo-server/odoo/addons/base/ir/ir_ui_view.py", line 220, in _inverse_arch view.write(data) File "/proceodoo/proceodoo-server/odoo/addons/base/ir/ir_ui_view.py", line 380, in write return super(View, self).write(self._compute_defaults(vals)) File "/proceodoo/proceodoo-server/odoo/models.py", line 3560, in write self._write(old_vals) File "/proceodoo/proceodoo-server/odoo/models.py", line 3711, in _write self._validate_fields(vals) File "/proceodoo/proceodoo-server/odoo/models.py", line 1083, in _validate_fields raise ValidationError("%s\n\n%s" % (_("Error while validating constraint"), tools.ustr(e))) ParseError: "Error mientras se validaban las restricciones El elemento '<xpath expr="//field[@name='period_id']/..">' no puede ser localizado en la vista padre Error de contexto: Vista `Account invoice supplier (form) - add company currency` [view_id: 472, xml_id: n/a, model: account.invoice, parent_id: 414] None" while parsing /proceodoo/proceodoo-server/addons_extra/account_invoice_currency/views/account_invoice_view.xml:10, near <record id="invoice_supplier_company_currency_form" model="ir.ui.view"> <field name="name">Account invoice supplier (form) - add company currency</field> <field name="model">account.invoice</field> <field name="inherit_id" ref="account.invoice_supplier_form"/> <field name="arch" type="xml"> <xpath expr="//field[@name='period_id']/.." position="after"> <group string="Amounts in company currency"> <field name="cc_amount_untaxed"/> <field name="cc_amount_tax"/> <field name="cc_amount_total"/> </group> </xpath> </field> </record>
I understand that the problem is related to the suppliers currency ? I have the EURO currency by default in my company configuration but i dont know how can i fix this.
Sorry for my bad english.
Thank you and regards.