Merge pull request #51259 from nishkagosalia/gh-51233

fix: company creation for Italy country
This commit is contained in:
rohitwaghchaure
2025-12-23 12:42:41 +05:30
committed by GitHub

View File

@@ -231,22 +231,6 @@ def make_custom_fields(update=True):
description=_("Set this if the customer is a Public Administration company."),
depends_on='eval:doc.customer_type=="Company"',
),
dict(
fieldname="first_name",
label="First Name",
fieldtype="Data",
insert_after="salutation",
print_hide=1,
depends_on='eval:doc.customer_type!="Company"',
),
dict(
fieldname="last_name",
label="Last Name",
fieldtype="Data",
insert_after="first_name",
print_hide=1,
depends_on='eval:doc.customer_type!="Company"',
),
],
"Mode of Payment": [
dict(