Merge pull request #5409 from expsa/fix/remove-branch-short-name-20251113-162601

fix: remove non-existent branch_short_name field causing KeyError
This commit is contained in:
Mohamed Eltayar 2025-11-13 16:28:24 +03:00 committed by GitHub
commit 50f9025fc9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 6 deletions

View File

@ -131,12 +131,6 @@ class PurchaseOrderCustom(models.Model):
store=True,
readonly=True
)
branch_short_name = fields.Char(
string='Branch',
related='branch_id.branch_short_name',
store=True,
readonly=True
)
purpose = fields.Char()
category_ids = fields.Many2many('product.category', string='Categories')
committe_members = fields.One2many('committe.member', inverse_name='po_id')