<commit_before><?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<object-views xmlns="http://axelor.com/xml/ns/object-views"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://axelor.com/xml/ns/object-views http://axelor.com/xml/ns/object-views/object-views_5.2.xsd">

    <grid name="supplier-catalog-grid" title="Supplier Catalog" model="com.axelor.apps.purchase.db.SupplierCatalog">
        <field name="supplierPartner" form-view="partner-form" grid-view="partner-grid"/>
        <field name="productSupplierCode"/>
        <field name="productSupplierName"/>
		<field name="supplierPartner.currency" form-view="currency-form" grid-view="currency-grid"/>
        <field name="updateDate"/>
        <field name="minQty"/>
        <field name="price" x-scale="2" />
    </grid>

	<grid name="supplier-catalog-partner-grid" title="Supplier Catalog" model="com.axelor.apps.purchase.db.SupplierCatalog">
		<field name="product.code" width="120"/>
		<field name="product.name"/>
		<field name="productSupplierCode"/>
		<field name="productSupplierName"/>
		<field name="supplierPartner.currency" form-view="currency-form" grid-view="currency-grid"/>
		<field name="updateDate"/>
		<field name="minQty"/>
		<field name="price" x-scale="2" />
	</grid>
    
    <form name="supplier-catalog-form" title="Supplier Catalog" model="com.axelor.apps.purchase.db.SupplierCatalog"
		  onNew="action-supplier-catalog-attrs-init" onLoad="action-supplier-catalog-attrs-init" width="large">
    	<panel name="mainPanel" colSpan="12">
			<field name="supplierPartner" domain="self.isContact = false AND self.isSupplier = true" form-view="partner-form" grid-view="partner-grid"/>
			<field name="supplierPartner.currency" form-view="currency-form" grid-view="currency-grid"/>
			<field name="updateDate"/>
        	<field name="productSupplierCode"/>
        	<field name="productSupplierName"/>
        	<field name="minQty"/>
        	<field name="price"/>
       	</panel>
		<panel name="descriptionPanel" title="Description" colSpan="12">
			<field name="description" showTitle="false" colSpan="12"/>
		</panel>
		<panel-related name="shippingCoefListPanel" field="shippingCoefList" form-view="shipping-coef-form" grid-view="shipping-coef-grid"/>
    </form>

	<form name="supplier-catalog-partner-form" title="Supplier Catalog" model="com.axelor.apps.purchase.db.SupplierCatalog"
		  onNew="action-supplier-catalog-attrs-init" onLoad="action-supplier-catalog-attrs-init" width="large">
		<panel name="mainPanel" colSpan="12">
			<field name="product" form-view="product-form" grid-view="product-grid" onChange="action-supplier-catalog-attrs-update"/>
			<field name="supplierPartner.currency" form-view="currency-form" grid-view="currency-grid"/>
			<field name="updateDate"/>
			<field name="productSupplierCode"/>
			<field name="productSupplierName"/>
			<field name="minQty"/>
			<field name="price"/>
		</panel>
		<panel name="descriptionPanel" title="Description" colSpan="12">
			<field name="description" showTitle="false" colSpan="12"/>
		</panel>
		<panel-related name="shippingCoefListPanel" field="shippingCoefList" form-view="shipping-coef-form" grid-view="shipping-coef-grid"/>
	</form>

    <action-attrs name="action-supplier-catalog-attrs-init">
		<attribute name="scale" for="price" expr="eval: __config__.app.getNbDecimalDigitForUnitPrice()"/>
		<attribute name="hidden" for="shippingCoefList"
				   expr="eval: __parent__ &amp;&amp; !__parent__.defShipCoefByPartner" if="eval: __parent__._model == 'com.axelor.apps.base.db.Product'"/>
		<attribute name="hidden" for="shippingCoefList"
				   expr="eval: product &amp;&amp; !product.defShipCoefByPartner" if="eval: __parent__._model != 'com.axelor.apps.base.db.Product'"/>
	</action-attrs>

	<action-attrs name="action-supplier-catalog-attrs-update">
		<attribute name="hidden" for="shippingCoefList"
				   expr="eval: __parent__ &amp;&amp; !__parent__.defShipCoefByPartner" if="eval: __parent__._model == 'com.axelor.apps.base.db.Product'"/>
		<attribute name="hidden" for="shippingCoefList"
				   expr="eval: product &amp;&amp; !product.defShipCoefByPartner" if="eval __parent__._model != 'com.axelor.apps.base.db.Product'"/>
	</action-attrs>
        <commit_msg>Supplier Catalog:Fix 'action-supplier-catalog-attrs-update' condition syntax<commit_after><?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<object-views xmlns="http://axelor.com/xml/ns/object-views"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://axelor.com/xml/ns/object-views http://axelor.com/xml/ns/object-views/object-views_5.2.xsd">

    <grid name="supplier-catalog-grid" title="Supplier Catalog" model="com.axelor.apps.purchase.db.SupplierCatalog">
        <field name="supplierPartner" form-view="partner-form" grid-view="partner-grid"/>
        <field name="productSupplierCode"/>
        <field name="productSupplierName"/>
		<field name="supplierPartner.currency" form-view="currency-form" grid-view="currency-grid"/>
        <field name="updateDate"/>
        <field name="minQty"/>
        <field name="price" x-scale="2" />
    </grid>

	<grid name="supplier-catalog-partner-grid" title="Supplier Catalog" model="com.axelor.apps.purchase.db.SupplierCatalog">
		<field name="product.code" width="120"/>
		<field name="product.name"/>
		<field name="productSupplierCode"/>
		<field name="productSupplierName"/>
		<field name="supplierPartner.currency" form-view="currency-form" grid-view="currency-grid"/>
		<field name="updateDate"/>
		<field name="minQty"/>
		<field name="price" x-scale="2" />
	</grid>
    
    <form name="supplier-catalog-form" title="Supplier Catalog" model="com.axelor.apps.purchase.db.SupplierCatalog"
		  onNew="action-supplier-catalog-attrs-init" onLoad="action-supplier-catalog-attrs-init" width="large">
    	<panel name="mainPanel" colSpan="12">
			<field name="supplierPartner" domain="self.isContact = false AND self.isSupplier = true" form-view="partner-form" grid-view="partner-grid"/>
			<field name="supplierPartner.currency" form-view="currency-form" grid-view="currency-grid"/>
			<field name="updateDate"/>
        	<field name="productSupplierCode"/>
        	<field name="productSupplierName"/>
        	<field name="minQty"/>
        	<field name="price"/>
       	</panel>
		<panel name="descriptionPanel" title="Description" colSpan="12">
			<field name="description" showTitle="false" colSpan="12"/>
		</panel>
		<panel-related name="shippingCoefListPanel" field="shippingCoefList" form-view="shipping-coef-form" grid-view="shipping-coef-grid"/>
    </form>

	<form name="supplier-catalog-partner-form" title="Supplier Catalog" model="com.axelor.apps.purchase.db.SupplierCatalog"
		  onNew="action-supplier-catalog-attrs-init" onLoad="action-supplier-catalog-attrs-init" width="large">
		<panel name="mainPanel" colSpan="12">
			<field name="product" form-view="product-form" grid-view="product-grid" onChange="action-supplier-catalog-attrs-update"/>
			<field name="supplierPartner.currency" form-view="currency-form" grid-view="currency-grid"/>
			<field name="updateDate"/>
			<field name="productSupplierCode"/>
			<field name="productSupplierName"/>
			<field name="minQty"/>
			<field name="price"/>
		</panel>
		<panel name="descriptionPanel" title="Description" colSpan="12">
			<field name="description" showTitle="false" colSpan="12"/>
		</panel>
		<panel-related name="shippingCoefListPanel" field="shippingCoefList" form-view="shipping-coef-form" grid-view="shipping-coef-grid"/>
	</form>

    <action-attrs name="action-supplier-catalog-attrs-init">
		<attribute name="scale" for="price" expr="eval: __config__.app.getNbDecimalDigitForUnitPrice()"/>
		<attribute name="hidden" for="shippingCoefList"
				   expr="eval: __parent__ &amp;&amp; !__parent__.defShipCoefByPartner" if="eval: __parent__._model == 'com.axelor.apps.base.db.Product'"/>
		<attribute name="hidden" for="shippingCoefList"
				   expr="eval: product &amp;&amp; !product.defShipCoefByPartner" if="eval: __parent__._model != 'com.axelor.apps.base.db.Product'"/>
	</action-attrs>

	<action-attrs name="action-supplier-catalog-attrs-update">
		<attribute name="hidden" for="shippingCoefList"
				   expr="eval: __parent__ &amp;&amp; !__parent__.defShipCoefByPartner" if="eval: __parent__._model == 'com.axelor.apps.base.db.Product'"/>
		<attribute name="hidden" for="shippingCoefList"
				   expr="eval: product &amp;&amp; !product.defShipCoefByPartner" if="eval: __parent__._model != 'com.axelor.apps.base.db.Product'"/>
	</action-attrs>
        
{'fraction_non_alphanumeric': 0.17722403353516536, 'fraction_numerical': 0.006287843502561714, 'mean_word_length': 5.078556263269639, 'pattern_counts': {'":': 0, '<': 123, '<?xml version=': 2, '>': 123, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 12}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4906591', 'n_tokens_mistral': 3005, 'n_tokens_neox': 2821, 'n_words': 418}