Skip to content
Extraits de code Groupes Projets
Valider a81d649c rédigé par Benjamin - Le Filament's avatar Benjamin - Le Filament
Parcourir les fichiers

[cgscop #58] modifications traductions + suppression bouton import

parent 4fe9ab90
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
"security/ir.model.access.csv", "security/ir.model.access.csv",
"security/security_rules.xml", "security/security_rules.xml",
"views/hr_expense.xml", "views/hr_expense.xml",
"views/hr_expense_sheet.xml",
"views/hr_timesheet.xml", "views/hr_timesheet.xml",
"views/product.xml", "views/product.xml",
], ],
......
# Translation of Odoo Server. # Translation of Odoo Server.
# This file contains the translation of the following modules: # This file contains the translation of the following modules:
# * cgscop_expense # * cgscop_expense
# * hr_expense
# #
msgid "" msgid ""
msgstr "" msgstr ""
...@@ -17,7 +18,9 @@ msgstr "" ...@@ -17,7 +18,9 @@ msgstr ""
#. module: hr_expense #. module: hr_expense
#: model:ir.actions.act_window,name:hr_expense.hr_expense_actions_my_unsubmitted #: model:ir.actions.act_window,name:hr_expense.hr_expense_actions_my_unsubmitted
#: model:ir.ui.menu,name:hr_expense.menu_hr_expense_my_expenses
#: model:ir.ui.menu,name:hr_expense.menu_hr_expense_my_expenses_to_submit #: model:ir.ui.menu,name:hr_expense.menu_hr_expense_my_expenses_to_submit
#: model_terms:ir.ui.view,arch_db:hr_expense.view_hr_expense_filter
msgid "My Expenses" msgid "My Expenses"
msgstr "Mes dépenses" msgstr "Mes dépenses"
...@@ -27,3 +30,44 @@ msgstr "Mes dépenses" ...@@ -27,3 +30,44 @@ msgstr "Mes dépenses"
msgid "My Expense Reports" msgid "My Expense Reports"
msgstr "Mes notes de frais" msgstr "Mes notes de frais"
#. module: hr_expense
#: model_terms:ir.ui.view,arch_db:hr_expense.view_hr_expense_filter
msgid "To report"
msgstr "À soumettre"
#. module: hr_expense
#: model:ir.actions.server,name:hr_expense.hr_expense_submit_action_server
msgid "Submit Report"
msgstr "Créer une note de frais"
#. module: hr_expense
#: model_terms:ir.ui.view,arch_db:hr_expense.hr_expense_view_form
msgid "Create Report"
msgstr "Créer une note de frais"
#. module: cgscop_expense
#: model:ir.model,name:cgscop_expense.model_account_analytic_line
msgid "Analytic Line"
msgstr "Ligne analytique"
#. module: cgscop_expense
#: model:ir.model.fields,field_description:cgscop_expense.field_account_analytic_line__company_currency_id
msgid "Company Currency"
msgstr "Devise de la société"
#. module: cgscop_expense
#: model:ir.model,name:cgscop_expense.model_hr_employee
msgid "Employee"
msgstr "Employé"
#. module: cgscop_expense
#: model:ir.model,name:cgscop_expense.model_hr_expense
msgid "Expense"
msgstr "Dépense"
#. module: cgscop_expense
#: model:ir.model,name:cgscop_expense.model_product_template
msgid "Product Template"
msgstr "Modèle d'article"
...@@ -5,12 +5,15 @@ ...@@ -5,12 +5,15 @@
<odoo> <odoo>
<data> <data>
<!-- Agenda Tree View --> <!-- Frais Tree View -->
<record id="view_hr_expense_cgscop_tree_inherited" model="ir.ui.view"> <record id="view_hr_expense_cgscop_tree_inherited" model="ir.ui.view">
<field name="name">hr.expense.cgscop.tree</field> <field name="name">hr.expense.cgscop.tree</field>
<field name="model">hr.expense</field> <field name="model">hr.expense</field>
<field name="inherit_id" ref="hr_expense.view_expenses_tree"/> <field name="inherit_id" ref="hr_expense.view_expenses_tree"/>
<field name="arch" type="xml"> <field name="arch" type="xml">
<xpath expr="//tree" position="attributes">
<attribute name="import">False</attribute>
</xpath>
<field name="analytic_account_id" position="attributes" options="{'no_open': True, 'no_create': True}"> <field name="analytic_account_id" position="attributes" options="{'no_open': True, 'no_create': True}">
<attribute name="string">Code activité UR</attribute> <attribute name="string">Code activité UR</attribute>
<attribute name="groups"></attribute> <attribute name="groups"></attribute>
...@@ -84,5 +87,17 @@ ...@@ -84,5 +87,17 @@
</field> </field>
</record> </record>
<!-- Frais Kanban View -->
<record id="view_hr_expense_cgscop_kanban_inherited" model="ir.ui.view">
<field name="name">hr.expense.cgscop.kanban</field>
<field name="model">hr.expense</field>
<field name="inherit_id" ref="hr_expense.hr_expense_kanban_view"/>
<field name="arch" type="xml">
<xpath expr="//kanban" position="attributes">
<attribute name="import">False</attribute>
</xpath>
</field>
</record>
</data> </data>
</odoo> </odoo>
<?xml version="1.0"?>
<!-- Copyright 2019 Le Filament
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
<odoo>
<data>
<!-- Note de Frais Tree View -->
<record id="view_hr_expense_sheet_cgscop_tree_inherited" model="ir.ui.view">
<field name="name">hr.expense.sheet.cgscop.tree</field>
<field name="model">hr.expense.sheet</field>
<field name="inherit_id" ref="hr_expense.view_hr_expense_sheet_tree"/>
<field name="arch" type="xml">
<xpath expr="//tree" position="attributes">
<attribute name="import">False</attribute>
</xpath>
</field>
</record>
<!-- Note de Frais Kanban View -->
<record id="view_hr_expense_sheet_cgscop_kanban_inherited" model="ir.ui.view">
<field name="name">hr.expense.sheet.cgscop.kanban</field>
<field name="model">hr.expense.sheet</field>
<field name="inherit_id" ref="hr_expense.view_hr_expense_sheet_kanban"/>
<field name="arch" type="xml">
<xpath expr="//kanban" position="attributes">
<attribute name="import">False</attribute>
</xpath>
</field>
</record>
</data>
</odoo>
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter