mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-06 23:10:26 +00:00
[fix] POS Profile test cases
This commit is contained in:
@@ -41,6 +41,7 @@ def make_pos_profile():
|
|||||||
"expense_account": "_Test Account Cost for Goods Sold - _TC",
|
"expense_account": "_Test Account Cost for Goods Sold - _TC",
|
||||||
"income_account": "Sales - _TC",
|
"income_account": "Sales - _TC",
|
||||||
"name": "_Test POS Profile",
|
"name": "_Test POS Profile",
|
||||||
|
"pos_profile_name": "_Test POS Profile",
|
||||||
"naming_series": "_T-POS Profile-",
|
"naming_series": "_T-POS Profile-",
|
||||||
"selling_price_list": "_Test Price List",
|
"selling_price_list": "_Test Price List",
|
||||||
"territory": "_Test Territory",
|
"territory": "_Test Territory",
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ QUnit.test("test:Sales Invoice", function(assert) {
|
|||||||
() => {
|
() => {
|
||||||
return frappe.tests.make("POS Profile", [
|
return frappe.tests.make("POS Profile", [
|
||||||
{naming_series: "SINV"},
|
{naming_series: "SINV"},
|
||||||
|
{pos_profile_name: "_Test POS Profile"},
|
||||||
{country: "India"},
|
{country: "India"},
|
||||||
{currency: "INR"},
|
{currency: "INR"},
|
||||||
{write_off_account: "Write Off - FT"},
|
{write_off_account: "Write Off - FT"},
|
||||||
|
|||||||
Reference in New Issue
Block a user