[FIX]pms: tests allowed payments pms journals

This commit is contained in:
Darío Lodeiros
2021-10-16 16:04:08 +02:00
parent 1a1e328825
commit 61ff2918ef

View File

@@ -47,6 +47,13 @@ class TestPmsFolio(TestPms):
"capacity": 2,
}
)
# make current journals payable
journals = self.env["account.journal"].search(
[
("type", "in", ["bank", "cash"]),
]
)
journals.allowed_pms_payments = True
def create_sale_channel_scenario(self):
"""