Merge pull request #4786 from expsa/khazraji_account_dev

Khazraji account dev
This commit is contained in:
mohammed-alkhazrji 2025-09-30 14:21:46 -08:00 committed by GitHub
commit b6f063f29e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -24,6 +24,7 @@ class PurchaseRequest(models.Model):
currency_field='company_currency_id', store=True)
company_currency_id = fields.Many2one("res.currency", string="Currency", related="company_id.currency_id",
readonly=True)
budget_id = fields.Many2one('crossovered.budget', string="Budget")
@api.depends('line_ids', 'line_ids.line_total')
def _compute_total_amount(self):