mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-09 00:01:18 +00:00
feat: add difference_posting_date field
(cherry picked from commit 225e56cbca)
# Conflicts:
# erpnext/accounts/doctype/purchase_invoice_advance/purchase_invoice_advance.json
# erpnext/accounts/doctype/purchase_invoice_advance/purchase_invoice_advance.py
# erpnext/accounts/doctype/sales_invoice_advance/sales_invoice_advance.json
# erpnext/accounts/doctype/sales_invoice_advance/sales_invoice_advance.py
This commit is contained in:
@@ -14,7 +14,8 @@
|
|||||||
"advance_amount",
|
"advance_amount",
|
||||||
"allocated_amount",
|
"allocated_amount",
|
||||||
"exchange_gain_loss",
|
"exchange_gain_loss",
|
||||||
"ref_exchange_rate"
|
"ref_exchange_rate",
|
||||||
|
"difference_posting_date"
|
||||||
],
|
],
|
||||||
"fields": [
|
"fields": [
|
||||||
{
|
{
|
||||||
@@ -30,7 +31,7 @@
|
|||||||
"width": "180px"
|
"width": "180px"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"columns": 3,
|
"columns": 2,
|
||||||
"fieldname": "reference_name",
|
"fieldname": "reference_name",
|
||||||
"fieldtype": "Dynamic Link",
|
"fieldtype": "Dynamic Link",
|
||||||
"in_list_view": 1,
|
"in_list_view": 1,
|
||||||
@@ -40,7 +41,7 @@
|
|||||||
"read_only": 1
|
"read_only": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"columns": 3,
|
"columns": 2,
|
||||||
"fieldname": "remarks",
|
"fieldname": "remarks",
|
||||||
"fieldtype": "Text",
|
"fieldtype": "Text",
|
||||||
"in_list_view": 1,
|
"in_list_view": 1,
|
||||||
@@ -111,13 +112,24 @@
|
|||||||
"label": "Reference Exchange Rate",
|
"label": "Reference Exchange Rate",
|
||||||
"non_negative": 1,
|
"non_negative": 1,
|
||||||
"read_only": 1
|
"read_only": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"columns": 2,
|
||||||
|
"fieldname": "difference_posting_date",
|
||||||
|
"fieldtype": "Date",
|
||||||
|
"in_list_view": 1,
|
||||||
|
"label": "Difference Posting Date"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"idx": 1,
|
"idx": 1,
|
||||||
"index_web_pages_for_search": 1,
|
"index_web_pages_for_search": 1,
|
||||||
"istable": 1,
|
"istable": 1,
|
||||||
"links": [],
|
"links": [],
|
||||||
|
<<<<<<< HEAD
|
||||||
"modified": "2021-09-26 15:47:28.167371",
|
"modified": "2021-09-26 15:47:28.167371",
|
||||||
|
=======
|
||||||
|
"modified": "2024-12-20 12:04:46.729972",
|
||||||
|
>>>>>>> 225e56cbca (feat: add difference_posting_date field)
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Accounts",
|
"module": "Accounts",
|
||||||
"name": "Purchase Invoice Advance",
|
"name": "Purchase Invoice Advance",
|
||||||
|
|||||||
@@ -6,4 +6,29 @@ from frappe.model.document import Document
|
|||||||
|
|
||||||
|
|
||||||
class PurchaseInvoiceAdvance(Document):
|
class PurchaseInvoiceAdvance(Document):
|
||||||
|
<<<<<<< HEAD
|
||||||
|
=======
|
||||||
|
# begin: auto-generated types
|
||||||
|
# This code is auto-generated. Do not modify anything in this block.
|
||||||
|
|
||||||
|
from typing import TYPE_CHECKING
|
||||||
|
|
||||||
|
if TYPE_CHECKING:
|
||||||
|
from frappe.types import DF
|
||||||
|
|
||||||
|
advance_amount: DF.Currency
|
||||||
|
allocated_amount: DF.Currency
|
||||||
|
difference_posting_date: DF.Date | None
|
||||||
|
exchange_gain_loss: DF.Currency
|
||||||
|
parent: DF.Data
|
||||||
|
parentfield: DF.Data
|
||||||
|
parenttype: DF.Data
|
||||||
|
ref_exchange_rate: DF.Float
|
||||||
|
reference_name: DF.DynamicLink | None
|
||||||
|
reference_row: DF.Data | None
|
||||||
|
reference_type: DF.Link | None
|
||||||
|
remarks: DF.Text | None
|
||||||
|
# end: auto-generated types
|
||||||
|
|
||||||
|
>>>>>>> 225e56cbca (feat: add difference_posting_date field)
|
||||||
pass
|
pass
|
||||||
|
|||||||
@@ -14,7 +14,8 @@
|
|||||||
"advance_amount",
|
"advance_amount",
|
||||||
"allocated_amount",
|
"allocated_amount",
|
||||||
"exchange_gain_loss",
|
"exchange_gain_loss",
|
||||||
"ref_exchange_rate"
|
"ref_exchange_rate",
|
||||||
|
"difference_posting_date"
|
||||||
],
|
],
|
||||||
"fields": [
|
"fields": [
|
||||||
{
|
{
|
||||||
@@ -30,7 +31,7 @@
|
|||||||
"width": "250px"
|
"width": "250px"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"columns": 3,
|
"columns": 2,
|
||||||
"fieldname": "reference_name",
|
"fieldname": "reference_name",
|
||||||
"fieldtype": "Dynamic Link",
|
"fieldtype": "Dynamic Link",
|
||||||
"in_list_view": 1,
|
"in_list_view": 1,
|
||||||
@@ -41,7 +42,7 @@
|
|||||||
"read_only": 1
|
"read_only": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"columns": 3,
|
"columns": 2,
|
||||||
"fieldname": "remarks",
|
"fieldname": "remarks",
|
||||||
"fieldtype": "Text",
|
"fieldtype": "Text",
|
||||||
"in_list_view": 1,
|
"in_list_view": 1,
|
||||||
@@ -112,13 +113,24 @@
|
|||||||
"label": "Reference Exchange Rate",
|
"label": "Reference Exchange Rate",
|
||||||
"non_negative": 1,
|
"non_negative": 1,
|
||||||
"read_only": 1
|
"read_only": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"columns": 2,
|
||||||
|
"fieldname": "difference_posting_date",
|
||||||
|
"fieldtype": "Date",
|
||||||
|
"in_list_view": 1,
|
||||||
|
"label": "Difference Posting Date"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"idx": 1,
|
"idx": 1,
|
||||||
"index_web_pages_for_search": 1,
|
"index_web_pages_for_search": 1,
|
||||||
"istable": 1,
|
"istable": 1,
|
||||||
"links": [],
|
"links": [],
|
||||||
|
<<<<<<< HEAD
|
||||||
"modified": "2021-09-26 15:47:46.911595",
|
"modified": "2021-09-26 15:47:46.911595",
|
||||||
|
=======
|
||||||
|
"modified": "2024-12-20 11:58:28.962370",
|
||||||
|
>>>>>>> 225e56cbca (feat: add difference_posting_date field)
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Accounts",
|
"module": "Accounts",
|
||||||
"name": "Sales Invoice Advance",
|
"name": "Sales Invoice Advance",
|
||||||
|
|||||||
@@ -6,4 +6,29 @@ from frappe.model.document import Document
|
|||||||
|
|
||||||
|
|
||||||
class SalesInvoiceAdvance(Document):
|
class SalesInvoiceAdvance(Document):
|
||||||
|
<<<<<<< HEAD
|
||||||
|
=======
|
||||||
|
# begin: auto-generated types
|
||||||
|
# This code is auto-generated. Do not modify anything in this block.
|
||||||
|
|
||||||
|
from typing import TYPE_CHECKING
|
||||||
|
|
||||||
|
if TYPE_CHECKING:
|
||||||
|
from frappe.types import DF
|
||||||
|
|
||||||
|
advance_amount: DF.Currency
|
||||||
|
allocated_amount: DF.Currency
|
||||||
|
difference_posting_date: DF.Date | None
|
||||||
|
exchange_gain_loss: DF.Currency
|
||||||
|
parent: DF.Data
|
||||||
|
parentfield: DF.Data
|
||||||
|
parenttype: DF.Data
|
||||||
|
ref_exchange_rate: DF.Float
|
||||||
|
reference_name: DF.DynamicLink | None
|
||||||
|
reference_row: DF.Data | None
|
||||||
|
reference_type: DF.Link | None
|
||||||
|
remarks: DF.Text | None
|
||||||
|
# end: auto-generated types
|
||||||
|
|
||||||
|
>>>>>>> 225e56cbca (feat: add difference_posting_date field)
|
||||||
pass
|
pass
|
||||||
|
|||||||
Reference in New Issue
Block a user