Browse Source

Mar 24 : [UPDT] Banner Updated 'gender_contact'

pull/254/head
AjmalCybro 2 years ago
parent
commit
677bb85d90
  1. 7
      gender_contact/README.rst
  2. 11
      gender_contact/__manifest__.py
  3. BIN
      gender_contact/static/description/assets/screenshots/gender_1.png
  4. BIN
      gender_contact/static/description/assets/screenshots/gender_2.png
  5. BIN
      gender_contact/static/description/assets/screenshots/gender_3.png
  6. BIN
      gender_contact/static/description/assets/screenshots/gender_4.png
  7. BIN
      gender_contact/static/description/assets/screenshots/gender_5.png
  8. BIN
      gender_contact/static/description/assets/screenshots/gender_6.png
  9. BIN
      gender_contact/static/description/banner.jpg
  10. BIN
      gender_contact/static/description/banner.png
  11. 38
      gender_contact/static/description/index.html
  12. 15
      gender_contact/views/gender_view.xml

7
gender_contact/README.rst

@ -1,4 +1,4 @@
Gender Contacts v15
Gender In Contacts v15
===========================
This module will helps you to give the gender details for your contact
@ -12,6 +12,11 @@ Tech
* [Python] - Models
* [XML] - Odoo views
License
-------
General Public License, Version 3 (LGPL v3).
(https://www.odoo.com/documentation/user/15.0/legal/licenses/licenses.html)
Installation
============
- www.odoo.com/documentation/15.0/setup/install.html

11
gender_contact/__manifest__.py

@ -22,7 +22,7 @@
###################################################################################
{
'name': 'Gender Contact',
'name': 'Gender In Contacts',
'version': '15.0.1.0.0',
'summary': """This module will helps you to give gender details for your contact.""",
'description': "Module helps you to manage the gender information of your partner as well as in the contacts.",
@ -32,12 +32,11 @@
'maintainer': 'Cybrosys Techno Solutions',
'website': "https://www.cybrosys.com",
'depends': ['base', 'contacts'],
'data': ['views/gender_view.xml'
],
'data': ['views/gender_view.xml'],
'demo': [],
'images': ['static/description/banner.png'],
'images': ['static/description/banner.jpg'],
'license': 'AGPL-3',
'installable': True,
'auto_install': True,
'application': True,
'auto_install': False,
'application': False,
}

BIN
gender_contact/static/description/assets/screenshots/gender_1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

BIN
gender_contact/static/description/assets/screenshots/gender_2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

BIN
gender_contact/static/description/assets/screenshots/gender_3.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 759 KiB

BIN
gender_contact/static/description/assets/screenshots/gender_4.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

BIN
gender_contact/static/description/assets/screenshots/gender_5.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 756 KiB

BIN
gender_contact/static/description/assets/screenshots/gender_6.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 202 KiB

BIN
gender_contact/static/description/banner.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

BIN
gender_contact/static/description/banner.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

38
gender_contact/static/description/index.html

@ -137,8 +137,46 @@
<img src="assets/screenshots/screenshot1.png" class="img-responsive img-thumbnail border" width="100%"
height="auto" />
</div>
<div class="col-lg-12 my-2">
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;">
Create contact with gender as male. </p>
<img src="assets/screenshots/gender_1.png" class="img-responsive img-thumbnail border" width="100%"
height="auto" />
</div>
<div class="col-lg-12 my-2">
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;">
Create contact with gender as Female. </p>
<img src="assets/screenshots/gender_2.png" class="img-responsive img-thumbnail border" width="100%"
height="auto" />
</div>
<div class="col-lg-12 my-2">
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;">
Under the filter option we can see Male, Female and Other. We can easily filter the contacts by this. </p>
<img src="assets/screenshots/gender_3.png" class="img-responsive img-thumbnail border" width="100%"
height="auto" />
</div>
<div class="col-lg-12 my-2">
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;">
After selecting filter it will show the selected ones.</p>
<img src="assets/screenshots/gender_4.png" class="img-responsive img-thumbnail border" width="100%"
height="auto" />
</div>
<div class="col-lg-12 my-2">
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;">
And also we can easily group contacts by gender.</p>
<img src="assets/screenshots/gender_5.png" class="img-responsive img-thumbnail border" width="100%"
height="auto" />
We can see this below.
<img src="assets/screenshots/gender_6.png" class="img-responsive img-thumbnail border" width="100%"
height="auto" />
</div>
</div>
<!-- SUGGESTED PRODUCTS -->
<div class="row">

15
gender_contact/views/gender_view.xml

@ -14,5 +14,20 @@
</xpath>
</field>
</record>
<record id="filter_partner_simple_form_gender" model="ir.ui.view">
<field name="name">gender_contact_filter</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="base.view_res_partner_filter"/>
<field name="arch" type="xml">
<xpath expr="//search" position="inside">
<filter string="Male" name="gender" domain="[('gender', '=', 'male')]"/>
<filter string="Female" name="gender" domain="[('gender', '=', 'female')]"/>
<filter string="Others" name="gender" domain="[('gender', '=', 'other')]"/>
</xpath>
<xpath expr="//group" position="inside">
<filter string="Gender" name="gender" context="{'group_by': 'gender'}"/>
</xpath>
</field>
</record>
</data>
</odoo>

Loading…
Cancel
Save