fix: changed naming series to random for SABB
This commit is contained in:
@@ -1,13 +1,12 @@
|
||||
{
|
||||
"actions": [],
|
||||
"autoname": "naming_series:",
|
||||
"autoname": "hash",
|
||||
"creation": "2023-08-11 17:22:12.907518",
|
||||
"doctype": "DocType",
|
||||
"editable_grid": 1,
|
||||
"engine": "InnoDB",
|
||||
"field_order": [
|
||||
"item_details_tab",
|
||||
"naming_series",
|
||||
"company",
|
||||
"item_name",
|
||||
"has_serial_no",
|
||||
@@ -152,6 +151,7 @@
|
||||
"fieldtype": "Column Break"
|
||||
},
|
||||
{
|
||||
"allow_on_submit": 1,
|
||||
"fieldname": "avg_rate",
|
||||
"fieldtype": "Float",
|
||||
"label": "Avg Rate",
|
||||
@@ -159,6 +159,7 @@
|
||||
"read_only": 1
|
||||
},
|
||||
{
|
||||
"allow_on_submit": 1,
|
||||
"fieldname": "total_amount",
|
||||
"fieldtype": "Float",
|
||||
"label": "Total Amount",
|
||||
@@ -166,6 +167,7 @@
|
||||
"read_only": 1
|
||||
},
|
||||
{
|
||||
"allow_on_submit": 1,
|
||||
"fieldname": "total_qty",
|
||||
"fieldtype": "Float",
|
||||
"label": "Total Qty",
|
||||
@@ -195,12 +197,6 @@
|
||||
"reqd": 1,
|
||||
"search_index": 1
|
||||
},
|
||||
{
|
||||
"fieldname": "naming_series",
|
||||
"fieldtype": "Select",
|
||||
"label": "Naming Series",
|
||||
"options": "SABB-.########"
|
||||
},
|
||||
{
|
||||
"default": "0",
|
||||
"depends_on": "eval:doc.voucher_type == \"Purchase Receipt\"",
|
||||
@@ -251,11 +247,11 @@
|
||||
"index_web_pages_for_search": 1,
|
||||
"is_submittable": 1,
|
||||
"links": [],
|
||||
"modified": "2024-03-27 13:10:38.796503",
|
||||
"modified": "2025-02-12 09:53:32.090309",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Stock",
|
||||
"name": "Serial and Batch Bundle",
|
||||
"naming_rule": "By \"Naming Series\" field",
|
||||
"naming_rule": "Random",
|
||||
"owner": "Administrator",
|
||||
"permissions": [
|
||||
{
|
||||
|
||||
@@ -55,9 +55,7 @@ class SerialandBatchBundle(Document):
|
||||
if TYPE_CHECKING:
|
||||
from frappe.types import DF
|
||||
|
||||
from erpnext.stock.doctype.serial_and_batch_entry.serial_and_batch_entry import (
|
||||
SerialandBatchEntry,
|
||||
)
|
||||
from erpnext.stock.doctype.serial_and_batch_entry.serial_and_batch_entry import SerialandBatchEntry
|
||||
|
||||
amended_from: DF.Link | None
|
||||
avg_rate: DF.Float
|
||||
@@ -70,7 +68,6 @@ class SerialandBatchBundle(Document):
|
||||
item_code: DF.Link
|
||||
item_group: DF.Link | None
|
||||
item_name: DF.Data | None
|
||||
naming_series: DF.Literal["SABB-.########"]
|
||||
posting_date: DF.Date | None
|
||||
posting_time: DF.Time | None
|
||||
returned_against: DF.Data | None
|
||||
|
||||
Reference in New Issue
Block a user