master
cherif 2024-10-21 12:12:32 +02:00
parent 0abecd772d
commit 1853e18ecf
3 changed files with 5318 additions and 12 deletions

View File

@ -1,8 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ChangeListManager">
<list default="true" id="c6d0259a-16e1-410d-91a1-830590ee2a08" name="Changes" comment="13/10/2024 - sdf14h">
<list default="true" id="c6d0259a-16e1-410d-91a1-830590ee2a08" name="Changes" comment="13/10/2024 - sdfqsdqs14h">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Log/log_file.log" beforeDir="false" afterPath="$PROJECT_DIR$/Log/log_file.log" afterDir="false" />
<change beforePath="$PROJECT_DIR$/partner_order.py" beforeDir="false" afterPath="$PROJECT_DIR$/partner_order.py" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
@ -72,13 +74,6 @@
<option name="presentableId" value="Default" />
<updated>1680804787304</updated>
</task>
<task id="LOCAL-00360" summary="29/07/2024 - 12h">
<created>1722251969652</created>
<option name="number" value="00360" />
<option name="presentableId" value="LOCAL-00360" />
<option name="project" value="LOCAL" />
<updated>1722251969653</updated>
</task>
<task id="LOCAL-00361" summary="29/07/2024 - 21h">
<created>1722279870243</created>
<option name="number" value="00361" />
@ -415,7 +410,14 @@
<option name="project" value="LOCAL" />
<updated>1728994141094</updated>
</task>
<option name="localTasksCounter" value="409" />
<task id="LOCAL-00409" summary="13/10/2024 - sdfqsdqs14h">
<created>1729008318164</created>
<option name="number" value="00409" />
<option name="presentableId" value="LOCAL-00409" />
<option name="project" value="LOCAL" />
<updated>1729008318165</updated>
</task>
<option name="localTasksCounter" value="410" />
<servers />
</component>
<component name="Vcs.Log.Tabs.Properties">
@ -457,7 +459,6 @@
</option>
</component>
<component name="VcsManagerConfiguration">
<MESSAGE value="dddqsddddss" />
<MESSAGE value="31082024" />
<MESSAGE value="31/08/2024 - 18h50" />
<MESSAGE value="01/09/2024 - 14:00" />
@ -482,6 +483,7 @@
<MESSAGE value="12/10/204 - 18h" />
<MESSAGE value="13/10/2024 - 14h" />
<MESSAGE value="13/10/2024 - sdf14h" />
<option name="LAST_COMMIT_MESSAGE" value="13/10/2024 - sdf14h" />
<MESSAGE value="13/10/2024 - sdfqsdqs14h" />
<option name="LAST_COMMIT_MESSAGE" value="13/10/2024 - sdfqsdqs14h" />
</component>
</project>

File diff suppressed because one or more lines are too long

View File

@ -9207,7 +9207,16 @@ def Create_Automatic_Quotation(diction):
lines_node = {}
lines_node['token'] = my_partner['token']
lines_node['order_line_id'] = ""
"""
16/10/2024 :
Sur le site, on ne vend que des formation
"""
if( "order_line_type_article" in valide_lead_website_data.keys() ):
lines_node['order_line_type_article'] = valide_lead_website_data['order_line_type_article']
else:
lines_node['order_line_type_article'] = 'formation'
lines_node['order_line_status'] = "0"
lines_node['order_line_status'] = "0"
lines_node['order_line_type'] = "devis"
@ -9227,7 +9236,6 @@ def Create_Automatic_Quotation(diction):
local_create_quotation_line_status, local_create_quotation_line_retval = Add_Update_Partner_Order_Line(lines_node)
if(local_create_quotation_line_status is False ):