diff --git a/project_material_enhanced/i18n/fr.po b/project_material_enhanced/i18n/fr.po index ff209ff7..18ce4a4c 100644 --- a/project_material_enhanced/i18n/fr.po +++ b/project_material_enhanced/i18n/fr.po @@ -36,9 +36,9 @@ msgid "Last Modified on" msgstr "Dernière modification le" #. module: project_material_enhanced -#: model:ir.model.fields,field_description:project_material_enhanced.field_project_task_material__manufacturer_pname -msgid "Manuf. Product Name" -msgstr "Nom chez le fabricant" +#: model:ir.model.fields,field_description:project_material_enhanced.field_project_task_material__manufacturer_pref +msgid "Manuf. Product Code" +msgstr "Code chez le fabricant" #. module: project_material_enhanced #: model:ir.model.fields,field_description:project_material_enhanced.field_project_task_material__manufacturer diff --git a/project_material_enhanced/models/project_task_material.py b/project_material_enhanced/models/project_task_material.py index f722ce9f..13eadd55 100644 --- a/project_material_enhanced/models/project_task_material.py +++ b/project_material_enhanced/models/project_task_material.py @@ -14,9 +14,9 @@ class ProjectTaskMaterial(models.Model): store=True, ) - manufacturer_pname = fields.Char( - string='Manuf. Product Name', - related='product_id.manufacturer_pname', + manufacturer_pref = fields.Char( + string='Manuf. Product Code', + related='product_id.manufacturer_pref', store=True, ) diff --git a/project_material_enhanced/static/description/project_task_material_line.png b/project_material_enhanced/static/description/project_task_material_line.png index 3d1b23f7..a4733b9a 100644 Binary files a/project_material_enhanced/static/description/project_task_material_line.png and b/project_material_enhanced/static/description/project_task_material_line.png differ diff --git a/project_material_enhanced/views/project_task.xml b/project_material_enhanced/views/project_task.xml index dfc7fb2d..2186e602 100644 --- a/project_material_enhanced/views/project_task.xml +++ b/project_material_enhanced/views/project_task.xml @@ -8,7 +8,7 @@ - +