注释OCC代码

This commit is contained in:
jinling.yang
2024-07-24 16:33:47 +08:00
parent 0be8d0fbb2
commit a5d8e88f1d
5 changed files with 47 additions and 46 deletions

View File

@@ -237,6 +237,7 @@ class ResPartnerToSale(models.Model):
_inherit = 'res.partner'
purchase_user_id = fields.Many2one('res.users', '采购员')
translated_display_name = fields.Char('11')
@api.constrains('name')
def _check_name(self):