@ -86,6 +86,8 @@ Contributors
* David Vidal
* Pedro M. Baeza
* Nikul Chaudhary <nikulchaudhary2112@gmail.com>
Maintainers
~~~~~~~~~~~
@ -7,7 +7,7 @@
{
'name': 'Employee quantity in partners',
'summary': 'Know how many employees a partner has',
'version': '11.0.1.0.0',
'version': '12.0.1.0.0',
'category': 'Customer Relationship Management',
"author": 'Tecnativa, '
'Odoo Community Association (OCA)',
@ -21,4 +21,7 @@ class ResPartnerEmployeeQuantityRange(models.Model):
_name = "res.partner.employee_quantity_range"
_description = "Partner employee quantity range"
name = fields.Char(required=True, translate=True)
name = fields.Char(
required=True,
translate=True
)
@ -5,3 +5,5 @@
* Jairo Llopis
@ -25,7 +25,8 @@
<field name="inherit_id" ref="base.view_res_partner_filter"/>
<field name="arch" type="xml">
<filter name="salesperson" position="after">
<filter string="Employee Quantity"
<filter name="employee_quantity"
string="Employee Quantity"
domain="[('is_company','=', True)]"
context="{'group_by': 'employee_quantity_range_id'}"/>
</filter>