Revert "fix: company creation for Italy country"

This commit is contained in:
Mihir Kandoi
2025-12-26 21:38:58 +05:30
committed by GitHub
parent 5f4185ede9
commit 30d4d53171

View File

@@ -231,6 +231,22 @@ 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(