BIG-26: fix items preferences form.

This commit is contained in:
a.bouhuolia
2021-09-12 13:14:15 +02:00
parent b3a96ace71
commit cdc75a01af
17 changed files with 195 additions and 145 deletions

View File

@@ -0,0 +1,9 @@
import * as Yup from 'yup';
const Schema = Yup.object().shape({
preferred_sell_account: Yup.number().nullable(),
preferred_cost_account: Yup.number().nullable(),
preferred_inventory_account: Yup.number().nullable(),
});
export const ItemPreferencesSchema = Schema;