mirror of
https://github.com/bringout/odoomates.git
synced 2026-04-26 04:52:01 +02:00
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:
parent
348f7abe95
commit
5e769f4b39
9 changed files with 44 additions and 69 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue