Hello,
i'm odoo developer for more than 8 years now and still have one question, i've read documentation many time also in code but for now can't find answer what difference with and without decoration model and model_create_multi in both code works V15
-----------------------------------------------
@api.model_create_multi
def create(self, vals):
cashboxes = super().create(vals)
return cashboxes
-----------------------------------------------
@api.model
def _get_default_currency(self):
journal = self._get_default_journal()
return journal.currency_id