refactor(item): move Agricultural Goods checkbox into the flags column
Place the Item agricultural_goods checkbox next to the other Item flags (after is_fixed_asset) on the Details tab instead of among the link fields. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
7fb2eaccfd
commit
1c9883ecc7
|
|
@ -1091,12 +1091,13 @@ def create_custom_fields():
|
||||||
),
|
),
|
||||||
# Marks an item as agricultural goods. A document can be flagged
|
# Marks an item as agricultural goods. A document can be flagged
|
||||||
# agricultural while only some of its items actually count as
|
# agricultural while only some of its items actually count as
|
||||||
# agricultural goods for tax reporting.
|
# agricultural goods for tax reporting. Placed in the checkbox
|
||||||
|
# column on the Details tab, next to the other Item flags.
|
||||||
dict(
|
dict(
|
||||||
fieldname='agricultural_goods',
|
fieldname='agricultural_goods',
|
||||||
label='Agricultural Goods',
|
label='Agricultural Goods',
|
||||||
fieldtype='Check',
|
fieldtype='Check',
|
||||||
insert_after='product_category',
|
insert_after='is_fixed_asset',
|
||||||
default=0,
|
default=0,
|
||||||
in_standard_filter=1
|
in_standard_filter=1
|
||||||
),
|
),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue