Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions beam/beam/scan/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -663,6 +663,13 @@ def get_serial_no(serial_no: str, parent_doctype: str | None = None) -> frappe._
"target": "target.handling_unit",
"context": "target",
},
{
"action": "add_or_associate",
"doctype": "Delivery Note Item",
"field": "delivered_qty",
"target": "target.qty",
"context": "target",
},
{
"action": "add_or_associate",
"doctype": "Delivery Note Item",
Expand Down
18 changes: 9 additions & 9 deletions beam/tests/fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,7 @@
},
"phone": "(704) 885-0542",
"roles": ["Stock Manager", "Item Manager"],
# "department": "Operations",
"department": "Management - APC",
"designation": "Bakery Manager",
},
{
Expand All @@ -745,7 +745,7 @@
"phone": "(658) 583-5499",
"roles": ["Stock User", "BEAM Mobile User"],
"reports_to": "Tristan Hawkins",
# "department": "Operations",
"department": "Operations - APC",
"designation": "Baker",
},
{
Expand All @@ -762,7 +762,7 @@
"phone": "(962) 762-5895",
"roles": ["Stock User", "BEAM Mobile User"],
"reports_to": "Tristan Hawkins",
# "department": "Operations",
"department": "Operations - APC",
"designation": "Baker",
},
{
Expand All @@ -779,7 +779,7 @@
"phone": "(366) 357-8223",
"roles": ["Stock User", "BEAM Mobile User"],
"reports_to": "Tristan Hawkins",
# "department": "Operations",
"department": "Operations - APC",
"designation": "Bakery Manager",
},
{
Expand All @@ -796,7 +796,7 @@
"phone": "(930) 920-4520",
"roles": ["Stock User", "BEAM Mobile User"],
"reports_to": "Tristan Hawkins",
# "department": "Operations",
"department": "Operations - APC",
"designation": "Baker",
},
{
Expand All @@ -813,7 +813,7 @@
"phone": "(054) 893-8970",
"roles": ["Stock User", "BEAM Mobile User"],
"reports_to": "Tristan Hawkins",
# "department": "Operations",
"department": "Operations - APC",
"designation": "Baker",
},
{
Expand All @@ -830,7 +830,7 @@
"phone": "(814) 677-9322",
"roles": ["Stock User", "BEAM Mobile User"],
"reports_to": "Tristan Hawkins",
# "department": "Operations",
"department": "Operations - APC",
"designation": "Baker",
},
{
Expand All @@ -847,7 +847,7 @@
"phone": "(133) 195-7828",
"roles": ["Stock User", "BEAM Mobile User"],
"reports_to": "Tristan Hawkins",
# "department": "Operations",
"department": "Operations - APC",
"designation": "Baker",
},
{
Expand All @@ -864,7 +864,7 @@
"phone": "(041) 000-2569",
"roles": ["Stock User", "BEAM Mobile User"],
"reports_to": "Tristan Hawkins",
# "department": "Operations",
"department": "Operations - APC",
"designation": "Baker",
},
]
2 changes: 1 addition & 1 deletion beam/tests/mobile/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def browser_context_args(browser_context_args):
@pytest.fixture(autouse=True)
def setup(page):
# delete all existing draft Purchase Receipts
delete_draft_records(["Purchase Receipt", "Stock Entry"])
delete_draft_records(["Purchase Receipt", "Stock Entry", "Delivery Note"])

page.set_default_timeout(5000)

Expand Down
Loading
Loading