If category name contain non ascii chars, e.g. cyrillic, gets error Resolved with add in product_code_by_category/models/product.py after: ``` from openerp import models, fields, api, _, SUPERUSER_ID import re from openerp.exceptions import Warning as UserError ``` this code: ``` import sys reload(sys) sys.setdefaultencoding('utf-8') ``` https://github.com/OdooBulgaria/product_code_by_category/commit/e26cdb48be48847ae0c1175987b6c93f805adb33#diff-4b7cc5d019dc8dc9b3f93908dab43f12
If category name contain non ascii chars, e.g. cyrillic, gets error
Resolved with add in product_code_by_category/models/product.py after:
this code:
OdooBulgaria@e26cdb4#diff-4b7cc5d019dc8dc9b3f93908dab43f12