frappe / books

Free Accounting Software
https://frappe.io/books
GNU Affero General Public License v3.0
2.68k stars 614 forks source link

Set Template Type error #875

Open tgrignon opened 3 months ago

tgrignon commented 3 months ago

Description

When I try to create a new Print Template, I can't set a Type

Steps to Reproduce

  1. Create a new Template
  2. Save or not
  3. Click on the toggle (...) and select Set Template Type

Info

Error: ReferenceError: fyo is not defined

Stack:

ReferenceError: fyo is not defined
    at Proxy.df (app://assets/index-c659ca9f.js:113:53222)
    at ad.run (app://assets/index-c659ca9f.js:2:5960)
    at get value [as value] (app://assets/index-c659ca9f.js:2:14580)
    at Object.get [as df] (app://assets/index-c659ca9f.js:5:23435)
    at Object.get (app://assets/index-c659ca9f.js:5:21744)
    at Proxy._ve (app://assets/index-c659ca9f.js:113:53896)
    at pm (app://assets/index-c659ca9f.js:5:4292)
    at ad.be [as fn] (app://assets/index-c659ca9f.js:5:39127)
    at ad.run (app://assets/index-c659ca9f.js:2:5960)
    at Qe.R.update (app://assets/index-c659ca9f.js:5:39420)

Version: 0.21.2 Platform: win32 Path: /template-builder/New Print Template 02 Language: English Country: ca