ERPNext 13.13.0 and 13.14.0 - Same Failure When Upgrading (Query Builder Seemingly Referenced)

Hi there,

When running the bench update command on 13.13.0, and also on 13.14.0, the same error is encountered:", line 6, in execute
website_item = frappe.qb.DocType(“Website Item”).as
AttributeError: module ‘frappe’ has no attribute ‘qb’

when it gets to the following patch:

Executing erpnext.patches.v13_0.fetch_thumbnail_in_website_items in (_9a6ff083146bae9f)

Looking at the traceback, it’s using an attribute of ‘qb’, which is seemingly a new thing in Frappe called Query Builder which is in beta until Frappe 14. The current ERPNext stack I have is using Frappe 13.12.1

Any suggestions on how to overcome this?

Thank you,


@Nathaniel_B frappe.qb was introduced in v13.10.0 of frappe. feat: Frappe Query Builder (v13 backport) by mergify[bot] · Pull Request #13950 · frappe/frappe · GitHub

Can you confirm that frappe is on v13.10.0 + again ?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.