Hi,
I've installed a module called barcode_scanning_sale_purchase from cybrosys, unfortunately this one broke my whole invoice or offer view. They are not responding.
I've uninstalled it already.
Every time I try to open an offer or invoice it says:
Traceback (most recent call last): File "/usr/lib/python3/dist-packages/odoo/http.py", line 639, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/usr/lib/python3/dist-packages/odoo/http.py", line 315, in _handle_exception raise exception.with_traceback(None) from new_cause ValueError: Invalid field 'barcode_scan' on model 'sale.order.line'
Does anyone know where and how to get rid of that field barcode_scan in sale.order.line that even doesn't exist?
Thanks Martin
Hello Martin,
Have you tried to update the sales app?
Thanks,
Hi Martin,
We have tested the above module (barcode_scanning_sale_purchase) which you have mentioned, but we didn't get such issues after uninstalling the module, this may be an issue of database cache or conflict between any other third-party module. If you need more clarification regarding the same you can sent your queries to odoo@cybrosys.com .
Reagards
@Cybrosys: I already had this issue when installing the module, not on uninstalling, also this error while installing:
Error while importing module 'barcode_scanning_sale_purchase'.
while parsing /tmp/tmpt016ff_n/barcode_scanning_sale_purchase/views/sale_order_line.xml:4, near
<record id="sale_order_view_inherit_barcode1" model="ir.ui.view">
<field name="name">sale.order.form.inherit</field>
<field name="model">sale.order</field>
<field name="inherit_id" ref="sale.view_order_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='order_line']/tree/field[@name='product_id']" position="before">
<field name="barcode_scan"/>
</xpath>
</field>
</record>
Make sure those modules are installed and try again.
Thanks Martin
@Jack Dane: No I didn't. Did it now, no changes thanks Martin
@cybrosys: yes I tired it as you described, and I'm on community edition. I'll test the direct upload via filesystem. thanks
Thanks installing it via filesystem repaired it somehow and installation ran successfully! Thanks Martin