Error's in Develop Branch(ERPNext and Frappe) V10

Error while migrating using bench migrate

In customer.py (erpnext) throwing error while loading due to one import statement from frappe.model.rename_doc import update_linked_doctypes. update_linked_doctypes function doesn’t exist in frappe.model.rename_doc (frappe) file. I checked it.

Error While Starting bench using bench start

Error compiling  erpnext.less
08:15:38 watch.1          | { [Error: 'variables.less' wasn't found. Tried - variables.less,/home/frappe/frappe-bench/apps/erpnext/erpnext/public/less/variables.less,variables.less]
08:15:38 watch.1          |   type: 'File',
08:15:38 watch.1          |   filename: 'erpnext.less',
08:15:38 watch.1          |   index: 0,
08:15:38 watch.1          |   line: 1,
08:15:38 watch.1          |   callLine: NaN,
08:15:38 watch.1          |   callExtract: undefined,
08:15:38 watch.1          |   column: 0,
08:15:38 watch.1          |   extract: [ undefined, '@import "variables.less";', '' ],
08:15:38 watch.1          |   message: '\'variables.less\' wasn\'t found. Tried - variables.less,/home/frappe/frappe-bench/apps/erpnext/erpnext/public/less/variables.less,variables.less',
08:15:38 watch.1          |   stack: undefined }

Patches Information

erpnext.patches.v10_0.added_extra_gst_custom_field
erpnext.patches.v10_0.workflow_leave_application #2018-01-24 #2018-02-02 #2018-02-08
erpnext.patches.v10_0.set_default_payment_terms_based_on_company
erpnext.patches.v10_0.update_sales_order_link_to_purchase_order
erpnext.patches.v10_0.added_extra_gst_custom_field_in_gstr2 #2018-02-13
erpnext.patches.v10_0.item_barcode_childtable_migrate
erpnext.patches.v10_0.rename_price_to_rate_in_pricing_rule
erpnext.patches.v10_0.set_currency_in_pricing_rule
erpnext.patches.v10_0.workflow_expense_claim
erpnext.patches.v10_0.set_b2c_limit
erpnext.patches.v10_0.update_translatable_fields
erpnext.patches.v10_0.rename_offer_letter_to_job_offer
execute:frappe.delete_doc('DocType', 'Production Planning Tool', ignore_missing=True)
erpnext.patches.v10_0.migrate_daily_work_summary_settings_to_daily_work_summary_group
erpnext.patches.v10_0.add_default_cash_flow_mappers
erpnext.patches.v11_0.make_quality_inspection_template
# erpnext.patches.v10_0.update_territory_and_customer_group

Thanks
Navdeep

Did you update both Frappe and Erpnext ?

The statement you are referring to, is importing a function that’s been recently added to the Frappe rename_doc.py file.

So if you have updated your Erpnext and left out Frappe, the error is prone to rise.

Recommended - Update Frappe too

@Zlash65

I didn’t update the system manually using git pull command. I just updated the system using bench update command.
but after facing this issue I resolved it using manual git pull command inside frappe app.

NOTE:
While execution of bench update command I didn’t get any error on terminal.