frappe / erpnext

Free and Open Source Enterprise Resource Planning (ERP)
https://erpnext.com
GNU General Public License v3.0
21.78k stars 7.31k forks source link

Can't create new versions of BOMs #35892

Closed MartinFulgueiras closed 1 year ago

MartinFulgueiras commented 1 year ago

Information about bug

Installed Apps ERPNext: v14.0.0-beta.5 Frappe Framework: v14.0.0-beta.6 frappecloud no bench

Hi, i can't create new versions of BOMs in the manufacturing module. Everytime i click on New Version and then want to save, the message appears and can't proceed: image

At the beginning it was the same message but for Item_name, but changed the Naming configuration in customization of Doctype and it solved that, but then this new problem appeared.

I have already unchecked the Unique option in Doctype configuration: image

image

image (I've been trying changing the Naming in the customize section as this solved the previous issue, but to no avail. This image is just an example)

I'm starting to believe this is a bug of some sorts.

Regards and thanks for any help

Martín

Module

manufacturing

Version

Frappe Version - v14.0.0-beta.5 ERPNext Version - v14.0.0-beta.6 Installed on frappecloud

Installation method

FrappeCloud

Relevant log output / Stack trace / Full Error Message.

No response

rohitwaghchaure commented 1 year ago

@MartinFulgueiras You have disabled the Unique property for the item but it seems that the property has still there in the database for the column item. You need to drop the Unique constraint from the item column for the tabBOM table.

MartinFulgueiras commented 1 year ago

Thanks. Also noticed my version is very old. Regards.

El mié., 28 de jun. de 2023 03:24, rohitwaghchaure @.***> escribió:

@MartinFulgueiras https://github.com/MartinFulgueiras You have disabled the Unique property for the item but it seems that the property has still there in the database for the column item. You need to drop the Unique constraint from the item column for the tabBOM table.

— Reply to this email directly, view it on GitHub https://github.com/frappe/erpnext/issues/35892#issuecomment-1611069965, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHWGP2ELMXWC5F3Z4HPXEBDXNPZ4XANCNFSM6AAAAAAZVB5G4E . You are receiving this because you were mentioned.Message ID: @.***>

MartinFulgueiras commented 1 year ago

Issue got solved with version update. Regards