forked from Yaltik/golem
[ADD]Member : image permission as new field
This commit is contained in:
parent
49c5c7481a
commit
11b8643d21
@ -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-06-05 07:45+0000\n"
|
"POT-Creation-Date: 2017-06-05 08:24+0000\n"
|
||||||
"PO-Revision-Date: 2017-06-05 07:45+0000\n"
|
"PO-Revision-Date: 2017-06-05 08:24+0000\n"
|
||||||
"Last-Translator: <>\n"
|
"Last-Translator: <>\n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
@ -426,7 +426,7 @@ msgid "GOLEM Members Tags"
|
|||||||
msgstr "Catégories d'adhérents"
|
msgstr "Catégories d'adhérents"
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: code:addons/golem_member/models/golem_member.py:277
|
#: code:addons/golem_member/models/golem_member.py:291
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "GOLEM Members merge has not been implemented yet. Please only merge partners, not members, or delete GOLEM Members manually before merging."
|
msgid "GOLEM Members merge has not been implemented yet. Please only merge partners, not members, or delete GOLEM Members manually before merging."
|
||||||
msgstr "La fusion d'adhérents n'a pas encore été implémentée. Merci de ne fusionner que des contacts non adhérents, ou bien de supprimer les adhérents manuellement en premier lieu."
|
msgstr "La fusion d'adhérents n'a pas encore été implémentée. Merci de ne fusionner que des contacts non adhérents, ou bien de supprimer les adhérents manuellement en premier lieu."
|
||||||
@ -478,6 +478,11 @@ msgstr "Si cette boîte est cochée, cela indique que le membre refuse de recevo
|
|||||||
msgid "Image"
|
msgid "Image"
|
||||||
msgstr "Image"
|
msgstr "Image"
|
||||||
|
|
||||||
|
#. module: golem_member
|
||||||
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_image_permission
|
||||||
|
msgid "Image permission?"
|
||||||
|
msgstr "Autorise les photos?"
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_ref
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_ref
|
||||||
msgid "Internal Reference"
|
msgid "Internal Reference"
|
||||||
@ -693,8 +698,8 @@ msgid "Nationality"
|
|||||||
msgstr "Nationalité"
|
msgstr "Nationalité"
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: code:addons/golem_member/models/golem_member.py:238
|
#: code:addons/golem_member/models/golem_member.py:252
|
||||||
#: code:addons/golem_member/models/golem_member.py:241
|
#: code:addons/golem_member/models/golem_member.py:255
|
||||||
#: selection:golem.member.numberconfig,is_automatic:0
|
#: selection:golem.member.numberconfig,is_automatic:0
|
||||||
#: selection:golem.member.numberconfig,is_per_season:0
|
#: selection:golem.member.numberconfig,is_per_season:0
|
||||||
#, python-format
|
#, python-format
|
||||||
@ -1084,8 +1089,8 @@ msgid "Website of Partner or Company"
|
|||||||
msgstr "Site Web pour les Partenaires ou les Sociétés"
|
msgstr "Site Web pour les Partenaires ou les Sociétés"
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: code:addons/golem_member/models/golem_member.py:238
|
#: code:addons/golem_member/models/golem_member.py:252
|
||||||
#: code:addons/golem_member/models/golem_member.py:241
|
#: code:addons/golem_member/models/golem_member.py:255
|
||||||
#: selection:golem.member.numberconfig,is_automatic:0
|
#: selection:golem.member.numberconfig,is_automatic:0
|
||||||
#: selection:golem.member.numberconfig,is_per_season:0
|
#: selection:golem.member.numberconfig,is_per_season:0
|
||||||
#, python-format
|
#, python-format
|
||||||
|
@ -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-06-05 07:44+0000\n"
|
"POT-Creation-Date: 2017-06-05 08:24+0000\n"
|
||||||
"PO-Revision-Date: 2017-06-05 07:44+0000\n"
|
"PO-Revision-Date: 2017-06-05 08:24+0000\n"
|
||||||
"Last-Translator: <>\n"
|
"Last-Translator: <>\n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
@ -425,7 +425,7 @@ msgid "GOLEM Members Tags"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: code:addons/golem_member/models/golem_member.py:277
|
#: code:addons/golem_member/models/golem_member.py:291
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "GOLEM Members merge has not been implemented yet. Please only merge partners, not members, or delete GOLEM Members manually before merging."
|
msgid "GOLEM Members merge has not been implemented yet. Please only merge partners, not members, or delete GOLEM Members manually before merging."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -477,6 +477,11 @@ msgstr ""
|
|||||||
msgid "Image"
|
msgid "Image"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#. module: golem_member
|
||||||
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_image_permission
|
||||||
|
msgid "Image permission?"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: model:ir.model.fields,field_description:golem_member.field_golem_member_ref
|
#: model:ir.model.fields,field_description:golem_member.field_golem_member_ref
|
||||||
msgid "Internal Reference"
|
msgid "Internal Reference"
|
||||||
@ -686,8 +691,8 @@ msgid "Nationality"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: code:addons/golem_member/models/golem_member.py:238
|
#: code:addons/golem_member/models/golem_member.py:252
|
||||||
#: code:addons/golem_member/models/golem_member.py:241
|
#: code:addons/golem_member/models/golem_member.py:255
|
||||||
#: selection:golem.member.numberconfig,is_automatic:0
|
#: selection:golem.member.numberconfig,is_automatic:0
|
||||||
#: selection:golem.member.numberconfig,is_per_season:0
|
#: selection:golem.member.numberconfig,is_per_season:0
|
||||||
#, python-format
|
#, python-format
|
||||||
@ -1075,8 +1080,8 @@ msgid "Website of Partner or Company"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. module: golem_member
|
#. module: golem_member
|
||||||
#: code:addons/golem_member/models/golem_member.py:238
|
#: code:addons/golem_member/models/golem_member.py:252
|
||||||
#: code:addons/golem_member/models/golem_member.py:241
|
#: code:addons/golem_member/models/golem_member.py:255
|
||||||
#: selection:golem.member.numberconfig,is_automatic:0
|
#: selection:golem.member.numberconfig,is_automatic:0
|
||||||
#: selection:golem.member.numberconfig,is_per_season:0
|
#: selection:golem.member.numberconfig,is_per_season:0
|
||||||
#, python-format
|
#, python-format
|
||||||
|
@ -93,6 +93,7 @@ class GolemMember(models.Model):
|
|||||||
store=True, compute='compute_is_current')
|
store=True, compute='compute_is_current')
|
||||||
is_number_manual = fields.Boolean('Is number manual?', store=False,
|
is_number_manual = fields.Boolean('Is number manual?', store=False,
|
||||||
compute='_compute_is_number_manual')
|
compute='_compute_is_number_manual')
|
||||||
|
image_permission = fields.Boolean('Image permission?', default=True)
|
||||||
|
|
||||||
@api.onchange('country_id')
|
@api.onchange('country_id')
|
||||||
def _onchange_country_id(self):
|
def _onchange_country_id(self):
|
||||||
|
@ -84,15 +84,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
<field name="mobile" placeholder="0000000000"
|
<field name="mobile" placeholder="0000000000"
|
||||||
widget="phonefr" />
|
widget="phonefr" />
|
||||||
<field name="pictures_agreement"/>
|
<field name="pictures_agreement"/>
|
||||||
</group>
|
<field name="opt_out_sms" />
|
||||||
<group>
|
|
||||||
<field name="email" widget="email"
|
<field name="email" widget="email"
|
||||||
placeholder="name@example.org" />
|
placeholder="name@example.org" />
|
||||||
<label for="opt_out" string="Out of mailings?" />
|
<label for="opt_out" string="Out of mailings?" />
|
||||||
<field name="opt_out" nolabel="1" />
|
<field name="opt_out" nolabel="1" />
|
||||||
<field name="opt_out_sms" />
|
</group>
|
||||||
|
<group>
|
||||||
<field name="website" widget="url"
|
<field name="website" widget="url"
|
||||||
placeholder="e.g. www.odoo.com"/>
|
placeholder="e.g. www.odoo.com"/>
|
||||||
|
<field name="image_permission" />
|
||||||
</group>
|
</group>
|
||||||
</group>
|
</group>
|
||||||
</page>
|
</page>
|
||||||
|
Loading…
Reference in New Issue
Block a user