mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-22 14:39:19 +00:00
fix(project settings): add checkbox to auto fetch timesheet in sales invoice
This commit is contained in:
@@ -8,7 +8,8 @@
|
|||||||
"timesheet_sb",
|
"timesheet_sb",
|
||||||
"ignore_workstation_time_overlap",
|
"ignore_workstation_time_overlap",
|
||||||
"ignore_user_time_overlap",
|
"ignore_user_time_overlap",
|
||||||
"ignore_employee_time_overlap"
|
"ignore_employee_time_overlap",
|
||||||
|
"fetch_timesheet_in_sales_invoice"
|
||||||
],
|
],
|
||||||
"fields": [
|
"fields": [
|
||||||
{
|
{
|
||||||
@@ -33,11 +34,18 @@
|
|||||||
"fieldname": "ignore_employee_time_overlap",
|
"fieldname": "ignore_employee_time_overlap",
|
||||||
"fieldtype": "Check",
|
"fieldtype": "Check",
|
||||||
"label": "Ignore Employee Time Overlap"
|
"label": "Ignore Employee Time Overlap"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"default": "0",
|
||||||
|
"description": "Enabling the check box will fetch timesheet on select of a Project in Sales Invoice",
|
||||||
|
"fieldname": "fetch_timesheet_in_sales_invoice",
|
||||||
|
"fieldtype": "Check",
|
||||||
|
"label": "Fetch Timesheet in Sales Invoice"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"issingle": 1,
|
"issingle": 1,
|
||||||
"links": [],
|
"links": [],
|
||||||
"modified": "2024-03-27 13:10:21.984404",
|
"modified": "2025-02-13 23:01:27.321902",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Projects",
|
"module": "Projects",
|
||||||
"name": "Projects Settings",
|
"name": "Projects Settings",
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ class ProjectsSettings(Document):
|
|||||||
if TYPE_CHECKING:
|
if TYPE_CHECKING:
|
||||||
from frappe.types import DF
|
from frappe.types import DF
|
||||||
|
|
||||||
|
fetch_timesheet_in_sales_invoice: DF.Check
|
||||||
ignore_employee_time_overlap: DF.Check
|
ignore_employee_time_overlap: DF.Check
|
||||||
ignore_user_time_overlap: DF.Check
|
ignore_user_time_overlap: DF.Check
|
||||||
ignore_workstation_time_overlap: DF.Check
|
ignore_workstation_time_overlap: DF.Check
|
||||||
|
|||||||
Reference in New Issue
Block a user