08/02/2024 -20h
parent
31d4ddb312
commit
37708f61cc
|
@ -1,13 +1,10 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project version="4">
|
<project version="4">
|
||||||
<component name="ChangeListManager">
|
<component name="ChangeListManager">
|
||||||
<list default="true" id="c6d0259a-16e1-410d-91a1-830590ee2a08" name="Changes" comment="05/02/2024 -23h">
|
<list default="true" id="c6d0259a-16e1-410d-91a1-830590ee2a08" name="Changes" comment="06/02/2024 -20h">
|
||||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
<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$/Log/log_file.log" beforeDir="false" afterPath="$PROJECT_DIR$/Log/log_file.log" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/crm_opportunite.py" beforeDir="false" afterPath="$PROJECT_DIR$/crm_opportunite.py" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/partner_order.py" beforeDir="false" afterPath="$PROJECT_DIR$/partner_order.py" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/main.py" beforeDir="false" afterPath="$PROJECT_DIR$/main.py" afterDir="false" />
|
|
||||||
<change beforePath="$PROJECT_DIR$/module_editique.py" beforeDir="false" afterPath="$PROJECT_DIR$/module_editique.py" afterDir="false" />
|
|
||||||
<change beforePath="$PROJECT_DIR$/partners.py" beforeDir="false" afterPath="$PROJECT_DIR$/partners.py" afterDir="false" />
|
|
||||||
</list>
|
</list>
|
||||||
<option name="SHOW_DIALOG" value="false" />
|
<option name="SHOW_DIALOG" value="false" />
|
||||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||||
|
@ -77,13 +74,6 @@
|
||||||
<option name="presentableId" value="Default" />
|
<option name="presentableId" value="Default" />
|
||||||
<updated>1680804787304</updated>
|
<updated>1680804787304</updated>
|
||||||
</task>
|
</task>
|
||||||
<task id="LOCAL-00166" summary="08/12/2023 - 22h30">
|
|
||||||
<created>1702073046202</created>
|
|
||||||
<option name="number" value="00166" />
|
|
||||||
<option name="presentableId" value="LOCAL-00166" />
|
|
||||||
<option name="project" value="LOCAL" />
|
|
||||||
<updated>1702073046202</updated>
|
|
||||||
</task>
|
|
||||||
<task id="LOCAL-00167" summary="11/12/2023 - 20h30">
|
<task id="LOCAL-00167" summary="11/12/2023 - 20h30">
|
||||||
<created>1702323012271</created>
|
<created>1702323012271</created>
|
||||||
<option name="number" value="00167" />
|
<option name="number" value="00167" />
|
||||||
|
@ -420,7 +410,14 @@
|
||||||
<option name="project" value="LOCAL" />
|
<option name="project" value="LOCAL" />
|
||||||
<updated>1707172831686</updated>
|
<updated>1707172831686</updated>
|
||||||
</task>
|
</task>
|
||||||
<option name="localTasksCounter" value="215" />
|
<task id="LOCAL-00215" summary="06/02/2024 -20h">
|
||||||
|
<created>1707246725386</created>
|
||||||
|
<option name="number" value="00215" />
|
||||||
|
<option name="presentableId" value="LOCAL-00215" />
|
||||||
|
<option name="project" value="LOCAL" />
|
||||||
|
<updated>1707246725386</updated>
|
||||||
|
</task>
|
||||||
|
<option name="localTasksCounter" value="216" />
|
||||||
<servers />
|
<servers />
|
||||||
</component>
|
</component>
|
||||||
<component name="Vcs.Log.Tabs.Properties">
|
<component name="Vcs.Log.Tabs.Properties">
|
||||||
|
@ -435,7 +432,6 @@
|
||||||
</option>
|
</option>
|
||||||
</component>
|
</component>
|
||||||
<component name="VcsManagerConfiguration">
|
<component name="VcsManagerConfiguration">
|
||||||
<MESSAGE value="05/01/24 - 20h30" />
|
|
||||||
<MESSAGE value="06/01/24 - 20h30" />
|
<MESSAGE value="06/01/24 - 20h30" />
|
||||||
<MESSAGE value="08/01/24 - 22h30" />
|
<MESSAGE value="08/01/24 - 22h30" />
|
||||||
<MESSAGE value="09/01/24 - 19h30" />
|
<MESSAGE value="09/01/24 - 19h30" />
|
||||||
|
@ -460,6 +456,7 @@
|
||||||
<MESSAGE value="04/02/2024 - 21h" />
|
<MESSAGE value="04/02/2024 - 21h" />
|
||||||
<MESSAGE value="04/02/2024 - 23h" />
|
<MESSAGE value="04/02/2024 - 23h" />
|
||||||
<MESSAGE value="05/02/2024 -23h" />
|
<MESSAGE value="05/02/2024 -23h" />
|
||||||
<option name="LAST_COMMIT_MESSAGE" value="05/02/2024 -23h" />
|
<MESSAGE value="06/02/2024 -20h" />
|
||||||
|
<option name="LAST_COMMIT_MESSAGE" value="06/02/2024 -20h" />
|
||||||
</component>
|
</component>
|
||||||
</project>
|
</project>
|
1921
Log/log_file.log
1921
Log/log_file.log
File diff suppressed because it is too large
Load Diff
|
@ -2014,6 +2014,8 @@ def Add_Update_Partner_Order_Line(diction):
|
||||||
'order_header_id', 'order_line_status', 'order_line_type', 'order_line_comment',
|
'order_header_id', 'order_line_status', 'order_line_type', 'order_line_comment',
|
||||||
'order_line_montant_hors_taxes', 'order_line_tax_amount', 'order_line_montant_toutes_taxes']
|
'order_line_montant_hors_taxes', 'order_line_tax_amount', 'order_line_montant_toutes_taxes']
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
incom_keys = diction.keys()
|
incom_keys = diction.keys()
|
||||||
for val in incom_keys:
|
for val in incom_keys:
|
||||||
if val not in field_list and val.startswith('my_') is False:
|
if val not in field_list and val.startswith('my_') is False:
|
||||||
|
@ -2071,7 +2073,7 @@ def Add_Update_Partner_Order_Line(diction):
|
||||||
if diction['order_line_status']:
|
if diction['order_line_status']:
|
||||||
order_line_status = diction['order_line_status']
|
order_line_status = diction['order_line_status']
|
||||||
data['order_line_status'] = order_line_status
|
data['order_line_status'] = order_line_status
|
||||||
if( order_line_type == "commansde"):
|
if( order_line_type == "commande"):
|
||||||
if (order_line_status not in MYSY_GV.PARTNER_ORDER_STATUS):
|
if (order_line_status not in MYSY_GV.PARTNER_ORDER_STATUS):
|
||||||
mycommon.myprint(
|
mycommon.myprint(
|
||||||
str(inspect.stack()[0][
|
str(inspect.stack()[0][
|
||||||
|
@ -4873,6 +4875,7 @@ def Convert_Quotation_to_Order(diction):
|
||||||
New_Order_Header = Quotation_header_data
|
New_Order_Header = Quotation_header_data
|
||||||
New_Order_Header['order_header_origin'] = Quotation_header_data_tmp['order_header_ref_interne']
|
New_Order_Header['order_header_origin'] = Quotation_header_data_tmp['order_header_ref_interne']
|
||||||
New_Order_Header['order_header_type'] = "commande"
|
New_Order_Header['order_header_type'] = "commande"
|
||||||
|
New_Order_Header['order_header_status'] = "0"
|
||||||
New_Order_Header['token'] = mytoken
|
New_Order_Header['token'] = mytoken
|
||||||
|
|
||||||
local_status, local_message, local_retval = Add_Partner_Order(New_Order_Header)
|
local_status, local_message, local_retval = Add_Partner_Order(New_Order_Header)
|
||||||
|
@ -5044,6 +5047,7 @@ def Order_Ready_To_Invoice(diction):
|
||||||
"$set": {"order_line_status": "2",
|
"$set": {"order_line_status": "2",
|
||||||
'date_update': str(data['date_update'])}
|
'date_update': str(data['date_update'])}
|
||||||
})
|
})
|
||||||
|
|
||||||
"""print("raw:", inserted_data_line.raw_result)
|
"""print("raw:", inserted_data_line.raw_result)
|
||||||
print("acknowledged:", inserted_data_line.acknowledged)
|
print("acknowledged:", inserted_data_line.acknowledged)
|
||||||
print("matched_count:", inserted_data_line.matched_count)"""
|
print("matched_count:", inserted_data_line.matched_count)"""
|
||||||
|
|
Loading…
Reference in New Issue