Browse Source

[IMP] res_partner order

16.0
RemiFr82 6 months ago
parent
commit
b5f38bf55f
  1. 2
      crock_base/models/res_partner.py

2
crock_base/models/res_partner.py

@ -3,7 +3,7 @@ from odoo import models, api
class ResPartner(models.Model): class ResPartner(models.Model):
_inherit = "res.partner" _inherit = "res.partner"
_order = "is_company desc, country_id, country_department_id, display_name, id"
_order = "is_company desc, display_name, id"
# @api.onchange("state_id") # @api.onchange("state_id")
# def _onchange_state_id(self): # def _onchange_state_id(self):

Loading…
Cancel
Save