Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.

Module: Spreadsheet Oca

Entity: spreadsheet.spreadsheet

Compute Method: _compute_filename

View 18.0 View 19.0
Inputs Method Outputs
  • name
for record in self:
-             record.filename = "%s.json" % (self.name or _("Unnamed"))
+             record.filename = "%s.json" % (self.name or self.env._("Unnamed"))
  • filename

Back to entity