folder rename
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright 2026 Nexa Systems Inc.
|
||||
License OPL-1 (Odoo Proprietary License v1.0)
|
||||
Part of the Fusion Plating product family.
|
||||
|
||||
Workspace folder for Fusion Plating QMS attachments.
|
||||
|
||||
Odoo 19 EE unified the Documents data model: folders are simply
|
||||
``documents.document`` records with ``type = 'folder'`` and a null
|
||||
``folder_id`` (root) or a parent folder reference. This matches the
|
||||
Odoo 18.x / 19.x behaviour where the Documents kanban is driven by
|
||||
a single model rather than a separate ``documents.folder`` model.
|
||||
-->
|
||||
<odoo noupdate="1">
|
||||
|
||||
<record id="documents_folder_plating_quality" model="documents.document">
|
||||
<field name="name">Plating — Quality</field>
|
||||
<field name="type">folder</field>
|
||||
<field name="folder_id" eval="False"/>
|
||||
</record>
|
||||
|
||||
|
||||
</odoo>
|
||||
@@ -0,0 +1,50 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright 2026 Nexa Systems Inc.
|
||||
License OPL-1 (Odoo Proprietary License v1.0)
|
||||
Part of the Fusion Plating product family.
|
||||
|
||||
Tags used by the bridge to categorise mirrored quality attachments.
|
||||
|
||||
Odoo 19 EE organises tags under a two-level hierarchy:
|
||||
documents.facet (a.k.a. "category" — scoped to a folder/workspace)
|
||||
└── documents.tag (individual tags, required to have a facet_id)
|
||||
|
||||
We create one facet called "Record Type" inside the Plating — Quality
|
||||
workspace, then four tags beneath it — one per supported quality
|
||||
record type.
|
||||
-->
|
||||
<odoo noupdate="1">
|
||||
|
||||
<record id="documents_facet_record_type" model="documents.facet">
|
||||
<field name="name">Record Type</field>
|
||||
<field name="folder_id" ref="documents_folder_plating_quality"/>
|
||||
<field name="sequence">10</field>
|
||||
</record>
|
||||
|
||||
<record id="documents_tag_ncr" model="documents.tag">
|
||||
<field name="name">NCR</field>
|
||||
<field name="facet_id" ref="documents_facet_record_type"/>
|
||||
<field name="sequence">10</field>
|
||||
</record>
|
||||
|
||||
<record id="documents_tag_capa" model="documents.tag">
|
||||
<field name="name">CAPA</field>
|
||||
<field name="facet_id" ref="documents_facet_record_type"/>
|
||||
<field name="sequence">20</field>
|
||||
</record>
|
||||
|
||||
<record id="documents_tag_fair" model="documents.tag">
|
||||
<field name="name">FAIR</field>
|
||||
<field name="facet_id" ref="documents_facet_record_type"/>
|
||||
<field name="sequence">30</field>
|
||||
</record>
|
||||
|
||||
<record id="documents_tag_doc_control" model="documents.tag">
|
||||
<field name="name">Doc Control</field>
|
||||
<field name="facet_id" ref="documents_facet_record_type"/>
|
||||
<field name="sequence">40</field>
|
||||
</record>
|
||||
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user