[ADD] maintenance_equipment_customer: add customer contact link
Store the company contact owning the equipment as a single many2one field, restricted to company partners. Expose linked equipment and installed services on the contact form and filters, so contacts can be searched by service and version.
This commit is contained in:
25
maintenance_equipment_customer/__manifest__.py
Normal file
25
maintenance_equipment_customer/__manifest__.py
Normal file
@@ -0,0 +1,25 @@
|
||||
# Copyright 2026 Stéphan Sainléger (Elabore)
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
{
|
||||
"name": "maintenance_equipment_customer",
|
||||
"version": "18.0.1.0.0",
|
||||
"author": "Elabore",
|
||||
"website": "https://git.elabore.coop/elabore/maintenance-tools",
|
||||
"maintainer": "Stéphan Sainléger",
|
||||
"license": "AGPL-3",
|
||||
"category": "Tools",
|
||||
"summary": "Link maintenance equipment to customer company contacts.",
|
||||
"depends": [
|
||||
"base",
|
||||
"maintenance",
|
||||
"maintenance_server_data",
|
||||
],
|
||||
"data": [
|
||||
"views/maintenance_equipment.xml",
|
||||
"views/res_partner.xml",
|
||||
],
|
||||
"installable": True,
|
||||
"auto_install": False,
|
||||
"application": False,
|
||||
}
|
||||
Reference in New Issue
Block a user