I want to extend a industry module (booking_engine).
there is a model (x_guests_line).
Is it possible to do add a new field in .py file or do i have to use
<record id="model_x_guests_line_x_guest_birthdate" model="ir.model.fields">
<field name="ttype">date</field>
<field name="related">x_guest_partner_id.x_birthdate</field>
<field name="field_description">Birthdate</field>
<field name="model_id" ref="booking_engine.x_model_guests_line" />
<field name="name">x_guest_birthdate</field>
<field name="readonly" eval="True" />
<field name="store" eval="False" />
</record>
to add a new field?
For me adding python code with inherit = "x_guests_line" didn't work
Hello
Do you want to extend the studio view and add new field?
@Codesphere Tech:
Yes, I need several more complex computed fields but the basic question is if there is a way to use industry (studio apps) and still modify them in python.
I want to stick to the standard but need to modify the model, I do it now with adding fields in data but the syntax is very cumbersome (without my good friend claude, i wouldn't do it at all). But as it seams to be the new way odoo does things I suppose we have to deal with this studio BS.
Do you have checked the dependency in manifest file?