mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-01 12:38:27 +00:00
chore: resolve conflicts
This commit is contained in:
@@ -630,21 +630,12 @@
|
|||||||
"fieldname": "fetch_valuation_rate_for_internal_transaction",
|
"fieldname": "fetch_valuation_rate_for_internal_transaction",
|
||||||
"fieldtype": "Check",
|
"fieldtype": "Check",
|
||||||
"label": "Fetch Valuation Rate for Internal Transaction"
|
"label": "Fetch Valuation Rate for Internal Transaction"
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"default": "0",
|
|
||||||
"fieldname": "use_legacy_budget_controller",
|
|
||||||
"fieldtype": "Check",
|
|
||||||
"label": "Use Legacy Budget Controller"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"default": "1",
|
"default": "1",
|
||||||
"fieldname": "use_legacy_controller_for_pcv",
|
"fieldname": "use_legacy_controller_for_pcv",
|
||||||
"fieldtype": "Check",
|
"fieldtype": "Check",
|
||||||
"label": "Use Legacy Controller For Period Closing Voucher"
|
"label": "Use Legacy Controller For Period Closing Voucher"
|
||||||
>>>>>>> 4888461be2 (refactor: checkbox for pcv controller)
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"icon": "icon-cog",
|
"icon": "icon-cog",
|
||||||
@@ -652,15 +643,7 @@
|
|||||||
"index_web_pages_for_search": 1,
|
"index_web_pages_for_search": 1,
|
||||||
"issingle": 1,
|
"issingle": 1,
|
||||||
"links": [],
|
"links": [],
|
||||||
<<<<<<< HEAD
|
|
||||||
<<<<<<< HEAD
|
|
||||||
"modified": "2025-07-18 13:56:47.192437",
|
|
||||||
=======
|
|
||||||
"modified": "2025-10-01 15:17:47.168354",
|
|
||||||
>>>>>>> 4888461be2 (refactor: checkbox for pcv controller)
|
|
||||||
=======
|
|
||||||
"modified": "2025-10-20 14:06:08.870427",
|
"modified": "2025-10-20 14:06:08.870427",
|
||||||
>>>>>>> fe39ce03bb (refactor: enable legacy controller by default for pcv)
|
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Accounts",
|
"module": "Accounts",
|
||||||
"name": "Accounts Settings",
|
"name": "Accounts Settings",
|
||||||
|
|||||||
@@ -73,11 +73,7 @@ class AccountsSettings(Document):
|
|||||||
submit_journal_entries: DF.Check
|
submit_journal_entries: DF.Check
|
||||||
unlink_advance_payment_on_cancelation_of_order: DF.Check
|
unlink_advance_payment_on_cancelation_of_order: DF.Check
|
||||||
unlink_payment_on_cancellation_of_invoice: DF.Check
|
unlink_payment_on_cancellation_of_invoice: DF.Check
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
use_legacy_budget_controller: DF.Check
|
|
||||||
use_legacy_controller_for_pcv: DF.Check
|
use_legacy_controller_for_pcv: DF.Check
|
||||||
>>>>>>> 4888461be2 (refactor: checkbox for pcv controller)
|
|
||||||
# end: auto-generated types
|
# end: auto-generated types
|
||||||
|
|
||||||
def validate(self):
|
def validate(self):
|
||||||
|
|||||||
@@ -13,15 +13,11 @@ from erpnext.accounts.doctype.sales_invoice.test_sales_invoice import create_sal
|
|||||||
from erpnext.accounts.utils import get_fiscal_year
|
from erpnext.accounts.utils import get_fiscal_year
|
||||||
|
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
class TestPeriodClosingVoucher(unittest.TestCase):
|
class TestPeriodClosingVoucher(unittest.TestCase):
|
||||||
=======
|
|
||||||
class TestPeriodClosingVoucher(IntegrationTestCase):
|
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
super().setUp()
|
super().setUp()
|
||||||
frappe.db.set_single_value("Accounts Settings", "use_legacy_controller_for_pcv", 1)
|
frappe.db.set_single_value("Accounts Settings", "use_legacy_controller_for_pcv", 1)
|
||||||
|
|
||||||
>>>>>>> fe39ce03bb (refactor: enable legacy controller by default for pcv)
|
|
||||||
def test_closing_entry(self):
|
def test_closing_entry(self):
|
||||||
frappe.db.sql("delete from `tabGL Entry` where company='Test PCV Company'")
|
frappe.db.sql("delete from `tabGL Entry` where company='Test PCV Company'")
|
||||||
frappe.db.sql("delete from `tabPeriod Closing Voucher` where company='Test PCV Company'")
|
frappe.db.sql("delete from `tabPeriod Closing Voucher` where company='Test PCV Company'")
|
||||||
|
|||||||
@@ -2,19 +2,3 @@
|
|||||||
# See license.txt
|
# See license.txt
|
||||||
|
|
||||||
# import frappe
|
# import frappe
|
||||||
from frappe.tests import IntegrationTestCase
|
|
||||||
|
|
||||||
# On IntegrationTestCase, the doctype test records and all
|
|
||||||
# link-field test record dependencies are recursively loaded
|
|
||||||
# Use these module variables to add/remove to/from that list
|
|
||||||
EXTRA_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"]
|
|
||||||
IGNORE_TEST_RECORD_DEPENDENCIES = [] # eg. ["User"]
|
|
||||||
|
|
||||||
|
|
||||||
class IntegrationTestProcessPeriodClosingVoucher(IntegrationTestCase):
|
|
||||||
"""
|
|
||||||
Integration tests for ProcessPeriodClosingVoucher.
|
|
||||||
Use this class for testing interactions between multiple components.
|
|
||||||
"""
|
|
||||||
|
|
||||||
pass
|
|
||||||
|
|||||||
Reference in New Issue
Block a user