The dialog is accessible from 'Customers/ state field / create and edit...
It shows 3 fields. What's the name of this xml file and how can i access it?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
The dialog is accessible from 'Customers/ state field / create and edit...
It shows 3 fields. What's the name of this xml file and how can i access it?
In Customer window, the field 'state_id' depicts State and 'country_id' as Country. And these fields corresponds to objects 'res.country.state' and 'res.country' that are defined in BASE module.
<record id="view_country_state_tree" model="ir.ui.view">
<field name="name">res.country.state.tree</field>
<field name="model">res.country.state</field>
<field name="arch" type="xml">
<tree string="State">
<field name="name"/>
<field name="code"/>
<field name="country_id"/>
</tree>
</field>
</record><record id="view_country_state_form" model="ir.ui.view">
<field name="name">res.country.state.form</field>
<field name="model">res.country.state</field>
<field name="arch" type="xml">
<form string="State" version="7.0">
<group>
<field name="name"/>
<field name="code"/>
<field name="country_id" options='{"no_open": True}'/>
</group>
</form>
</field>
</record>
To make changes in Web-interface:
- Enable Technical settings in user window.
- Go to Settings --> Technical --> User Interface --> Views and search for your respective form name
Thank you.
Create an account today to enjoy exclusive features and engage with our awesome community!
Üye Ol
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.
Kindly help please