Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
3 Ответы
2450 Представления
 File "/opt/odoo/odoo-10.0/odoo/models.py", line 1083, in _validate_fields
    raise ValidationError("%s\n\n%s" % (_("Error while validating constraint"), tools.ustr(e)))
ParseError: "Error while validating constraint

Field `session_ids` does not exist

Error context:
View `partner.instructor`
[view_id: 560, xml_id: n/a, model: res.partner, parent_id: 124]
None" while parsing /opt/odoo/odoo-10.0/addons/Open Academy folder/views/partner.xml:5, near
<record model="ir.ui.view" id="partner_instructor_form_view">
            <field name="name">partner.instructor</field>
            <field name="model">res.partner</field>
            <field name="inherit_id" ref="base.view_partner_form"/>
            <field name="arch" type="xml">
                <notebook position="inside">
                    <page string="Sessions">
                        <group>
                            <field name="instructor"/>
                            <field name="session_ids"/>
                        </group>
                    </page>
                </notebook>
            </field>
        </record>
Аватар
Отменить

Hello @jackson,

check in your .py side field was exist or not? or also check your __init__.py that your model was import or not

Good Morning, i really appreciate you are talking to me. i really want to know Odoo very well. but i am less than a month in odoo. i am using odoo 10 documentation in Building a module. my problem started  from Inheritance.  after importing partner.py and partner.xml.

attached is my folder below.
Waiting for your reply.
i am very grateful.


On Thu, May 2, 2019 at 11:02 AM Aktiv software <odoo@aktivsoftware.com> wrote:

Hello @jackson,

check in your .py side field was exist or not? or also check your __init__.py that your model was import or not

Sent by Odoo S.A. using Odoo.



--
JACKSON ELEBE

Please read the documentation first, then ask questions with a meaningful title and provide the necessary information.

Лучший ответ

Hello @jackson,

Good Morning, We have solved issue which you have faced.You can review screenshot for it.


Can you please mark this as resolved if you are satisfied with my answer.

Regards,




Email: odoo@aktivsoftware.com

Skype: kalpeshmaheshwari

   

Аватар
Отменить
Related Posts Ответы Просмотры Активность
1
дек. 24
4626
0
нояб. 24
1886
2
июл. 24
3830
0
апр. 24
2432
3
мар. 24
3982