This commit's purpose is to allow the user to set the company_id of a project to False, meaning the project is no longer restricted for the user who does not have access to the company of the project. This change induces a lot of other small behavior changes/approximation. Since some fields (currency_id, resource_calendar_id, etc) were company dependent, we had to updates some use cases. task-3084819 closes odoo/odoo#122144 Related: odoo/enterprise#41363 Related: odoo/upgrade#4947 Signed-off-by: Xavier Bol (xbo) <xbo@odoo.com>
19 lines
523 B
Python
19 lines
523 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
|
|
{
|
|
'name': 'Project Expenses',
|
|
'version': '1.0',
|
|
'category': 'Services/expenses',
|
|
'summary': 'Project expenses',
|
|
'description': 'Bridge created to add the number of expenses linked to an AA to a project form',
|
|
'depends': ['project_account', 'hr_expense'],
|
|
'demo': [
|
|
'data/project_hr_expense_demo.xml',
|
|
],
|
|
'installable': True,
|
|
'auto_install': True,
|
|
'license': 'LGPL-3',
|
|
}
|