Skip to content

Commit

Permalink
fix IsSOTrx.
Browse files Browse the repository at this point in the history
  • Loading branch information
EdwinBetanc0urt committed Aug 1, 2024
1 parent effc002 commit 0f18fb3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion base/test/src/org/compiere/model/UT_MOrder.java
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,12 @@ static void beforeAll() {

@Test
@DisplayName("Save order with default price list")
void testGuardarOrdenConListaDePrecioEnCero() {
void testSaveOrderWithoutPriceList() {
MOrder order = new MOrder(ctx, 0, trxName);
order.setIsSOTrx(true);
order.setAD_Org_ID(11); // HQ
order.setM_Warehouse_ID(103); // HQ Warehouse
// order.setC_DocTypeTarget_ID(132); // Standard Order
order.setC_BPartner_ID(121); // Patio Fun, Inc.
order.setDateOrdered(
new Timestamp(
Expand Down

0 comments on commit 0f18fb3

Please sign in to comment.