I created form view for bank account and i want to make record from bank account automated inserted in bank journal view (journal.account) when its created
class BankAccount(models.Model): _name = 'bank.account' _description = "Bank Account" bank_id = fields.Many2one('res.bank', string="Bank") company_id = fields.Many2one('res.company', string="Company", default=lambda self: self.env.user.company_id.id)
thanks