first push message
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
<!--
|
||||
Adds the company_id field to the survey form view.
|
||||
Positioned after user_id (Responsible), visible only when the
|
||||
multi-company group is active — same behaviour as stock, sale, etc.
|
||||
|
||||
NOTE for Odoo 19: The core survey form view id is still
|
||||
'survey.survey_form'. If Odoo ever renames it, update the
|
||||
inherit_id ref below accordingly.
|
||||
-->
|
||||
<record id="survey_form_company" model="ir.ui.view">
|
||||
<field name="name">survey.survey.form.company</field>
|
||||
<field name="model">survey.survey</field>
|
||||
<field name="inherit_id" ref="survey.survey_survey_view_form" />
|
||||
<field name="arch" type="xml">
|
||||
<field name="user_id" position="after">
|
||||
<field
|
||||
name="company_id"
|
||||
groups="base.group_multi_company"
|
||||
options="{'no_create': True}"
|
||||
/>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user