Bonjour, je commence l’application pour mon entreprise, je souhaitais savoir comment faire pour récupérer uniquement les champs que j’ai rajouté pour mon application.
Par exemple :
J’ai ajouté 2 champs aux devis :
- SJE_note
- SJE_date_visite_prealable
Et j’ai modifié le champs default et options de « title »
Quand j’exporte les fixtures, j’ai tous les champs modifié qui sont ajouté à mon application (y compris ceux de construction). J’ai la création de 3 JSON
Ci-dessous le JSON quotation
{
"custom_fields": [
{
"_assign": null,
"_comments": null,
"_liked_by": null,
"_user_tags": null,
"allow_in_quick_entry": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
"collapsible_depends_on": null,
"columns": 0,
"creation": "2025-01-26 23:15:53.272490",
"default": null,
"depends_on": null,
"description": null,
"docstatus": 0,
"dt": "Quotation",
"fetch_from": null,
"fetch_if_empty": 0,
"fieldname": "construction_items_section",
"fieldtype": "Section Break",
"hidden": 0,
"hide_border": 0,
"hide_days": 0,
"hide_seconds": 0,
"idx": 25,
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_global_search": 0,
"in_list_view": 0,
"in_preview": 0,
"in_standard_filter": 0,
"insert_after": "items",
"is_system_generated": 1,
"is_virtual": 0,
"label": null,
"length": 0,
"link_filters": null,
"mandatory_depends_on": null,
"modified": "2025-01-26 23:15:53.272490",
"modified_by": "Administrator",
"module": null,
"name": "Quotation-construction_items_section",
"no_copy": 0,
"non_negative": 0,
"options": null,
"owner": "Administrator",
"permlevel": 0,
"placeholder": null,
"precision": "",
"print_hide": 1,
"print_hide_if_no_value": 0,
"print_width": null,
"read_only": 0,
"read_only_depends_on": null,
"report_hide": 0,
"reqd": 0,
"search_index": 0,
"show_dashboard": 0,
"sort_options": 0,
"translatable": 0,
"unique": 0,
"width": null
},
{
"_assign": null,
"_comments": null,
"_liked_by": null,
"_user_tags": null,
"allow_in_quick_entry": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
"collapsible_depends_on": null,
"columns": 0,
"creation": "2025-01-26 23:15:53.554930",
"default": null,
"depends_on": null,
"description": null,
"docstatus": 0,
"dt": "Quotation",
"fetch_from": null,
"fetch_if_empty": 0,
"fieldname": "item_builder_html",
"fieldtype": "HTML",
"hidden": 0,
"hide_border": 0,
"hide_days": 0,
"hide_seconds": 0,
"idx": 26,
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_global_search": 0,
"in_list_view": 0,
"in_preview": 0,
"in_standard_filter": 0,
"insert_after": "construction_items_section",
"is_system_generated": 1,
"is_virtual": 0,
"label": "Item Builder",
"length": 0,
"link_filters": null,
"mandatory_depends_on": null,
"modified": "2025-01-26 23:15:53.554930",
"modified_by": "Administrator",
"module": null,
"name": "Quotation-item_builder_html",
"no_copy": 0,
"non_negative": 0,
"options": null,
"owner": "Administrator",
"permlevel": 0,
"placeholder": null,
"precision": "",
"print_hide": 1,
"print_hide_if_no_value": 0,
"print_width": null,
"read_only": 0,
"read_only_depends_on": null,
"report_hide": 0,
"reqd": 0,
"search_index": 0,
"show_dashboard": 0,
"sort_options": 0,
"translatable": 0,
"unique": 0,
"width": null
}
],
"custom_perms": [],
"doctype": "Quotation",
"links": [],
"property_setters": [
{
"_assign": null,
"_comments": null,
"_liked_by": null,
"_user_tags": null,
"creation": "2025-01-26 22:43:19.182496",
"default_value": null,
"doc_type": "Quotation",
"docstatus": 0,
"doctype_or_field": "DocField",
"field_name": "base_rounded_total",
"idx": 0,
"is_system_generated": 0,
"modified": "2025-01-26 22:43:19.182496",
"modified_by": "Administrator",
"module": null,
"name": "Quotation-base_rounded_total-hidden",
"owner": "Administrator",
"property": "hidden",
"property_type": "Check",
"row_name": null,
"value": "0"
},
{
"_assign": null,
"_comments": null,
"_liked_by": null,
"_user_tags": null,
"creation": "2025-01-26 22:43:19.688692",
"default_value": null,
"doc_type": "Quotation",
"docstatus": 0,
"doctype_or_field": "DocField",
"field_name": "base_rounded_total",
"idx": 0,
"is_system_generated": 0,
"modified": "2025-01-26 22:43:19.688692",
"modified_by": "Administrator",
"module": null,
"name": "Quotation-base_rounded_total-print_hide",
"owner": "Administrator",
"property": "print_hide",
"property_type": "Check",
"row_name": null,
"value": "1"
},
{
"_assign": null,
"_comments": null,
"_liked_by": null,
"_user_tags": null,
"creation": "2025-01-26 22:43:19.758980",
"default_value": null,
"doc_type": "Quotation",
"docstatus": 0,
"doctype_or_field": "DocField",
"field_name": "disable_rounded_total",
"idx": 0,
"is_system_generated": 0,
"modified": "2025-01-26 22:43:19.758980",
"modified_by": "Administrator",
"module": null,
"name": "Quotation-disable_rounded_total-default",
"owner": "Administrator",
"property": "default",
"property_type": "Text",
"row_name": null,
"value": "0"
},
{
"_assign": null,
"_comments": null,
"_liked_by": null,
"_user_tags": null,
"creation": "2025-01-26 22:43:20.616865",
"default_value": null,
"doc_type": "Quotation",
"docstatus": 0,
"doctype_or_field": "DocField",
"field_name": "in_words",
"idx": 0,
"is_system_generated": 0,
"modified": "2025-01-26 22:43:20.616865",
"modified_by": "Administrator",
"module": null,
"name": "Quotation-in_words-hidden",
"owner": "Administrator",
"property": "hidden",
"property_type": "Check",
"row_name": null,
"value": "0"
},
{
"_assign": null,
"_comments": null,
"_liked_by": null,
"_user_tags": null,
"creation": "2025-01-26 22:43:20.641559",
"default_value": null,
"doc_type": "Quotation",
"docstatus": 0,
"doctype_or_field": "DocField",
"field_name": "in_words",
"idx": 0,
"is_system_generated": 0,
"modified": "2025-01-26 22:43:20.641559",
"modified_by": "Administrator",
"module": null,
"name": "Quotation-in_words-print_hide",
"owner": "Administrator",
"property": "print_hide",
"property_type": "Check",
"row_name": null,
"value": "0"
},
{
"_assign": null,
"_comments": null,
"_liked_by": null,
"_user_tags": null,
"creation": "2025-01-30 19:23:47.155754",
"default_value": null,
"doc_type": "Quotation",
"docstatus": 0,
"doctype_or_field": "DocType",
"field_name": null,
"idx": 0,
"is_system_generated": 0,
"modified": "2025-01-30 19:23:47.155754",
"modified_by": "Administrator",
"module": null,
"name": "Quotation-main-field_order",
"owner": "Administrator",
"property": "field_order",
"property_type": "Data",
"row_name": null,
"value": "[\"customer_section\", \"title\", \"naming_series\", \"quotation_to\", \"party_name\", \"customer_name\", \"sje_note\", \"sje_date_visite_prealable\", \"column_break_7\", \"transaction_date\", \"valid_till\", \"column_break1\", \"company\", \"order_type\", \"recurrence_period\", \"amended_from\", \"currency_and_price_list\", \"currency\", \"conversion_rate\", \"column_break2\", \"selling_price_list\", \"price_list_currency\", \"plc_conversion_rate\", \"ignore_pricing_rule\", \"items_section\", \"scan_barcode\", \"items\", \"construction_items_section\", \"item_builder_html\", \"sec_break23\", \"total_qty\", \"total_net_weight\", \"column_break_28\", \"base_total\", \"base_net_total\", \"column_break_31\", \"total\", \"net_total\", \"taxes_section\", \"taxes_and_charges\", \"column_break_36\", \"tax_category\", \"column_break_34\", \"shipping_rule\", \"incoterm\", \"named_place\", \"section_break_36\", \"taxes\", \"section_break_39\", \"base_total_taxes_and_charges\", \"column_break_42\", \"total_taxes_and_charges\", \"totals\", \"base_grand_total\", \"base_rounding_adjustment\", \"base_rounded_total\", \"base_in_words\", \"column_break3\", \"grand_total\", \"rounding_adjustment\", \"rounded_total\", \"disable_rounded_total\", \"in_words\", \"section_break_44\", \"apply_discount_on\", \"base_discount_amount\", \"coupon_code\", \"column_break_46\", \"additional_discount_percentage\", \"discount_amount\", \"referral_sales_partner\", \"sec_tax_breakup\", \"other_charges_calculation\", \"bundle_items_section\", \"packed_items\", \"pricing_rule_details\", \"pricing_rules\", \"address_and_contact_tab\", \"billing_address_section\", \"customer_address\", \"address_display\", \"col_break98\", \"contact_person\", \"contact_display\", \"contact_mobile\", \"contact_email\", \"shipping_address_section\", \"shipping_address_name\", \"column_break_81\", \"shipping_address\", \"company_address_section\", \"company_address\", \"column_break_87\", \"company_address_display\", \"terms_tab\", \"payment_schedule_section\", \"payment_terms_template\", \"payment_schedule\", \"terms_section_break\", \"tc_name\", \"terms\", \"more_info_tab\", \"subscription_section\", \"auto_repeat\", \"update_auto_repeat_reference\", \"print_settings\", \"letter_head\", \"group_same_items\", \"column_break_73\", \"select_print_heading\", \"language\", \"lost_reasons_section\", \"lost_reasons\", \"competitors\", \"column_break_117\", \"order_lost_reason\", \"additional_info_section\", \"status\", \"customer_group\", \"territory\", \"column_break_108\", \"campaign\", \"source\", \"column_break4\", \"opportunity\", \"supplier_quotation\", \"enq_det\", \"margin_section\", \"markup_percentage\", \"column_break_htdb\", \"gross_profit_percentage\", \"connections_tab\"]"
},
{
"_assign": null,
"_comments": null,
"_liked_by": null,
"_user_tags": null,
"creation": "2025-01-26 22:43:19.712546",
"default_value": null,
"doc_type": "Quotation",
"docstatus": 0,
"doctype_or_field": "DocField",
"field_name": "rounded_total",
"idx": 0,
"is_system_generated": 0,
"modified": "2025-01-26 22:43:19.712546",
"modified_by": "Administrator",
"module": null,
"name": "Quotation-rounded_total-hidden",
"owner": "Administrator",
"property": "hidden",
"property_type": "Check",
"row_name": null,
"value": "0"
},
{
"_assign": null,
"_comments": null,
"_liked_by": null,
"_user_tags": null,
"creation": "2025-01-26 22:43:19.735776",
"default_value": null,
"doc_type": "Quotation",
"docstatus": 0,
"doctype_or_field": "DocField",
"field_name": "rounded_total",
"idx": 0,
"is_system_generated": 0,
"modified": "2025-01-26 22:43:19.735776",
"modified_by": "Administrator",
"module": null,
"name": "Quotation-rounded_total-print_hide",
"owner": "Administrator",
"property": "print_hide",
"property_type": "Check",
"row_name": null,
"value": "0"
},
{
"_assign": null,
"_comments": null,
"_liked_by": null,
"_user_tags": null,
"creation": "2025-01-26 22:43:24.132891",
"default_value": null,
"doc_type": "Quotation",
"docstatus": 0,
"doctype_or_field": "DocField",
"field_name": "scan_barcode",
"idx": 0,
"is_system_generated": 1,
"modified": "2025-01-26 22:43:24.132891",
"modified_by": "Administrator",
"module": null,
"name": "Quotation-scan_barcode-hidden",
"owner": "Administrator",
"property": "hidden",
"property_type": "Check",
"row_name": null,
"value": "0"
},
{
"_assign": null,
"_comments": null,
"_liked_by": null,
"_user_tags": null,
"creation": "2025-01-30 19:23:47.345264",
"default_value": null,
"doc_type": "Quotation",
"docstatus": 0,
"doctype_or_field": "DocField",
"field_name": "title",
"idx": 0,
"is_system_generated": 0,
"modified": "2025-01-30 19:23:47.345264",
"modified_by": "Administrator",
"module": null,
"name": "Quotation-title-default",
"owner": "Administrator",
"property": "default",
"property_type": "Text",
"row_name": null,
"value": "{customer_name} - {sje_note}"
},
{
"_assign": null,
"_comments": null,
"_liked_by": null,
"_user_tags": null,
"creation": "2025-01-30 19:23:47.265030",
"default_value": null,
"doc_type": "Quotation",
"docstatus": 0,
"doctype_or_field": "DocField",
"field_name": "title",
"idx": 0,
"is_system_generated": 0,
"modified": "2025-01-30 19:23:47.265030",
"modified_by": "Administrator",
"module": null,
"name": "Quotation-title-options",
"owner": "Administrator",
"property": "options",
"property_type": "Text",
"row_name": null,
"value": "{customer_name} - {sje_note}"
}
],
"sync_on_migrate": 1
}
Merci pour votre aide et conseil