[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 -*-
# 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
# it under the terms of the GNU Affero General Public License as
@ -18,7 +18,7 @@
{
'name': 'GOLEM Member Family Quotient',
'summary': 'GOLEM Members Family Quotients',
'version': '10.0.1.0.0',
'version': '10.0.1.0.1',
'category': 'GOLEM',
'author': 'Fabien Bourgeois',
'license': 'AGPL-3',

View File

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

View File

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

View File

@ -1,6 +1,6 @@
# -*- 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
# it under the terms of the GNU Affero General Public License as
@ -24,4 +24,4 @@ class GolemMember(models.Model):
_inherit = 'golem.member'
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="number" position="after">
<field name="caf_number" />
<field name="qf" />
<field name="family_quotient" />
</field>
</field>
</record>