2
0
mirror of https://github.com/frappe/books.git synced 2025-01-03 07:12:21 +00:00

fix(ux): rename party to context based

- move country before state
- rename track item to track inventory
This commit is contained in:
18alantom 2023-08-25 12:37:02 +05:30
parent cdc2096bd7
commit d86cd90d6f
6 changed files with 28 additions and 15 deletions

View File

@ -30,13 +30,6 @@
"fieldtype": "Data",
"required": true
},
{
"fieldname": "state",
"label": "State",
"placeholder": "State",
"options": [],
"fieldtype": "AutoComplete"
},
{
"fieldname": "country",
"label": "Country",
@ -45,6 +38,13 @@
"options": [],
"required": true
},
{
"fieldname": "state",
"label": "State",
"placeholder": "State",
"options": [],
"fieldtype": "AutoComplete"
},
{
"fieldname": "postalCode",
"label": "Postal Code",

View File

@ -20,12 +20,8 @@
"section": "Default"
},
{
"abstract": true,
"fieldname": "party",
"label": "Party",
"fieldtype": "Link",
"target": "Party",
"create": true,
"required": true,
"section": "Default"
},
{

View File

@ -126,7 +126,7 @@
},
{
"fieldname": "trackItem",
"label": "Track Item",
"label": "Track Inventory",
"fieldtype": "Check",
"section": "Inventory",
"default": false

View File

@ -15,6 +15,15 @@
"default": "PINV-",
"section": "Default"
},
{
"fieldname": "party",
"label": "Supplier",
"fieldtype": "Link",
"target": "Party",
"create": true,
"required": true,
"section": "Default"
},
{
"fieldname": "backReference",
"label": "Back Reference",

View File

@ -15,6 +15,15 @@
"default": "SINV-",
"section": "Default"
},
{
"fieldname": "party",
"label": "Customer",
"fieldtype": "Link",
"target": "Party",
"create": true,
"required": true,
"section": "Default"
},
{
"fieldname": "backReference",
"label": "Back Reference",

View File

@ -52,11 +52,10 @@
</Teleport>
</template>
<script lang="ts">
import { getColorClass } from 'src/utils/colors';
import { getIconConfig } from 'src/utils/interactive';
import { ToastDuration, ToastType } from 'src/utils/types';
import { toastDurationMap } from 'src/utils/ui';
import { defineComponent, nextTick, PropType } from 'vue';
import { PropType, defineComponent, nextTick } from 'vue';
import FeatherIcon from './FeatherIcon.vue';
export default defineComponent({