This slide will represent the position attribute in Odoo 17. If we want to deactivate or include specific attribute to the tag, or to replace any div or field we can use position attribute.
Size: 1.34 MB
Language: en
Added: Aug 27, 2024
Slides: 14 pages
Slide Content
Position attribute in odoo 17 Enterprise
Introduction Enterpr ise This slide will represent the position attribute in Odoo 17. If we want to deactivate or include specific attribute to the tag, or to replace any div or field we can use position attribute.
Enterprise If we want to inherit the view and add field after an existing field, we c an use the position attribute with value ‘after’.
Enterprise The new field is placed in view after the partner id.
Enterprise If we want to place the new field before any field while inheriting we can use the position attribute with value ‘before’.
Enterprise The new field is placed before the partner id.
Enterprise If we want to place the new field, inside a div or a group, use the position attribute with value ‘inside’.
Enterprise The field is added inside the group partner_details.
Enterprise If we want to replace a div or a field, we can use the position attribute with value replace and add our new div or field. Here we can replace the expiration field and add our new field.
Enterprise Here we replaced the validate_date with test field.
Enterprise Now the field is replaced with new field.
Enterprise We can also add or change the value of the attributes using the position attribute with value ‘attributes’. We can add multiple attributes and give the value inside the attribute tag.
Enterprise Here the test field is made readonly and required using the position attributes.
For More Info. Check our company website for related blogs and Odoo book. Check our YouTube channel for functional and technical videos in Odoo. Enterprise www.cybrosys.com