This question has been flagged
5072 Views

Hello friends, I'm trying to run

./odoo-bin -u all

But I keep hitting an error in an addon i've overridden:

2019-05-01 06:32:09,894 22082 INFO bluescience-prodcopy3 odoo.modules.loading: loading account/views/report_invoice.xml
2019-05-01 06:32:09,957 22082 WARNING bluescience-prodcopy3 odoo.modules.loading: Transient module states were reset
2019-05-01 06:32:09,958 22082 ERROR bluescience-prodcopy3 odoo.modules.registry: Failed to load registry
File "/home/jonny/Projects/poolservicemgr/src/common/leadersandco-odoo/odoo/odoo/models.py", line 1037, in _validate_fields
    check(self)
  File "/home/jonny/Projects/poolservicemgr/src/common/leadersandco-odoo/odoo/odoo/addons/base/ir/ir_ui_view.py", line 357, in _check_groups
    raise ValidationError(_("Qweb view cannot have 'Groups' define on the record. Use 'groups' attributes inside the view definition"))
odoo.tools.convert.ParseError: "Qweb view cannot have 'Groups' define on the record. Use 'groups' attributes inside the view definition
None" while parsing None:156, near
<data inherit_id="account.report_invoice_document" primary="True">
            <xpath expr="//div[@id='total']/div/table" position="inside">
                <t t-set="payments_vals" t-value="o._get_payments_vals()"/>
                <t t-foreach="payments_vals" t-as="payment_vals">
                    <tr>
                        <td>
                            <i class="oe_form_field text-right oe_payment_label">Paid on <t t-esc="payment_vals['date']"/></i>
                        </td>
                        <td class="text-right">
                            <span t-esc="payment_vals['amount']" t-options="{&quot;widget&quot;: &quot;monetary&quot;, &quot;display_currency&quot;: o.currency_id}"/>
                        </td>
                    </tr>
                </t>
                <t t-if="len(payments_vals) &gt; 0">
                    <tr class="border-black">
                        <td><strong>Amount Due</strong></td>
                        <td class="text-right">
                             <span t-field="o.residual" t-options="{&quot;widget&quot;: &quot;monetary&quot;, &quot;display_currency&quot;: o.currency_id}"/>
                        </td>
                    </tr>
                </t>
            </xpath>
        <xpath expr="." position="attributes"><attribute name="t-name">account.report_invoice_document_with_payments</attribute></xpath></data>
2019-05-01 06:32:09,971 22082 INFO bluescience-prodcopy3 odoo.modules.loading: loading 1 modules...


Avatar
Discard
Author

I see no `groups=` attribute in this qweb template, so I don't know where to start