mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-18 17:08:42 +00:00
test(accounts): set Check field with int, not bool (Postgres)
set_value(Company, ..., "book_advance_payments_in_separate_party_account", True) errored on Postgres (smallint column, boolean expression). Use 1; MariaDB unchanged.
This commit is contained in:
@@ -424,7 +424,7 @@ class TestUnreconcilePayment(ERPNextTestSuite, AccountsTestMixin):
|
||||
self.disable_advance_as_liability()
|
||||
|
||||
def test_07_adv_from_so_to_invoice(self):
|
||||
frappe.db.set_value("Company", self.company, "book_advance_payments_in_separate_party_account", True)
|
||||
frappe.db.set_value("Company", self.company, "book_advance_payments_in_separate_party_account", 1)
|
||||
frappe.db.set_value(
|
||||
"Company", self.company, "default_advance_received_account", "Advance Received - _TC"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user