[FIX] project: fix company_id issue in multi edit
Before this commit when env is not in multi company and user try set parnter of multiple project it show company_id is not defined because of group multi company on company_id field. This commit add company_id field as invisible in list view of project to fix the issue. task-2999323 X-original-commit: a365ba849208b531dec3a3ad05d2fd061906736d Part-of: odoo/odoo#103032
This commit is contained in:
@@ -689,6 +689,7 @@
|
||||
<field name="partner_id" optional="show" string="Customer"/>
|
||||
<field name="privacy_visibility" optional="hide"/>
|
||||
<field name="company_id" optional="show" groups="base.group_multi_company" options="{'no_create': True, 'no_create': True}"/>
|
||||
<field name="company_id" invisible="1"/>
|
||||
<field name="analytic_account_id" optional="hide" groups="analytic.group_analytic_accounting"/>
|
||||
<field name="date_start" string="Start Date" widget="daterange" options="{'related_end_date': 'date'}"/>
|
||||
<field name="date" string="End Date" widget="daterange" options="{'related_start_date': 'date_start'}"/>
|
||||
|
||||
Reference in New Issue
Block a user