radboy 0.0.779__py3-none-any.whl → 0.0.800__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of radboy might be problematic. Click here for more details.
- radboy/TasksMode/Tasks.py +40 -9
- radboy/TasksMode/__pycache__/Tasks.cpython-313.pyc +0 -0
- radboy/__init__.py +1 -1
- radboy/__pycache__/__init__.cpython-313.pyc +0 -0
- {radboy-0.0.779.dist-info → radboy-0.0.800.dist-info}/METADATA +1 -1
- {radboy-0.0.779.dist-info → radboy-0.0.800.dist-info}/RECORD +8 -8
- {radboy-0.0.779.dist-info → radboy-0.0.800.dist-info}/WHEEL +0 -0
- {radboy-0.0.779.dist-info → radboy-0.0.800.dist-info}/top_level.txt +0 -0
radboy/TasksMode/Tasks.py
CHANGED
|
@@ -3109,7 +3109,7 @@ so use {Fore.orange_red_1}ls-lq/ls Shelf {Fore.light_yellow}from {Fore.light_mag
|
|
|
3109
3109
|
#ready+=1
|
|
3110
3110
|
m=f'{Fore.orange_red_1}INIT({ready}){Fore.light_yellow} -> '
|
|
3111
3111
|
#names that are not always necessary
|
|
3112
|
-
use_name=Prompt.__init2__(None,func=FormBuilderMkText,ptext=f"{m}Ask for Entry {Fore.cyan}Name{Fore.light_yellow}
|
|
3112
|
+
use_name=Prompt.__init2__(None,func=FormBuilderMkText,ptext=f"{m}Ask for Entry {Fore.cyan}Name{Fore.light_yellow} For New Items? [y({Fore.orange_red_1}d=default{Fore.light_yellow})/N]",helpText="a boolean value from either of (0,f,n,no,false,False) or (1,t,true,True,yes,y) or formula that equates to a True or a False",data="boolean")
|
|
3113
3113
|
if use_name in [None,]:
|
|
3114
3114
|
return
|
|
3115
3115
|
elif use_name in [False,]:
|
|
@@ -3120,7 +3120,7 @@ so use {Fore.orange_red_1}ls-lq/ls Shelf {Fore.light_yellow}from {Fore.light_mag
|
|
|
3120
3120
|
ready+=1
|
|
3121
3121
|
m=f'{Fore.orange_red_1}INIT({ready}){Fore.light_yellow} -> '
|
|
3122
3122
|
#extras that are not always necessary
|
|
3123
|
-
use_code=Prompt.__init2__(None,func=FormBuilderMkText,ptext=f"{m}Ask for Entry {Fore.cyan}Codes{Fore.light_yellow}
|
|
3123
|
+
use_code=Prompt.__init2__(None,func=FormBuilderMkText,ptext=f"{m}Ask for Entry {Fore.cyan}Codes{Fore.light_yellow} For New Items? [y/N({Fore.orange_red_1}d=default{Fore.light_yellow})]",helpText="a boolean value from either of (0,f,n,no,false,False) or (1,t,true,True,yes,y) or formula that equates to a True or a False",data="boolean")
|
|
3124
3124
|
if use_code in [None,]:
|
|
3125
3125
|
return
|
|
3126
3126
|
elif use_code in ['d',False,]:
|
|
@@ -3131,7 +3131,7 @@ so use {Fore.orange_red_1}ls-lq/ls Shelf {Fore.light_yellow}from {Fore.light_mag
|
|
|
3131
3131
|
ready+=1
|
|
3132
3132
|
m=f'{Fore.orange_red_1}INIT({ready}){Fore.light_yellow} -> '
|
|
3133
3133
|
#names that are not always necessary
|
|
3134
|
-
use_casecount=Prompt.__init2__(None,func=FormBuilderMkText,ptext=f"{m}Ask for Entry {Fore.cyan}CaseCount{Fore.light_yellow}
|
|
3134
|
+
use_casecount=Prompt.__init2__(None,func=FormBuilderMkText,ptext=f"{m}Ask for Entry {Fore.cyan}CaseCount{Fore.light_yellow} For New Items? [y/N({Fore.orange_red_1}d=default{Fore.light_yellow})]",helpText="a boolean value from either of (0,f,n,no,false,False) or (1,t,true,True,yes,y) or formula that equates to a True or a False",data="boolean")
|
|
3135
3135
|
if use_casecount in [None,]:
|
|
3136
3136
|
return
|
|
3137
3137
|
elif use_casecount in ['d',False]:
|
|
@@ -3142,7 +3142,7 @@ so use {Fore.orange_red_1}ls-lq/ls Shelf {Fore.light_yellow}from {Fore.light_mag
|
|
|
3142
3142
|
ready+=1
|
|
3143
3143
|
m=f'{Fore.orange_red_1}INIT({ready}){Fore.light_yellow} -> '
|
|
3144
3144
|
#extras that are not always necessary
|
|
3145
|
-
use_price=Prompt.__init2__(None,func=FormBuilderMkText,ptext=f"{m}Ask for Entry {Fore.cyan}Price{Fore.light_yellow}
|
|
3145
|
+
use_price=Prompt.__init2__(None,func=FormBuilderMkText,ptext=f"{m}Ask for Entry {Fore.cyan}Price{Fore.light_yellow} For New Items? [y({Fore.orange_red_1}d=default{Fore.light_yellow})/N]",helpText="a boolean value from either of (0,f,n,no,false,False) or (1,t,true,True,yes,y) or formula that equates to a True or a False",data="boolean")
|
|
3146
3146
|
if use_price in [None,]:
|
|
3147
3147
|
return
|
|
3148
3148
|
elif use_price in [False,]:
|
|
@@ -3153,7 +3153,7 @@ so use {Fore.orange_red_1}ls-lq/ls Shelf {Fore.light_yellow}from {Fore.light_mag
|
|
|
3153
3153
|
ready+=1
|
|
3154
3154
|
m=f'{Fore.orange_red_1}INIT({ready}){Fore.light_yellow} -> '
|
|
3155
3155
|
#extras that are not always necessary
|
|
3156
|
-
use_notes=Prompt.__init2__(None,func=FormBuilderMkText,ptext=f"{m}Ask for Entry {Fore.cyan}Notes{Fore.light_yellow}
|
|
3156
|
+
use_notes=Prompt.__init2__(None,func=FormBuilderMkText,ptext=f"{m}Ask for Entry {Fore.cyan}Notes{Fore.light_yellow} For New Items? [y/N({Fore.orange_red_1}d=default{Fore.light_yellow})]",helpText="a boolean value from either of (0,f,n,no,false,False) or (1,t,true,True,yes,y) or formula that equates to a True or a False",data="boolean")
|
|
3157
3157
|
if use_notes in [None,]:
|
|
3158
3158
|
return
|
|
3159
3159
|
elif use_notes in ['d',False]:
|
|
@@ -3180,6 +3180,26 @@ so use {Fore.orange_red_1}ls-lq/ls Shelf {Fore.light_yellow}from {Fore.light_mag
|
|
|
3180
3180
|
else:
|
|
3181
3181
|
barcode_might_be_number=True
|
|
3182
3182
|
|
|
3183
|
+
ready+=1
|
|
3184
|
+
m=f'{Fore.orange_red_1}INIT({ready}){Fore.light_yellow} -> '
|
|
3185
|
+
new_image=Prompt.__init2__(None,func=FormBuilderMkText,ptext=f"{m}ask for new image path{Fore.light_yellow} For New Items? [y/N({Fore.orange_red_1}d=default{Fore.light_yellow})]",helpText="a boolean value from either of (0,f,n,no,false,False) or (1,t,true,True,yes,y) or formula that equates to a True or a False",data="boolean")
|
|
3186
|
+
if new_image in [None,]:
|
|
3187
|
+
return
|
|
3188
|
+
elif new_image in ['d',False]:
|
|
3189
|
+
new_image=False
|
|
3190
|
+
else:
|
|
3191
|
+
new_image=True
|
|
3192
|
+
|
|
3193
|
+
ready+=1
|
|
3194
|
+
m=f'{Fore.orange_red_1}INIT({ready}){Fore.light_yellow} -> '
|
|
3195
|
+
ask_taxes=Prompt.__init2__(None,func=FormBuilderMkText,ptext=f"{m}check if you want to fill out tax data{Fore.light_yellow} For New Items? [y({Fore.orange_red_1}d=default{Fore.light_yellow}/N)]",helpText="a boolean value from either of (0,f,n,no,false,False) or (1,t,true,True,yes,y) or formula that equates to a True or a False",data="boolean")
|
|
3196
|
+
if ask_taxes in [None,]:
|
|
3197
|
+
return
|
|
3198
|
+
elif ask_taxes in [False,]:
|
|
3199
|
+
ask_taxes=False
|
|
3200
|
+
else:
|
|
3201
|
+
ask_taxes=True
|
|
3202
|
+
|
|
3183
3203
|
tmp_fieldname=fieldname
|
|
3184
3204
|
while True:
|
|
3185
3205
|
code_log=''
|
|
@@ -3976,7 +3996,11 @@ Location Fields:
|
|
|
3976
3996
|
icode="UNASSIGNED_TO_NEW_ITEM"
|
|
3977
3997
|
iprice=0
|
|
3978
3998
|
icc=1
|
|
3979
|
-
|
|
3999
|
+
if ask_taxes:
|
|
4000
|
+
tax,crv=self.calculate_tax_crv(iprice)
|
|
4001
|
+
else:
|
|
4002
|
+
tax=0
|
|
4003
|
+
crv=0
|
|
3980
4004
|
if not use_name:
|
|
3981
4005
|
name=code
|
|
3982
4006
|
if not use_code:
|
|
@@ -3992,7 +4016,8 @@ Location Fields:
|
|
|
3992
4016
|
session.flush()
|
|
3993
4017
|
session.refresh(n)
|
|
3994
4018
|
if only_select_qty:
|
|
3995
|
-
|
|
4019
|
+
if new_image:
|
|
4020
|
+
n.copySrc()
|
|
3996
4021
|
result=n
|
|
3997
4022
|
print(f"{Fore.light_red}0{Style.reset} -> {color1}{result.Name}{Style.reset}|{color2}{result.rebar()}|{result.ALT_Barcode}{Style.reset}|{color3}{result.cfmt(result.Code)}{Style.reset}|{color4}{getattr(result,fieldname)}{Style.reset}|{color4}{getattr(result,'EntryId')}{Style.reset}")
|
|
3998
4023
|
|
|
@@ -4071,7 +4096,12 @@ Location Fields:
|
|
|
4071
4096
|
icode="UNASSIGNED_TO_NEW_ITEM"
|
|
4072
4097
|
iprice=0
|
|
4073
4098
|
icc=1
|
|
4074
|
-
|
|
4099
|
+
if ask_taxes:
|
|
4100
|
+
tax,crv=self.calculate_tax_crv(iprice)
|
|
4101
|
+
else:
|
|
4102
|
+
tax=0
|
|
4103
|
+
crv=0
|
|
4104
|
+
|
|
4075
4105
|
if not use_name:
|
|
4076
4106
|
name=code
|
|
4077
4107
|
if not use_code:
|
|
@@ -4088,7 +4118,8 @@ Location Fields:
|
|
|
4088
4118
|
session.flush()
|
|
4089
4119
|
session.refresh(n)
|
|
4090
4120
|
if only_select_qty:
|
|
4091
|
-
|
|
4121
|
+
if new_image:
|
|
4122
|
+
n.copySrc()
|
|
4092
4123
|
session.commit()
|
|
4093
4124
|
session.flush()
|
|
4094
4125
|
session.refresh(n)
|
|
Binary file
|
radboy/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
VERSION='0.0.
|
|
1
|
+
VERSION='0.0.800'
|
|
Binary file
|
|
@@ -5,7 +5,7 @@ radboy/Holidays.txt,sha256=y-JZPihh5iaWKxMIHNXD39yVuVmf1vMs4FdNDcg0f1Y,3114
|
|
|
5
5
|
radboy/InventoryGlossary.txt,sha256=018-Yqca6DFb10jPdkUY-5qhkRlQN1k3rxoTaERQ-LA,91008
|
|
6
6
|
radboy/RecordMyCodes.py,sha256=h30zoTqt-XLt_afDPlxMxBiKKwmKi3N-yAuldNCqXUo,41476
|
|
7
7
|
radboy/Run.py,sha256=JUoCTHnzQBv7n8PB2_i93ANdAC_iW__RkAge8esCnk4,76
|
|
8
|
-
radboy/__init__.py,sha256=
|
|
8
|
+
radboy/__init__.py,sha256=kHpIkLgJ2Zzu3ksRUXLemYxAfrZu43Ouh3aQDakiINk,17
|
|
9
9
|
radboy/api_key,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
10
10
|
radboy/case-export-2024-05-14-13-10-00.672971.xlsx,sha256=Wd592d_VLFmfUI9KKKSVjNwjV91euc1T7ATyvwvUhlg,5431
|
|
11
11
|
radboy/case-export-2024-05-14-13-13-22.540614.xlsx,sha256=OnGrhmScHfGp_mVaWW-LNMsqrQgyZDpiU3wV-2s3U5Q,5556
|
|
@@ -356,7 +356,7 @@ radboy/SystemSettings/__pycache__/__init__.cpython-312.pyc,sha256=aIzp4Po0t8EhSA
|
|
|
356
356
|
radboy/SystemSettings/__pycache__/__init__.cpython-313.pyc,sha256=QFDuoidxMWsGVLsy5lN-rDs6TP8nKJ4yyCyiamNOhwo,156
|
|
357
357
|
radboy/TasksMode/ReFormula.py,sha256=REDRJYub-OEOE6g14oRQOLOQwv8pHqVJy4NQk3CCM90,2255
|
|
358
358
|
radboy/TasksMode/SetEntryNEU.py,sha256=mkV9zAZe0lfpu_3coMuIILEzh6PgCNi7g9lJ4yDUpYM,20596
|
|
359
|
-
radboy/TasksMode/Tasks.py,sha256=
|
|
359
|
+
radboy/TasksMode/Tasks.py,sha256=mwaCT2XM1olbFXQG9Lz892LKbEYt8NnlTGBnykmK-xM,373254
|
|
360
360
|
radboy/TasksMode/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
361
361
|
radboy/TasksMode/__pycache__/ReFormula.cpython-311.pyc,sha256=QEG3PwVw-8HTd_Mf9XbVcxU56F1fC9yBqWXYPLC39DU,4865
|
|
362
362
|
radboy/TasksMode/__pycache__/ReFormula.cpython-312.pyc,sha256=aX7BWm2PPjCTnxsbGUitR-2h9hq4AjaBiHMrUXvIl0Y,3967
|
|
@@ -365,7 +365,7 @@ radboy/TasksMode/__pycache__/SetEntryNEU.cpython-312.pyc,sha256=pCdFj61aPKkHL6Sv
|
|
|
365
365
|
radboy/TasksMode/__pycache__/SetEntryNEU.cpython-313.pyc,sha256=jMSrUX9pvEhf67uVwrPE2ZlBCems8V7tHJ1LcC15ovU,24603
|
|
366
366
|
radboy/TasksMode/__pycache__/Tasks.cpython-311.pyc,sha256=6QOTJnLiXSKdF81hkhy3vyrz49PPhS20s5_0X52g3Hw,131120
|
|
367
367
|
radboy/TasksMode/__pycache__/Tasks.cpython-312.pyc,sha256=hyJwdaYaaRLdcrNxgg36diJ5iijX5_3I0UAORsj-6LU,310295
|
|
368
|
-
radboy/TasksMode/__pycache__/Tasks.cpython-313.pyc,sha256=
|
|
368
|
+
radboy/TasksMode/__pycache__/Tasks.cpython-313.pyc,sha256=FHUrs8cT6-my0VRcg988smRVZhaKY95CCxCqQubRYCo,448021
|
|
369
369
|
radboy/TasksMode/__pycache__/__init__.cpython-311.pyc,sha256=PKV1JbihEacm639b53bZozRQvcllSkjGP3q8STVMxF4,234
|
|
370
370
|
radboy/TasksMode/__pycache__/__init__.cpython-312.pyc,sha256=ERgnEvRMiGSecWp1BpNzLdSq_SdKw7GvFWUvUM7bLVw,272
|
|
371
371
|
radboy/TasksMode/__pycache__/__init__.cpython-313.pyc,sha256=lvsTxukyvGKB3C0rdF9dQi_bvVh6ceDVINfwcuIsd0s,151
|
|
@@ -412,7 +412,7 @@ radboy/__pycache__/Run.cpython-311.pyc,sha256=G_UEfMtkLRjR6ZpGA_BJzGenuaCcP469Y9
|
|
|
412
412
|
radboy/__pycache__/Run.cpython-312.pyc,sha256=v4xolc3mHyla991XhpYBUbBHYT0bnJ1gE-lkFoQ4GFA,241
|
|
413
413
|
radboy/__pycache__/__init__.cpython-311.pyc,sha256=R-DVbUioMOW-Fnaq7FpT5F1a5p0q3b_RW-HpLRArCAY,242
|
|
414
414
|
radboy/__pycache__/__init__.cpython-312.pyc,sha256=FsFzLXOlTK8_7ixoPZzakkR8Wibt-DvXLFh-oG2QlPw,164
|
|
415
|
-
radboy/__pycache__/__init__.cpython-313.pyc,sha256=
|
|
415
|
+
radboy/__pycache__/__init__.cpython-313.pyc,sha256=yBjf0mcJKEMwtrh4pn95e-twD3rH_PoCvlwLgbqGgDA,165
|
|
416
416
|
radboy/__pycache__/__init__.cpython-39.pyc,sha256=D48T6x6FUeKPfubo0sdS_ZUut3FmBvPMP7qT6rYBZzU,275
|
|
417
417
|
radboy/__pycache__/possibleCode.cpython-311.pyc,sha256=zFiHyzqD8gUnIWu4vtyMYIBposiRQqaRXfcT_fOl4rU,20882
|
|
418
418
|
radboy/__pycache__/possibleCode.cpython-312.pyc,sha256=tk_CO-AcsO3YZj5j6vEsw3g37UmEzWc5YgeWEoJEUg4,27922
|
|
@@ -440,7 +440,7 @@ radboy/tkGui/Images/__pycache__/__init__.cpython-311.pyc,sha256=tXBYpqbOlZ24B1BI
|
|
|
440
440
|
radboy/tkGui/__pycache__/BeginnersLuck.cpython-311.pyc,sha256=xLQOnV1wuqHGaub16mPX0dDMGU9ryCeLtNz5e517_GE,3004
|
|
441
441
|
radboy/tkGui/__pycache__/Review.cpython-311.pyc,sha256=wKq24iM6Xe2OampgZ7-8U6Nvmgs2y-qWOrGwtWhc75k,4047
|
|
442
442
|
radboy/tkGui/__pycache__/__init__.cpython-311.pyc,sha256=BX7DBn5qbvKTvlrKOP5gzTBPBTeTgSMjBW6EMl7N8e0,230
|
|
443
|
-
radboy-0.0.
|
|
444
|
-
radboy-0.0.
|
|
445
|
-
radboy-0.0.
|
|
446
|
-
radboy-0.0.
|
|
443
|
+
radboy-0.0.800.dist-info/METADATA,sha256=tcP_2yTi8kAHbpv-WG1DkHv27AuOxkHdA9_no8lnRag,1920
|
|
444
|
+
radboy-0.0.800.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
445
|
+
radboy-0.0.800.dist-info/top_level.txt,sha256=mlM0RWMUxGo1YHnlLmYrHOgGdK4XNRpr7nMFD5lR56c,7
|
|
446
|
+
radboy-0.0.800.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|