[IMP] maintenance_project_task_domain, maintenance_server_data, maintenance_service_http_monitoring, maintenance_create_requests_from_project_task: pre-commit execution
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
===============================
|
||||
maintenance_project_task_domain
|
||||
=============================== maintenance_project_task_domain
|
||||
===============================
|
||||
|
||||
This module adjusts the domain applied to task field in order to limit
|
||||
selection to tasks in any of unfolded stages.
|
||||
This module adjusts the domain applied to task field in order to limit selection to
|
||||
tasks in any of unfolded stages.
|
||||
|
||||
# Installation
|
||||
|
||||
@@ -14,10 +13,10 @@ Use Odoo normal module installation procedure to install
|
||||
|
||||
# Bug Tracker
|
||||
|
||||
Bugs are tracked on `our issues website <https://github.com/elabore-coop/maintenance-tools/issues>`\_. In case of
|
||||
trouble, please check there if your issue has already been
|
||||
reported. If you spotted it first, help us smashing it by providing a
|
||||
detailed and welcomed feedback.
|
||||
Bugs are tracked on
|
||||
`our issues website <https://github.com/elabore-coop/maintenance-tools/issues>`\_. In
|
||||
case of trouble, please check there if your issue has already been reported. If you
|
||||
spotted it first, help us smashing it by providing a detailed and welcomed feedback.
|
||||
|
||||
# Credits
|
||||
|
||||
|
||||
@@ -4,16 +4,14 @@
|
||||
"name": "maintenance_project_task_domain",
|
||||
"version": "16.0.1.0.0",
|
||||
"author": "Elabore",
|
||||
"website": "https://elabore.coop",
|
||||
"website": "https://git.elabore.coop/elabore/maintenance-tools",
|
||||
"maintainer": "Quentin Mondot",
|
||||
"license": "AGPL-3",
|
||||
"category": "Tools",
|
||||
"summary": "This module adjusts the domain applied to task field in order to limit "
|
||||
"selection to tasks in any of unfolded stages.",
|
||||
"selection to tasks in any of unfolded stages.",
|
||||
"depends": ["maintenance_project"],
|
||||
"data": [
|
||||
"views/maintenance_view_form_task_domain.xml"
|
||||
],
|
||||
"data": ["views/maintenance_view_form_task_domain.xml"],
|
||||
"installable": True,
|
||||
"auto_install": True,
|
||||
"application": False,
|
||||
|
||||
@@ -1,14 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<odoo>
|
||||
<record id="maintenance_view_form_task_domain" model="ir.ui.view">
|
||||
<field name="name">maintenance.form.task.domain</field>
|
||||
<field name="model">maintenance.request</field>
|
||||
<field name="inherit_id" ref="maintenance_project.hr_equipment_request_view_form" />
|
||||
<field
|
||||
name="inherit_id"
|
||||
ref="maintenance_project.hr_equipment_request_view_form"
|
||||
/>
|
||||
<field name="priority" eval="99" />
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//field[@name='task_id' and @domain]" position="attributes">
|
||||
<attribute
|
||||
name="domain"
|
||||
name="domain"
|
||||
>[('project_id', '=', project_id),('stage_id.fold', '=', False)]</attribute>
|
||||
</xpath>
|
||||
</field>
|
||||
|
||||
Reference in New Issue
Block a user