Last active
February 1, 2019 02:41
-
-
Save yaniaular/909e45744e1fd92ba6ff2102667943cd to your computer and use it in GitHub Desktop.
Grupos de unidades de medida
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| UOM_MAPPING = { | |
| 'BL06': [ | |
| 'absa.product_uom_bl06_bl06', | |
| 'absa.product_uom_pza_pza', | |
| ], | |
| 'TRAMO': [ | |
| # Esta es una unidad pote, por lo tanto | |
| # Hay que tomar otras variables en cuenta | |
| # para su conversión | |
| 'absa.product_uom_tramo_tramo', | |
| ], | |
| 'TRAMO ': [ | |
| 'absa.product_uom_tramo_tramo', | |
| ], | |
| 'TR': [ | |
| 'absa.product_uom_tramo_tramo', | |
| ], | |
| 'BL500': [ | |
| 'absa.product_uom_bl500_bl500', | |
| 'absa.product_uom_pza_pza', | |
| ], | |
| '500': [ | |
| 'absa.product_uom_bl500_bl500', | |
| 'absa.product_uom_pza_pza', | |
| ], | |
| 'ROLLO': [ | |
| 'absa.product_uom_rollo_rollo', | |
| ], | |
| 'RL': [ | |
| 'absa.product_uom_rollo_rollo', | |
| ], | |
| 'BL1500': [ | |
| 'absa.product_uom_bl1500_bl1500', | |
| 'absa.product_uom_pza_pza', | |
| ], | |
| 'MES': [ | |
| 'absa.product_uom_mes_mes', | |
| ], | |
| 'PAQ': [ | |
| 'absa.product_uom_paq_paq', | |
| ], | |
| 'BL250': [ | |
| 'absa.product_uom_bl250_bl250', | |
| 'absa.product_uom_pza_pza', | |
| ], | |
| 'B250': [ | |
| 'absa.product_uom_bl250_bl250', | |
| 'absa.product_uom_pza_pza', | |
| ], | |
| 'BL50': [ | |
| 'absa.product_uom_bl50_bl50', | |
| 'absa.product_uom_pza_pza', | |
| ], | |
| 'B50': [ | |
| 'absa.product_uom_bl50_bl50', | |
| 'absa.product_uom_pza_pza', | |
| ], | |
| '50': [ | |
| 'absa.product_uom_bl50_bl50', | |
| 'absa.product_uom_pza_pza', | |
| ], | |
| 'LOTE': [ | |
| 'absa.product_uom_lote_lote', | |
| ], | |
| 'LOT': [ | |
| 'absa.product_uom_lote_lote', | |
| ], | |
| 'PAQ.': [ | |
| 'absa.product_uom_paq_paq', | |
| ], | |
| 'PKP': [ | |
| 'absa.product_uom_pkp_pkp', | |
| ], | |
| 'BL25': [ | |
| 'absa.product_uom_bl25_bl25', | |
| 'absa.product_uom_pza_pza', | |
| ], | |
| 'BL2500': [ | |
| 'absa.product_uom_bl2500_bl2500', | |
| 'absa.product_uom_pza_pza', | |
| ], | |
| '01': [ | |
| 'uom.product_uom_unit', | |
| ], | |
| 'METRO': [ | |
| 'uom.product_uom_meter', | |
| 'absa.product_uom_bm100_bm100', | |
| 'absa.product_uom_bm1000_bm1000', | |
| 'absa.product_uom_bm500_bm500', | |
| 'uom.product_uom_foot', | |
| ], | |
| 'METROS': [ | |
| 'uom.product_uom_meter', | |
| 'absa.product_uom_bm100_bm100', | |
| 'absa.product_uom_bm1000_bm1000', | |
| 'absa.product_uom_bm500_bm500', | |
| 'uom.product_uom_foot', | |
| ], | |
| 'PER': [ | |
| 'absa.product_uom_per_per', | |
| ], | |
| 'HRS': [ | |
| 'absa.product_uom_hora_hora', | |
| 'absa.product_uom_sem_sem', | |
| 'absa.product_uom_dias_dias', | |
| 'absa.product_uom_pza_pza', | |
| ], | |
| 'BO500': [ | |
| 'absa.product_uom_bo500_bo500', | |
| 'uom.product_uom_foot', | |
| ], | |
| 'B500': [ | |
| 'absa.product_uom_bo500_bo500', | |
| 'uom.product_uom_foot', | |
| ], | |
| 'BO5000': [ | |
| 'absa.product_uom_bo5000_bo5000', | |
| 'uom.product_uom_foot', | |
| ], | |
| 'MTS': [ | |
| 'uom.product_uom_meter', | |
| # 'absa.product_uom_caja_caja', no se que factor tendrá esto | |
| 'absa.product_uom_r100_r100', | |
| 'uom.product_uom_foot', | |
| 'absa.product_uom_bo1000_bo1000', | |
| 'absa.product_uom_bo10m_bo10m', | |
| ], | |
| 'B25': [ | |
| 'absa.product_uom_bl25_bl25', | |
| ], | |
| 'KG': [ | |
| 'uom.product_uom_kgm', | |
| ], | |
| 'No_Ap': [ | |
| 'absa.product_uom_pza_pza', | |
| ], | |
| 'BL03': [ | |
| 'absa.product_uom_bl03_bl03', | |
| 'absa.product_uom_pza_pza', | |
| ], | |
| 'PIE': [ | |
| 'uom.product_uom_foot', | |
| 'absa.product_uom_bo1000_bo1000', | |
| 'absa.product_uom_bo2000_bo2000', | |
| 'absa.product_uom_bo500_bo500', | |
| 'absa.product_uom_bo5000_bo5000', | |
| 'absa.product_uom_bo100_bo100', | |
| 'absa.product_uom_bo10m_bo10m', | |
| 'uom.product_uom_meter', | |
| ], | |
| 'PIES': [ | |
| 'uom.product_uom_foot', | |
| 'absa.product_uom_bo1000_bo1000', | |
| 'absa.product_uom_bo2000_bo2000', | |
| 'absa.product_uom_bo500_bo500', | |
| 'absa.product_uom_bo5000_bo5000', | |
| 'absa.product_uom_bo100_bo100', | |
| 'absa.product_uom_bo10m_bo10m', | |
| 'uom.product_uom_meter', | |
| ], | |
| 'PIES ': [ | |
| 'uom.product_uom_foot', | |
| 'absa.product_uom_bo1000_bo1000', | |
| 'absa.product_uom_bo2000_bo2000', | |
| 'absa.product_uom_bo500_bo500', | |
| 'absa.product_uom_bo5000_bo5000', | |
| 'absa.product_uom_bo100_bo100', | |
| 'absa.product_uom_bo10m_bo10m', | |
| 'uom.product_uom_meter', | |
| ], | |
| 'PIES ': [ | |
| 'uom.product_uom_foot', | |
| 'absa.product_uom_bo1000_bo1000', | |
| 'absa.product_uom_bo2000_bo2000', | |
| 'absa.product_uom_bo500_bo500', | |
| 'absa.product_uom_bo5000_bo5000', | |
| 'absa.product_uom_bo100_bo100', | |
| 'absa.product_uom_bo10m_bo10m', | |
| 'uom.product_uom_meter', | |
| ], | |
| 'FT': [ | |
| 'uom.product_uom_foot', | |
| 'uom.product_uom_meter', | |
| ], | |
| 'BL05': [ | |
| 'absa.product_uom_bl05_bl05', | |
| 'absa.product_uom_pza_pza', | |
| ], | |
| 'BO100': [ | |
| 'absa.product_uom_bo100_bo100', | |
| 'uom.product_uom_foot', | |
| ], | |
| 'PZA': [ | |
| 'absa.product_uom_pza_pza', | |
| 'absa.product_uom_bl50_bl50', | |
| 'absa.product_uom_bl10_bl10', | |
| ], | |
| 'PZA ': [ | |
| 'absa.product_uom_pza_pza', | |
| 'absa.product_uom_bl50_bl50', | |
| 'absa.product_uom_bl10_bl10', | |
| ], | |
| 'PZA ': [ | |
| 'absa.product_uom_pza_pza', | |
| 'absa.product_uom_bl50_bl50', | |
| 'absa.product_uom_bl10_bl10', | |
| ], | |
| 'PC': [ | |
| 'absa.product_uom_pza_pza', | |
| 'absa.product_uom_bl50_bl50', | |
| 'absa.product_uom_bl10_bl10', | |
| ], | |
| 'BL5000': [ | |
| 'absa.product_uom_bl5000_bl5000', | |
| 'absa.product_uom_pza_pza', | |
| ], | |
| 'R100': [ | |
| 'absa.product_uom_r100_r100', | |
| 'uom.product_uom_foot', | |
| ], | |
| 'RC': [ | |
| 'absa.product_uom_r100_r100', | |
| ], | |
| 'TR2M': [ | |
| 'absa.product_uom_tr2m_tr2m', | |
| ], | |
| 'HORA': [ | |
| 'absa.product_uom_hora_hora', | |
| 'absa.product_uom_sem_sem', | |
| 'absa.product_uom_dias_dias', | |
| 'absa.product_uom_pza_pza', | |
| ], | |
| 'SVC': [ | |
| 'absa.product_uom_svc_svc', # ? | |
| 'absa.product_uom_pza_pza', | |
| ], | |
| 'BL100': [ | |
| 'absa.product_uom_bl100_bl100', | |
| 'absa.product_uom_pza_pza', | |
| ], | |
| 'B10': [ | |
| 'absa.product_uom_bl10_bl10', | |
| 'absa.product_uom_pza_pza', | |
| ], | |
| 'M': [ | |
| 'uom.product_uom_meter', | |
| 'absa.product_uom_bm100_bm100', | |
| 'absa.product_uom_bm1000_bm1000', | |
| 'absa.product_uom_bm500_bm500', | |
| 'uom.product_uom_foot', | |
| ], | |
| 'UNIDAD': [ | |
| 'uom.product_uom_unit', | |
| ], | |
| 'BOB': [ | |
| 'absa.product_uom_error', | |
| ], | |
| '1': [ | |
| 'uom.product_uom_unit', | |
| ], | |
| 'B100': [ | |
| 'absa.product_uom_bl100_bl100', | |
| 'absa.product_uom_pza_pza', | |
| ], | |
| 'B1000': [ | |
| 'absa.product_uom_bl1000_bl1000', | |
| 'absa.product_uom_pza_pza', | |
| ], | |
| '100': [ | |
| 'absa.product_uom_bl100_bl100', | |
| 'absa.product_uom_pza_pza', | |
| ], | |
| '1000': [ | |
| 'absa.product_uom_bl1000_bl1000', | |
| 'absa.product_uom_pza_pza', | |
| ], | |
| 'TR3M': [ | |
| 'absa.product_uom_tr3m_tr3m', | |
| ], | |
| 'BM500': [ | |
| 'absa.product_uom_bm500_bm500', | |
| ], | |
| 'BL02': [ | |
| 'absa.product_uom_bl02_bl02', | |
| 'absa.product_uom_pza_pza', | |
| ], | |
| 'BL1000': [ | |
| 'absa.product_uom_bl1000_bl1000', | |
| 'absa.product_uom_pza_pza', | |
| ], | |
| 'BL200': [ | |
| 'absa.product_uom_bl200_bl200', | |
| 'absa.product_uom_pza_pza', | |
| ], | |
| 'BL10': [ | |
| 'absa.product_uom_bl10_bl10', | |
| 'absa.product_uom_pza_pza', | |
| ], | |
| 'PIEZA': [ | |
| 'absa.product_uom_pza_pza', | |
| ], | |
| 'PK': [ | |
| 'absa.product_uom_paq_paq', | |
| ], | |
| 'BO10M': [ | |
| 'absa.product_uom_bo10m_bo10m', | |
| 'uom.product_uom_foot', | |
| ], | |
| 'BL20': [ | |
| 'absa.product_uom_bl20_bl20', | |
| 'absa.product_uom_pza_pza', | |
| ], | |
| 'BO1000': [ | |
| 'absa.product_uom_bo1000_bo1000', | |
| 'uom.product_uom_meter', | |
| 'uom.product_uom_foot', | |
| ], | |
| 'YRD': [ | |
| 'absa.product_uom_yrd_yrd', | |
| ], | |
| 'BO2000': [ | |
| 'uom.product_uom_foot', | |
| 'absa.product_uom_bo2000_bo2000', | |
| ], | |
| 'DIAS': [ | |
| 'absa.product_uom_hora_hora', | |
| 'absa.product_uom_sem_sem', | |
| 'absa.product_uom_mes_mes', | |
| ], | |
| 'BM1000': [ | |
| 'absa.product_uom_bm1000_bm1000', | |
| 'uom.product_uom_foot', | |
| ], | |
| 'BM100': [ | |
| 'absa.product_uom_bm100_bm100', | |
| 'uom.product_uom_foot', | |
| ], | |
| 'BL12': [ | |
| 'absa.product_uom_bl12_bl12', | |
| 'absa.product_uom_pza_pza', | |
| ], | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment