Compare commits
2 commits
26f584e01d
...
120bcb150f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
120bcb150f | ||
|
|
bf00fe21a6 |
1 changed files with 3 additions and 1 deletions
|
|
@ -27,6 +27,7 @@ def before_insert(doc, method):
|
||||||
print("DEBUG: Half-down amount set to:", half_down_amount)
|
print("DEBUG: Half-down amount set to:", half_down_amount)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def on_submit(doc, method):
|
def on_submit(doc, method):
|
||||||
print("DEBUG: on_submit hook triggered for Sales Order:", doc.name)
|
print("DEBUG: on_submit hook triggered for Sales Order:", doc.name)
|
||||||
print("DEBUG: Info from Sales Order")
|
print("DEBUG: Info from Sales Order")
|
||||||
|
|
@ -80,6 +81,7 @@ def on_update_after_submit(doc, method):
|
||||||
frappe.set_value("Project", doc.project, "ready_to_schedule", 1)
|
frappe.set_value("Project", doc.project, "ready_to_schedule", 1)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def create_sales_invoice_from_sales_order(doc, method):
|
def create_sales_invoice_from_sales_order(doc, method):
|
||||||
pass
|
pass
|
||||||
# try:
|
# try:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue