Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
3754 Näkymät

I dont understand all answers, How can i disable ean13 validation. Please help.

Please explain step by step. Im beginner in Openerp.

Regards.

Avatar
Hylkää
Paras vastaus

Hello,

you can directly modify the product base module on path /addons/product/product.py

line 619: _constraints = .....

you can comment it or make it an empty list. Then restart your server and check it.

But this will modify the Base module, then it is not the proper solution. You have to inherit this model for the production server.

I hope it'll help

Regards...

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
0
marrask. 16
5107
0
maalisk. 15
2985
2
maalisk. 15
5641
0
syysk. 21
1911
1
helmik. 16
4166