I've created a new module, which I can install perfectly with commit, push etc with github.
But when I try to install this same module as a zip-file, I receive an error:
File "/home/odoo/src/odoo/odoo/addons/base/models/ir_ui_view.py", line 394, in _check_xml
raise ValidationError("%s\n\n%s" % (_("Error while validating view"), tools.ustr(e)))
odoo.tools.convert.ParseError: "Error while validating view
Veld 'invoice_approval' bestaat niet (Transled: Field 'invoice_approval' does not exist)
Fout context:
Weergave`res.config.settings.view.form.inherit.account.approvevendorbills`
[view_id: 2724, xml_id: n/b, model: res.config.settings, parent_id: 740]
None" while parsing /tmp/tmp_o0_f3pu/fiattering_leveranciersfacturen/views/res_config_view.xml:2, near
<odoo>
<data>
<record id="res_config_settings_view_form_approve_vendor_bills" model="ir.ui.view">
<field name="name">res.config.settings.view.form.inherit.account.approvevendorbills</field>
<field name="model">res.config.settings</field>
<field name="priority" eval="10"/>
<field name="inherit_id" ref="account.res_config_settings_view_form"/>
<field namme="arch" type="xml">
<xpath expr="//div[@id='account_vendor_bills']" position="inside">
<div class="col-12 col-md-6 o_setting_box">
<div class="o_setting_left_pane">
<field name="invoice_approval"/>
</div>
<div class="o_setting_right_pane">
<label for="invoice_approval"/>
<span class="fa fa-lg fa-building-o"
title="Values set here are company-specific."
groups="base.group_multi_company"/>
<div class="text-muted">
Managers must approve vendor bills, settings within contacts/Sales can overrule these settings
</div>
</div>
</div>
</xpath>
</field>
</record>
</data>
</odoo>
Why can I install this module with git, and not install the same module as a zip-file?