|
@ -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): |
|
|