Merge branch 'develop' into crm-carry-forward-communication-comments
This commit is contained in:
commit
f16a88e42c
27
.github/ISSUE_TEMPLATE/bug_report.yaml
vendored
27
.github/ISSUE_TEMPLATE/bug_report.yaml
vendored
@ -24,20 +24,6 @@ body:
|
|||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
- type: dropdown
|
|
||||||
id: version
|
|
||||||
attributes:
|
|
||||||
label: Version
|
|
||||||
description: Affected versions.
|
|
||||||
multiple: true
|
|
||||||
options:
|
|
||||||
- v12
|
|
||||||
- v13
|
|
||||||
- v14
|
|
||||||
- develop
|
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
|
|
||||||
- type: dropdown
|
- type: dropdown
|
||||||
id: module
|
id: module
|
||||||
attributes:
|
attributes:
|
||||||
@ -86,7 +72,7 @@ body:
|
|||||||
- manual install
|
- manual install
|
||||||
- FrappeCloud
|
- FrappeCloud
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: false
|
||||||
|
|
||||||
- type: textarea
|
- type: textarea
|
||||||
id: logs
|
id: logs
|
||||||
@ -95,12 +81,7 @@ body:
|
|||||||
description: Please copy and paste any relevant log output. This will be automatically formatted.
|
description: Please copy and paste any relevant log output. This will be automatically formatted.
|
||||||
render: shell
|
render: shell
|
||||||
|
|
||||||
|
- type: markdown
|
||||||
- type: checkboxes
|
|
||||||
id: terms
|
|
||||||
attributes:
|
attributes:
|
||||||
label: Code of Conduct
|
value: |
|
||||||
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/frappe/erpnext/blob/develop/CODE_OF_CONDUCT.md)
|
By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/frappe/erpnext/blob/develop/CODE_OF_CONDUCT.md)
|
||||||
options:
|
|
||||||
- label: I agree to follow this project's Code of Conduct
|
|
||||||
required: true
|
|
||||||
|
@ -150,7 +150,7 @@
|
|||||||
"fieldtype": "Float",
|
"fieldtype": "Float",
|
||||||
"in_filter": 1,
|
"in_filter": 1,
|
||||||
"in_list_view": 1,
|
"in_list_view": 1,
|
||||||
"label": "Actual Quantity",
|
"label": "Qty Change",
|
||||||
"oldfieldname": "actual_qty",
|
"oldfieldname": "actual_qty",
|
||||||
"oldfieldtype": "Currency",
|
"oldfieldtype": "Currency",
|
||||||
"print_width": "150px",
|
"print_width": "150px",
|
||||||
@ -189,7 +189,7 @@
|
|||||||
"fieldname": "qty_after_transaction",
|
"fieldname": "qty_after_transaction",
|
||||||
"fieldtype": "Float",
|
"fieldtype": "Float",
|
||||||
"in_filter": 1,
|
"in_filter": 1,
|
||||||
"label": "Actual Qty After Transaction",
|
"label": "Qty After Transaction",
|
||||||
"oldfieldname": "bin_aqat",
|
"oldfieldname": "bin_aqat",
|
||||||
"oldfieldtype": "Currency",
|
"oldfieldtype": "Currency",
|
||||||
"print_width": "150px",
|
"print_width": "150px",
|
||||||
@ -210,7 +210,7 @@
|
|||||||
{
|
{
|
||||||
"fieldname": "stock_value",
|
"fieldname": "stock_value",
|
||||||
"fieldtype": "Currency",
|
"fieldtype": "Currency",
|
||||||
"label": "Stock Value",
|
"label": "Balance Stock Value",
|
||||||
"oldfieldname": "stock_value",
|
"oldfieldname": "stock_value",
|
||||||
"oldfieldtype": "Currency",
|
"oldfieldtype": "Currency",
|
||||||
"options": "Company:company:default_currency",
|
"options": "Company:company:default_currency",
|
||||||
@ -219,14 +219,14 @@
|
|||||||
{
|
{
|
||||||
"fieldname": "stock_value_difference",
|
"fieldname": "stock_value_difference",
|
||||||
"fieldtype": "Currency",
|
"fieldtype": "Currency",
|
||||||
"label": "Stock Value Difference",
|
"label": "Change in Stock Value",
|
||||||
"options": "Company:company:default_currency",
|
"options": "Company:company:default_currency",
|
||||||
"read_only": 1
|
"read_only": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fieldname": "stock_queue",
|
"fieldname": "stock_queue",
|
||||||
"fieldtype": "Text",
|
"fieldtype": "Text",
|
||||||
"label": "Stock Queue (FIFO)",
|
"label": "FIFO Stock Queue (qty, rate)",
|
||||||
"oldfieldname": "fcfs_stack",
|
"oldfieldname": "fcfs_stack",
|
||||||
"oldfieldtype": "Text",
|
"oldfieldtype": "Text",
|
||||||
"print_hide": 1,
|
"print_hide": 1,
|
||||||
@ -317,10 +317,11 @@
|
|||||||
"in_create": 1,
|
"in_create": 1,
|
||||||
"index_web_pages_for_search": 1,
|
"index_web_pages_for_search": 1,
|
||||||
"links": [],
|
"links": [],
|
||||||
"modified": "2021-10-08 13:42:51.857631",
|
"modified": "2021-12-21 06:25:30.040801",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Stock",
|
"module": "Stock",
|
||||||
"name": "Stock Ledger Entry",
|
"name": "Stock Ledger Entry",
|
||||||
|
"naming_rule": "Expression (old style)",
|
||||||
"owner": "Administrator",
|
"owner": "Administrator",
|
||||||
"permissions": [
|
"permissions": [
|
||||||
{
|
{
|
||||||
@ -338,5 +339,6 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"sort_field": "modified",
|
"sort_field": "modified",
|
||||||
"sort_order": "DESC"
|
"sort_order": "DESC",
|
||||||
|
"states": []
|
||||||
}
|
}
|
@ -98,6 +98,7 @@ class TestIssue(TestSetUp):
|
|||||||
issue.save()
|
issue.save()
|
||||||
|
|
||||||
self.assertEqual(issue.on_hold_since, frappe.flags.current_time)
|
self.assertEqual(issue.on_hold_since, frappe.flags.current_time)
|
||||||
|
self.assertFalse(issue.resolution_by)
|
||||||
|
|
||||||
creation = get_datetime("2020-03-04 5:00")
|
creation = get_datetime("2020-03-04 5:00")
|
||||||
frappe.flags.current_time = get_datetime("2020-03-04 5:00")
|
frappe.flags.current_time = get_datetime("2020-03-04 5:00")
|
||||||
|
@ -476,7 +476,7 @@ def update_response_and_resolution_metrics(doc, apply_sla_for_resolution):
|
|||||||
priority = get_response_and_resolution_duration(doc)
|
priority = get_response_and_resolution_duration(doc)
|
||||||
start_date_time = get_datetime(doc.get("service_level_agreement_creation") or doc.creation)
|
start_date_time = get_datetime(doc.get("service_level_agreement_creation") or doc.creation)
|
||||||
set_response_by(doc, start_date_time, priority)
|
set_response_by(doc, start_date_time, priority)
|
||||||
if apply_sla_for_resolution:
|
if apply_sla_for_resolution and not doc.get('on_hold_since'): # resolution_by is reset if on hold
|
||||||
set_resolution_by(doc, start_date_time, priority)
|
set_resolution_by(doc, start_date_time, priority)
|
||||||
|
|
||||||
|
|
||||||
@ -624,9 +624,6 @@ def reset_resolution_metrics(doc):
|
|||||||
if doc.meta.has_field("user_resolution_time"):
|
if doc.meta.has_field("user_resolution_time"):
|
||||||
doc.user_resolution_time = None
|
doc.user_resolution_time = None
|
||||||
|
|
||||||
if doc.meta.has_field("agreement_status"):
|
|
||||||
doc.agreement_status = "First Response Due"
|
|
||||||
|
|
||||||
|
|
||||||
# called via hooks on communication update
|
# called via hooks on communication update
|
||||||
def on_communication_update(doc, status):
|
def on_communication_update(doc, status):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user