Fix bemade_fsm reports referring to partner_location_id and pid_tag

This commit is contained in:
Marc Durepos 2024-09-04 09:24:35 -04:00
parent 8007912746
commit 0165e5e0c5
4 changed files with 9 additions and 9 deletions

View file

@ -20,7 +20,7 @@
########################################################################################
{
"name": "Improved Field Service Management",
"version": "17.0.0.4.0",
"version": "17.0.0.4.1",
"summary": (
"Adds functionality necessary for managing field service operations at Durpro."
),

View file

@ -687,9 +687,9 @@ msgid "Owned Equipments"
msgstr "Équipements possédés"
#. module: bemade_fsm
#: model:ir.model.fields,field_description:bemade_fsm.field_bemade_fsm_equipment__pid_tag
msgid "P&ID Tag"
msgstr "Tag P&ID"
#: model:ir.model.fields,field_description:bemade_fsm.field_bemade_fsm_equipment__code
msgid "Code"
msgstr "Code"
#. module: bemade_fsm
#: model_terms:ir.ui.view,arch_db:bemade_fsm.project_task_view_search_fsm_inherit
@ -703,7 +703,7 @@ msgid "Parent Task Template"
msgstr "Gabarit de tâche parent"
#. module: bemade_fsm
#: model:ir.model.fields,field_description:bemade_fsm.field_bemade_fsm_equipment__partner_location_id
#: model:ir.model.fields,field_description:bemade_fsm.field_bemade_fsm_equipment__partner_id
msgid "Physical Address"
msgstr "Adresse physique"

View file

@ -435,7 +435,7 @@
<tbody>
<t t-foreach="doc.equipment_ids" t-as="equipment">
<tr>
<td><span t-esc="equipment.pid_tag" /></td>
<td><span t-esc="equipment.code" /></td>
<td><span t-esc="equipment.name" /></td>
<td>
<t t-foreach="equipment.tag_ids" t-as="application">
@ -445,7 +445,7 @@
</t>
</td>
<td
t-esc="equipment.partner_location_id"
t-esc="equipment.partner_id"
t-options='{
"widget": "contact",
"fields": ["name", "address"]}'

View file

@ -17,7 +17,7 @@
<field name="valid_equipment_ids" invisible="1" />
<field
name="summary_equipment_ids"
context="{'default_partner_location_id': partner_shipping_id,}"
context="{'default_partner_id': partner_shipping_id,}"
widget="many2many_tags"
groups="account.group_delivery_invoice_address"
/>
@ -32,7 +32,7 @@
<field
name="default_equipment_ids"
context="{'default_partner_location_id': partner_shipping_id,}"
context="{'default_partner_id': partner_shipping_id,}"
widget="many2many_tags"
domain="[('id', 'in', valid_equipment_ids)]"
groups="account.group_delivery_invoice_address"