fix: 19.0 compatibility for accounting_pdf_reports, om_account_budget, om_recurring_payments

- Convert attrs dict to inline attributes (invisible/readonly/required)
- Convert states attribute to invisible conditions
- Remove deprecated numbercall from ir.cron
- Remove deprecated domain from account.budget.post
- Fix group assignments in security XML
- Fix search view group-by references

🤖 assisted by claude
This commit is contained in:
Ernad Husremovic 2026-03-09 18:10:10 +01:00
parent 348f7abe95
commit 5e769f4b39
9 changed files with 44 additions and 69 deletions

View file

@ -13,8 +13,7 @@ class AccountBudgetPost(models.Model):
_description = "Budgetary Position"
name = fields.Char('Name', required=True)
account_ids = fields.Many2many('account.account', 'account_budget_rel', 'budget_id', 'account_id', 'Accounts',
domain=[('deprecated', '=', False)])
account_ids = fields.Many2many('account.account', 'account_budget_rel', 'budget_id', 'account_id', 'Accounts')
company_id = fields.Many2one('res.company', 'Company', required=True, default=lambda self: self.env.company)
def _check_account_ids(self, vals):