Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
2046 Widoki

    raise ParseError(msg) from None  # Restart with "--log-handler odoo.tools.convert:DEBUG" for complete traceback

odoo.tools.convert.ParseError: while parsing file:/c:/pt.koi/odoo/koi/odoo17/odoo/custom-addons/inventory_batch_remark/views/remark.xml:4

Error while validating view near:


               

               


Field `country_code` does not exist


View error context:

{'file': 'c:\\pt.koi\\odoo\\koi\\odoo17\\odoo\\custom-addons\\inventory_batch_remark\\views\\remark.xml',

'line': 1,

'name': 'custom.move.picking.form.remark.inherit',

'view': ir.ui.view(1327,),

'view.model': 'stock.move',

'view.parent': ir.ui.view(659,),

'xmlid': 'custom_view_picking_form_remark_inherit'}


Awatar
Odrzuć
Najlepsza odpowiedź

Hi,

The error states that the field country_code does not exist in the model you're trying to extend. Make sure you're extending the correct model. The error context shows that the view's model is 'stock.move'. If this model is correct then make sure the field is defined in the model.


Hope this helps.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
6
maj 24
21534
3
mar 16
6538
2
lut 25
1662
2
maj 23
2401
0
sty 23
4582