[REF]GOLEM Member FamilyQuotient : field renaming

This commit is contained in:
Fabien BOURGEOIS 2018-08-04 01:07:19 +02:00
parent 9307ece7d1
commit e2d72cb4ab
6 changed files with 70 additions and 16 deletions

View File

@ -0,0 +1,55 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2018 Fabien Bourgeois <fabien@yaltik.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<odoo>
<data>
<!-- Tree -->
<record model="ir.ui.view" id="golem_partner_area_view_tree">
<field name="name">GOLEM Partner Area Tree</field>
<field name="model">golem.partner.area</field>
<field name="arch" type="xml">
<tree editable="bottom">
<field name="sequence" widget="handle" />
<field name="name" />
</tree>
</field>
</record>
<!-- Search -->
<record id="golem_partner_area_view_search" model="ir.ui.view">
<field name="name">GOLEM Partner Area Search</field>
<field name="model">golem.partner.area</field>
<field name="arch" type="xml">
<search>
<field name="name" />
</search>
</field>
</record>
<!-- Actions -->
<act_window id="golem_partner_area_action"
name="Areas" res_model="golem.partner.area" view_mode="tree" />
<!-- Menus -->
<menuitem id="golem_partner_area_menu" name="Areas"
parent="res_partner_category_menu" action="golem_partner_area_action"
sequence="20" />
</data>
</odoo>

View File

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Copyright 2017 Fabien Bourgeois <fabien@yaltik.com> # Copyright 2017-2018 Fabien Bourgeois <fabien@yaltik.com>
# #
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as # it under the terms of the GNU Affero General Public License as
@ -18,7 +18,7 @@
{ {
'name': 'GOLEM Member Family Quotient', 'name': 'GOLEM Member Family Quotient',
'summary': 'GOLEM Members Family Quotients', 'summary': 'GOLEM Members Family Quotients',
'version': '10.0.1.0.0', 'version': '10.0.1.0.1',
'category': 'GOLEM', 'category': 'GOLEM',
'author': 'Fabien Bourgeois', 'author': 'Fabien Bourgeois',
'license': 'AGPL-3', 'license': 'AGPL-3',

View File

@ -6,15 +6,14 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Odoo Server 10.0\n" "Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-05-01 20:55+0000\n" "POT-Creation-Date: 2018-08-03 22:59+0000\n"
"PO-Revision-Date: 2017-05-01 20:55+0000\n" "PO-Revision-Date: 2018-08-04 01:06+0200\n"
"Last-Translator: <>\n" "Last-Translator: <>\n"
"Language-Team: \n" "Language-Team: \n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n" "Content-Transfer-Encoding: \n"
"Language: fr\n" "Plural-Forms: \n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#. module: golem_member_familyquotient #. module: golem_member_familyquotient
#: model:ir.model.fields,field_description:golem_member_familyquotient.field_golem_member_caf_number #: model:ir.model.fields,field_description:golem_member_familyquotient.field_golem_member_caf_number
@ -22,12 +21,12 @@ msgid "CAF Number"
msgstr "Numéro CAF" msgstr "Numéro CAF"
#. module: golem_member_familyquotient #. module: golem_member_familyquotient
#: model:ir.model.fields,field_description:golem_member_familyquotient.field_golem_member_qf #: model:ir.model.fields,field_description:golem_member_familyquotient.field_golem_member_family_quotient
msgid "Family Quotient" msgid "Family quotient"
msgstr "Quotient familial" msgstr "Quotient familial"
#. module: golem_member_familyquotient #. module: golem_member_familyquotient
#: model:ir.model,name:golem_member_familyquotient.model_golem_member #: model:ir.model,name:golem_member_familyquotient.model_golem_member
msgid "GOLEM Member" msgid "GOLEM Member"
msgstr "Adhérent" msgstr "Usager"

View File

@ -6,8 +6,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Odoo Server 10.0\n" "Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-05-01 20:54+0000\n" "POT-Creation-Date: 2018-08-03 22:59+0000\n"
"PO-Revision-Date: 2017-05-01 20:54+0000\n" "PO-Revision-Date: 2018-08-03 22:59+0000\n"
"Last-Translator: <>\n" "Last-Translator: <>\n"
"Language-Team: \n" "Language-Team: \n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@ -21,8 +21,8 @@ msgid "CAF Number"
msgstr "" msgstr ""
#. module: golem_member_familyquotient #. module: golem_member_familyquotient
#: model:ir.model.fields,field_description:golem_member_familyquotient.field_golem_member_qf #: model:ir.model.fields,field_description:golem_member_familyquotient.field_golem_member_family_quotient
msgid "Family Quotient" msgid "Family quotient"
msgstr "" msgstr ""
#. module: golem_member_familyquotient #. module: golem_member_familyquotient

View File

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Copyright 2017 Fabien Bourgeois <fabien@yaltik.com> # Copyright 2017-2018 Fabien Bourgeois <fabien@yaltik.com>
# #
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as # it under the terms of the GNU Affero General Public License as
@ -24,4 +24,4 @@ class GolemMember(models.Model):
_inherit = 'golem.member' _inherit = 'golem.member'
caf_number = fields.Char('CAF Number') caf_number = fields.Char('CAF Number')
qf = fields.Integer('Family Quotient') family_quotient = fields.Monetary()

View File

@ -28,7 +28,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<field name="arch" type="xml"> <field name="arch" type="xml">
<field name="number" position="after"> <field name="number" position="after">
<field name="caf_number" /> <field name="caf_number" />
<field name="qf" /> <field name="family_quotient" />
</field> </field>
</field> </field>
</record> </record>