odoo-addon-stock-request 17.0.1.1.4__py3-none-any.whl → 18.0.1.0.0.3__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.
Files changed (42) hide show
  1. odoo/addons/stock_request/README.rst +6 -6
  2. odoo/addons/stock_request/__manifest__.py +1 -1
  3. odoo/addons/stock_request/i18n/ca.po +11 -32
  4. odoo/addons/stock_request/i18n/de.po +12 -36
  5. odoo/addons/stock_request/i18n/el_GR.po +11 -32
  6. odoo/addons/stock_request/i18n/es.po +20 -37
  7. odoo/addons/stock_request/i18n/es_ES.po +11 -32
  8. odoo/addons/stock_request/i18n/eu.po +11 -32
  9. odoo/addons/stock_request/i18n/fi.po +11 -32
  10. odoo/addons/stock_request/i18n/fr.po +11 -32
  11. odoo/addons/stock_request/i18n/fr_CH.po +11 -32
  12. odoo/addons/stock_request/i18n/fr_FR.po +11 -32
  13. odoo/addons/stock_request/i18n/gl.po +11 -32
  14. odoo/addons/stock_request/i18n/hr.po +11 -32
  15. odoo/addons/stock_request/i18n/hr_HR.po +11 -32
  16. odoo/addons/stock_request/i18n/it.po +18 -36
  17. odoo/addons/stock_request/i18n/ja.po +11 -32
  18. odoo/addons/stock_request/i18n/ja_JP.po +11 -32
  19. odoo/addons/stock_request/i18n/nl.po +11 -32
  20. odoo/addons/stock_request/i18n/nl_NL.po +11 -32
  21. odoo/addons/stock_request/i18n/pt.po +11 -32
  22. odoo/addons/stock_request/i18n/pt_BR.po +11 -32
  23. odoo/addons/stock_request/i18n/ro.po +11 -32
  24. odoo/addons/stock_request/i18n/ru.po +11 -32
  25. odoo/addons/stock_request/i18n/sl.po +11 -32
  26. odoo/addons/stock_request/i18n/stock_request.pot +12 -32
  27. odoo/addons/stock_request/i18n/tr.po +11 -32
  28. odoo/addons/stock_request/i18n/tr_TR.po +11 -32
  29. odoo/addons/stock_request/i18n/vi_VN.po +11 -32
  30. odoo/addons/stock_request/i18n/zh_CN.po +12 -36
  31. odoo/addons/stock_request/models/stock_move_line.py +24 -19
  32. odoo/addons/stock_request/static/description/index.html +4 -4
  33. odoo/addons/stock_request/tests/test_stock_request.py +31 -27
  34. odoo/addons/stock_request/views/res_config_settings_views.xml +1 -0
  35. odoo/addons/stock_request/views/stock_request_allocation_views.xml +2 -2
  36. odoo/addons/stock_request/views/stock_request_order_views.xml +7 -10
  37. odoo/addons/stock_request/views/stock_request_views.xml +5 -8
  38. {odoo_addon_stock_request-17.0.1.1.4.dist-info → odoo_addon_stock_request-18.0.1.0.0.3.dist-info}/METADATA +9 -9
  39. odoo_addon_stock_request-18.0.1.0.0.3.dist-info/RECORD +71 -0
  40. odoo_addon_stock_request-17.0.1.1.4.dist-info/RECORD +0 -71
  41. {odoo_addon_stock_request-17.0.1.1.4.dist-info → odoo_addon_stock_request-18.0.1.0.0.3.dist-info}/WHEEL +0 -0
  42. {odoo_addon_stock_request-17.0.1.1.4.dist-info → odoo_addon_stock_request-18.0.1.0.0.3.dist-info}/top_level.txt +0 -0
@@ -22,10 +22,7 @@ msgstr ""
22
22
  #. module: stock_request
23
23
  #. odoo-python
24
24
  #: code:addons/stock_request/models/stock_move_line.py:0
25
- #, python-format
26
- msgid ""
27
- "<li><b>%(product_name)s</b>: Transferred quantity "
28
- "%(product_qty)s%(product_uom)s</li>"
25
+ msgid "%(product_name)s : Transferred quantity %(product_qty)s %(product_uom)s"
29
26
  msgstr ""
30
27
 
31
28
  #. module: stock_request
@@ -168,7 +165,6 @@ msgstr ""
168
165
  #. module: stock_request
169
166
  #. odoo-python
170
167
  #: code:addons/stock_request/models/stock_request.py:0
171
- #, python-format
172
168
  msgid "Company must be equal to the order"
173
169
  msgstr ""
174
170
 
@@ -281,7 +277,6 @@ msgstr ""
281
277
  #. module: stock_request
282
278
  #. odoo-python
283
279
  #: code:addons/stock_request/models/stock_request.py:0
284
- #, python-format
285
280
  msgid "Expected date must be equal to the order"
286
281
  msgstr ""
287
282
 
@@ -360,8 +355,11 @@ msgstr ""
360
355
 
361
356
  #. module: stock_request
362
357
  #: model:ir.model.fields,help:stock_request.field_stock_request__message_has_error
358
+ #: model:ir.model.fields,help:stock_request.field_stock_request__message_has_sms_error
363
359
  #: model:ir.model.fields,help:stock_request.field_stock_request_abstract__message_has_error
360
+ #: model:ir.model.fields,help:stock_request.field_stock_request_abstract__message_has_sms_error
364
361
  #: model:ir.model.fields,help:stock_request.field_stock_request_order__message_has_error
362
+ #: model:ir.model.fields,help:stock_request.field_stock_request_order__message_has_sms_error
365
363
  msgid "If checked, some messages have a delivery error."
366
364
  msgstr ""
367
365
 
@@ -429,7 +427,6 @@ msgstr ""
429
427
  #. module: stock_request
430
428
  #. odoo-python
431
429
  #: code:addons/stock_request/models/stock_request.py:0
432
- #, python-format
433
430
  msgid "Location must be equal to the order"
434
431
  msgstr ""
435
432
 
@@ -483,7 +480,6 @@ msgstr ""
483
480
 
484
481
  #. module: stock_request
485
482
  #: model:ir.model.constraint,message:stock_request.constraint_stock_request_abstract_name_uniq
486
- #: model:ir.model.constraint,message:stock_request.constraint_stock_request_kanban_name_uniq
487
483
  msgid "Name must be unique"
488
484
  msgstr ""
489
485
 
@@ -539,14 +535,12 @@ msgstr ""
539
535
  #. module: stock_request
540
536
  #. odoo-python
541
537
  #: code:addons/stock_request/models/stock_request_order.py:0
542
- #, python-format
543
538
  msgid "Only orders on draft state can be unlinked"
544
539
  msgstr ""
545
540
 
546
541
  #. module: stock_request
547
542
  #. odoo-python
548
543
  #: code:addons/stock_request/models/stock_request.py:0
549
- #, python-format
550
544
  msgid "Only requests on draft state can be unlinked"
551
545
  msgstr ""
552
546
 
@@ -587,7 +581,6 @@ msgstr ""
587
581
  #. module: stock_request
588
582
  #. odoo-python
589
583
  #: code:addons/stock_request/models/stock_request.py:0
590
- #, python-format
591
584
  msgid "Procurement group must be equal to the order"
592
585
  msgstr ""
593
586
 
@@ -687,7 +680,6 @@ msgstr ""
687
680
  #. module: stock_request
688
681
  #. odoo-python
689
682
  #: code:addons/stock_request/models/stock_move_line.py:0
690
- #, python-format
691
683
  msgid "Receipt confirmation %(picking_name)s for your Request %(request_name)s"
692
684
  msgstr ""
693
685
 
@@ -728,7 +720,6 @@ msgstr ""
728
720
  #. module: stock_request
729
721
  #. odoo-python
730
722
  #: code:addons/stock_request/models/stock_request.py:0
731
- #, python-format
732
723
  msgid "Requested by must be equal to the order"
733
724
  msgstr ""
734
725
 
@@ -754,6 +745,13 @@ msgstr ""
754
745
  msgid "Routes"
755
746
  msgstr ""
756
747
 
748
+ #. module: stock_request
749
+ #: model:ir.model.fields,field_description:stock_request.field_stock_request__message_has_sms_error
750
+ #: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract__message_has_sms_error
751
+ #: model:ir.model.fields,field_description:stock_request.field_stock_request_order__message_has_sms_error
752
+ msgid "SMS Delivery error"
753
+ msgstr ""
754
+
757
755
  #. module: stock_request
758
756
  #: model_terms:ir.ui.view,arch_db:stock_request.stock_request_order_form
759
757
  #: model_terms:ir.ui.view,arch_db:stock_request.view_stock_request_form
@@ -872,14 +870,12 @@ msgstr ""
872
870
  #. module: stock_request
873
871
  #. odoo-python
874
872
  #: code:addons/stock_request/models/stock_request.py:0
875
- #, python-format
876
873
  msgid "Stock Request product quantity cannot be negative."
877
874
  msgstr ""
878
875
 
879
876
  #. module: stock_request
880
877
  #. odoo-python
881
878
  #: code:addons/stock_request/models/stock_request.py:0
882
- #, python-format
883
879
  msgid "Stock Request product quantity has to be strictly positive."
884
880
  msgstr ""
885
881
 
@@ -934,21 +930,18 @@ msgstr ""
934
930
  #. odoo-python
935
931
  #: code:addons/stock_request/models/stock_move.py:0
936
932
  #: code:addons/stock_request/models/stock_request_order.py:0
937
- #, python-format
938
933
  msgid "The company of the stock request must match with that of the location."
939
934
  msgstr ""
940
935
 
941
936
  #. module: stock_request
942
937
  #. odoo-python
943
938
  #: code:addons/stock_request/models/stock_request_order.py:0
944
- #, python-format
945
939
  msgid "The company of the stock request must match with that of the warehouse."
946
940
  msgstr ""
947
941
 
948
942
  #. module: stock_request
949
943
  #. odoo-python
950
944
  #: code:addons/stock_request/models/stock_move_line.py:0
951
- #, python-format
952
945
  msgid ""
953
946
  "The following requested items from Stock Request %(request_name)s have now "
954
947
  "been received in %(location_name)s using Picking %(picking_name)s:"
@@ -957,7 +950,6 @@ msgstr ""
957
950
  #. module: stock_request
958
951
  #. odoo-python
959
952
  #: code:addons/stock_request/models/stock_request.py:0
960
- #, python-format
961
953
  msgid "The picking policy must be equal to the order"
962
954
  msgstr ""
963
955
 
@@ -969,14 +961,12 @@ msgstr ""
969
961
  #. module: stock_request
970
962
  #. odoo-python
971
963
  #: code:addons/stock_request/models/stock_request_order.py:0
972
- #, python-format
973
964
  msgid "There should be at least one request item for confirming the order."
974
965
  msgstr ""
975
966
 
976
967
  #. module: stock_request
977
968
  #. odoo-python
978
969
  #: code:addons/stock_request/models/stock_request_order.py:0
979
- #, python-format
980
970
  msgid "This action only works in the context of products"
981
971
  msgstr ""
982
972
 
@@ -1031,7 +1021,6 @@ msgstr ""
1031
1021
  #. module: stock_request
1032
1022
  #. odoo-python
1033
1023
  #: code:addons/stock_request/models/stock_request.py:0
1034
- #, python-format
1035
1024
  msgid "Warehouse must be equal to the order"
1036
1025
  msgstr ""
1037
1026
 
@@ -1052,7 +1041,6 @@ msgstr ""
1052
1041
  #. module: stock_request
1053
1042
  #. odoo-python
1054
1043
  #: code:addons/stock_request/models/stock_location.py:0
1055
- #, python-format
1056
1044
  msgid ""
1057
1045
  "You cannot change the company of the location, as it is already assigned to "
1058
1046
  "stock request orders that belong to another company."
@@ -1061,7 +1049,6 @@ msgstr ""
1061
1049
  #. module: stock_request
1062
1050
  #. odoo-python
1063
1051
  #: code:addons/stock_request/models/stock_location.py:0
1064
- #, python-format
1065
1052
  msgid ""
1066
1053
  "You cannot change the company of the location, as it is already assigned to "
1067
1054
  "stock requests that belong to another company."
@@ -1070,7 +1057,6 @@ msgstr ""
1070
1057
  #. module: stock_request
1071
1058
  #. odoo-python
1072
1059
  #: code:addons/stock_request/models/stock_route.py:0
1073
- #, python-format
1074
1060
  msgid ""
1075
1061
  "You cannot change the company of the route, as it is already assigned to "
1076
1062
  "stock requests that belong to another company."
@@ -1079,7 +1065,6 @@ msgstr ""
1079
1065
  #. module: stock_request
1080
1066
  #. odoo-python
1081
1067
  #: code:addons/stock_request/models/stock_warehouse.py:0
1082
- #, python-format
1083
1068
  msgid ""
1084
1069
  "You cannot change the company of the warehouse, as it is already assigned to "
1085
1070
  "stock request orders that belong to another company."
@@ -1088,7 +1073,6 @@ msgstr ""
1088
1073
  #. module: stock_request
1089
1074
  #. odoo-python
1090
1075
  #: code:addons/stock_request/models/stock_warehouse.py:0
1091
- #, python-format
1092
1076
  msgid ""
1093
1077
  "You cannot change the company of the warehouse, as it is already assigned to "
1094
1078
  "stock requests that belong to another company."
@@ -1097,35 +1081,30 @@ msgstr ""
1097
1081
  #. module: stock_request
1098
1082
  #. odoo-python
1099
1083
  #: code:addons/stock_request/models/stock_request_abstract.py:0
1100
- #, python-format
1101
1084
  msgid "You have entered a location that is assigned to another company."
1102
1085
  msgstr ""
1103
1086
 
1104
1087
  #. module: stock_request
1105
1088
  #. odoo-python
1106
1089
  #: code:addons/stock_request/models/stock_request_abstract.py:0
1107
- #, python-format
1108
1090
  msgid "You have entered a product that is assigned to another company."
1109
1091
  msgstr ""
1110
1092
 
1111
1093
  #. module: stock_request
1112
1094
  #. odoo-python
1113
1095
  #: code:addons/stock_request/models/stock_request_abstract.py:0
1114
- #, python-format
1115
1096
  msgid "You have entered a route that is assigned to another company."
1116
1097
  msgstr ""
1117
1098
 
1118
1099
  #. module: stock_request
1119
1100
  #. odoo-python
1120
1101
  #: code:addons/stock_request/models/stock_request_abstract.py:0
1121
- #, python-format
1122
1102
  msgid "You have entered a warehouse that is assigned to another company."
1123
1103
  msgstr ""
1124
1104
 
1125
1105
  #. module: stock_request
1126
1106
  #. odoo-python
1127
1107
  #: code:addons/stock_request/models/stock_request_abstract.py:0
1128
- #, python-format
1129
1108
  msgid ""
1130
1109
  "You have to select a product unit of measure in the same category than the "
1131
1110
  "default unit of measure of the product"
@@ -23,10 +23,7 @@ msgstr ""
23
23
  #. module: stock_request
24
24
  #. odoo-python
25
25
  #: code:addons/stock_request/models/stock_move_line.py:0
26
- #, python-format
27
- msgid ""
28
- "<li><b>%(product_name)s</b>: Transferred quantity "
29
- "%(product_qty)s%(product_uom)s</li>"
26
+ msgid "%(product_name)s : Transferred quantity %(product_qty)s %(product_uom)s"
30
27
  msgstr ""
31
28
 
32
29
  #. module: stock_request
@@ -169,7 +166,6 @@ msgstr "公司"
169
166
  #. module: stock_request
170
167
  #. odoo-python
171
168
  #: code:addons/stock_request/models/stock_request.py:0
172
- #, python-format
173
169
  msgid "Company must be equal to the order"
174
170
  msgstr "公司必须等于订单"
175
171
 
@@ -283,7 +279,6 @@ msgstr "预计日期"
283
279
  #. module: stock_request
284
280
  #. odoo-python
285
281
  #: code:addons/stock_request/models/stock_request.py:0
286
- #, python-format
287
282
  msgid "Expected date must be equal to the order"
288
283
  msgstr "预计日期必须等于订单"
289
284
 
@@ -362,8 +357,11 @@ msgstr "如果勾选此项,将会收到新消息提醒。"
362
357
 
363
358
  #. module: stock_request
364
359
  #: model:ir.model.fields,help:stock_request.field_stock_request__message_has_error
360
+ #: model:ir.model.fields,help:stock_request.field_stock_request__message_has_sms_error
365
361
  #: model:ir.model.fields,help:stock_request.field_stock_request_abstract__message_has_error
362
+ #: model:ir.model.fields,help:stock_request.field_stock_request_abstract__message_has_sms_error
366
363
  #: model:ir.model.fields,help:stock_request.field_stock_request_order__message_has_error
364
+ #: model:ir.model.fields,help:stock_request.field_stock_request_order__message_has_sms_error
367
365
  msgid "If checked, some messages have a delivery error."
368
366
  msgstr "如果勾选此项, 某些信息将会产生传递错误。"
369
367
 
@@ -432,7 +430,6 @@ msgstr "位置"
432
430
  #. module: stock_request
433
431
  #. odoo-python
434
432
  #: code:addons/stock_request/models/stock_request.py:0
435
- #, python-format
436
433
  msgid "Location must be equal to the order"
437
434
  msgstr "位置必须等于订单"
438
435
 
@@ -488,7 +485,6 @@ msgstr "名称"
488
485
 
489
486
  #. module: stock_request
490
487
  #: model:ir.model.constraint,message:stock_request.constraint_stock_request_abstract_name_uniq
491
- #: model:ir.model.constraint,message:stock_request.constraint_stock_request_kanban_name_uniq
492
488
  msgid "Name must be unique"
493
489
  msgstr "名称必须唯一"
494
490
 
@@ -545,14 +541,12 @@ msgstr "传递错误的消息数量"
545
541
  #. module: stock_request
546
542
  #. odoo-python
547
543
  #: code:addons/stock_request/models/stock_request_order.py:0
548
- #, python-format
549
544
  msgid "Only orders on draft state can be unlinked"
550
545
  msgstr "只有处于草稿状态的订单才能取消链接"
551
546
 
552
547
  #. module: stock_request
553
548
  #. odoo-python
554
549
  #: code:addons/stock_request/models/stock_request.py:0
555
- #, python-format
556
550
  msgid "Only requests on draft state can be unlinked"
557
551
  msgstr "只有处于草稿状态的请求才能取消链接"
558
552
 
@@ -593,7 +587,6 @@ msgstr "补货组"
593
587
  #. module: stock_request
594
588
  #. odoo-python
595
589
  #: code:addons/stock_request/models/stock_request.py:0
596
- #, python-format
597
590
  msgid "Procurement group must be equal to the order"
598
591
  msgstr "补货组必须等于订单"
599
592
 
@@ -693,7 +686,6 @@ msgstr "实际数量"
693
686
  #. module: stock_request
694
687
  #. odoo-python
695
688
  #: code:addons/stock_request/models/stock_move_line.py:0
696
- #, python-format
697
689
  msgid "Receipt confirmation %(picking_name)s for your Request %(request_name)s"
698
690
  msgstr ""
699
691
 
@@ -734,7 +726,6 @@ msgstr "已请求的数量(单位)"
734
726
  #. module: stock_request
735
727
  #. odoo-python
736
728
  #: code:addons/stock_request/models/stock_request.py:0
737
- #, python-format
738
729
  msgid "Requested by must be equal to the order"
739
730
  msgstr "请求者必须等于订单"
740
731
 
@@ -760,6 +751,14 @@ msgstr "路线"
760
751
  msgid "Routes"
761
752
  msgstr "路线"
762
753
 
754
+ #. module: stock_request
755
+ #: model:ir.model.fields,field_description:stock_request.field_stock_request__message_has_sms_error
756
+ #: model:ir.model.fields,field_description:stock_request.field_stock_request_abstract__message_has_sms_error
757
+ #: model:ir.model.fields,field_description:stock_request.field_stock_request_order__message_has_sms_error
758
+ #, fuzzy
759
+ msgid "SMS Delivery error"
760
+ msgstr "消息递送错误"
761
+
763
762
  #. module: stock_request
764
763
  #: model_terms:ir.ui.view,arch_db:stock_request.stock_request_order_form
765
764
  #: model_terms:ir.ui.view,arch_db:stock_request.view_stock_request_form
@@ -882,14 +881,12 @@ msgstr "库存请求名称必须唯一"
882
881
  #. module: stock_request
883
882
  #. odoo-python
884
883
  #: code:addons/stock_request/models/stock_request.py:0
885
- #, python-format
886
884
  msgid "Stock Request product quantity cannot be negative."
887
885
  msgstr ""
888
886
 
889
887
  #. module: stock_request
890
888
  #. odoo-python
891
889
  #: code:addons/stock_request/models/stock_request.py:0
892
- #, python-format
893
890
  msgid "Stock Request product quantity has to be strictly positive."
894
891
  msgstr "库存请求产品的数量必须严格为正数。"
895
892
 
@@ -944,21 +941,18 @@ msgstr "库存请求的提交状态"
944
941
  #. odoo-python
945
942
  #: code:addons/stock_request/models/stock_move.py:0
946
943
  #: code:addons/stock_request/models/stock_request_order.py:0
947
- #, python-format
948
944
  msgid "The company of the stock request must match with that of the location."
949
945
  msgstr "库存请求的公司必须与位置的公司匹配。"
950
946
 
951
947
  #. module: stock_request
952
948
  #. odoo-python
953
949
  #: code:addons/stock_request/models/stock_request_order.py:0
954
- #, python-format
955
950
  msgid "The company of the stock request must match with that of the warehouse."
956
951
  msgstr "库存请求的公司必须与仓库的公司匹配。"
957
952
 
958
953
  #. module: stock_request
959
954
  #. odoo-python
960
955
  #: code:addons/stock_request/models/stock_move_line.py:0
961
- #, python-format
962
956
  msgid ""
963
957
  "The following requested items from Stock Request %(request_name)s have now "
964
958
  "been received in %(location_name)s using Picking %(picking_name)s:"
@@ -967,7 +961,6 @@ msgstr ""
967
961
  #. module: stock_request
968
962
  #. odoo-python
969
963
  #: code:addons/stock_request/models/stock_request.py:0
970
- #, python-format
971
964
  msgid "The picking policy must be equal to the order"
972
965
  msgstr "拣货策略必须等于订单"
973
966
 
@@ -979,14 +972,12 @@ msgstr ""
979
972
  #. module: stock_request
980
973
  #. odoo-python
981
974
  #: code:addons/stock_request/models/stock_request_order.py:0
982
- #, python-format
983
975
  msgid "There should be at least one request item for confirming the order."
984
976
  msgstr ""
985
977
 
986
978
  #. module: stock_request
987
979
  #. odoo-python
988
980
  #: code:addons/stock_request/models/stock_request_order.py:0
989
- #, python-format
990
981
  msgid "This action only works in the context of products"
991
982
  msgstr "此操作仅在产品范围内有效"
992
983
 
@@ -1041,7 +1032,6 @@ msgstr "仓库"
1041
1032
  #. module: stock_request
1042
1033
  #. odoo-python
1043
1034
  #: code:addons/stock_request/models/stock_request.py:0
1044
- #, python-format
1045
1035
  msgid "Warehouse must be equal to the order"
1046
1036
  msgstr "仓库必须等于订单"
1047
1037
 
@@ -1062,7 +1052,6 @@ msgstr "网站沟通记录"
1062
1052
  #. module: stock_request
1063
1053
  #. odoo-python
1064
1054
  #: code:addons/stock_request/models/stock_location.py:0
1065
- #, python-format
1066
1055
  msgid ""
1067
1056
  "You cannot change the company of the location, as it is already assigned to "
1068
1057
  "stock request orders that belong to another company."
@@ -1071,7 +1060,6 @@ msgstr "您无法更改位置的公司,因为它已分配给属于另一公司
1071
1060
  #. module: stock_request
1072
1061
  #. odoo-python
1073
1062
  #: code:addons/stock_request/models/stock_location.py:0
1074
- #, python-format
1075
1063
  msgid ""
1076
1064
  "You cannot change the company of the location, as it is already assigned to "
1077
1065
  "stock requests that belong to another company."
@@ -1080,7 +1068,6 @@ msgstr "您无法更改位置的公司,因为它已分配给属于另一公司
1080
1068
  #. module: stock_request
1081
1069
  #. odoo-python
1082
1070
  #: code:addons/stock_request/models/stock_route.py:0
1083
- #, python-format
1084
1071
  msgid ""
1085
1072
  "You cannot change the company of the route, as it is already assigned to "
1086
1073
  "stock requests that belong to another company."
@@ -1089,7 +1076,6 @@ msgstr "您无法更改该路线的公司,因为它已分配给属于另一公
1089
1076
  #. module: stock_request
1090
1077
  #. odoo-python
1091
1078
  #: code:addons/stock_request/models/stock_warehouse.py:0
1092
- #, python-format
1093
1079
  msgid ""
1094
1080
  "You cannot change the company of the warehouse, as it is already assigned to "
1095
1081
  "stock request orders that belong to another company."
@@ -1098,7 +1084,6 @@ msgstr "您无法更改仓库的公司,因为它已经分配给属于另一家
1098
1084
  #. module: stock_request
1099
1085
  #. odoo-python
1100
1086
  #: code:addons/stock_request/models/stock_warehouse.py:0
1101
- #, python-format
1102
1087
  msgid ""
1103
1088
  "You cannot change the company of the warehouse, as it is already assigned to "
1104
1089
  "stock requests that belong to another company."
@@ -1107,44 +1092,35 @@ msgstr "您无法更改仓库的公司,因为它已分配给属于另一个公
1107
1092
  #. module: stock_request
1108
1093
  #. odoo-python
1109
1094
  #: code:addons/stock_request/models/stock_request_abstract.py:0
1110
- #, python-format
1111
1095
  msgid "You have entered a location that is assigned to another company."
1112
1096
  msgstr "您输入了分配给其他公司的位置。"
1113
1097
 
1114
1098
  #. module: stock_request
1115
1099
  #. odoo-python
1116
1100
  #: code:addons/stock_request/models/stock_request_abstract.py:0
1117
- #, python-format
1118
1101
  msgid "You have entered a product that is assigned to another company."
1119
1102
  msgstr "您输入了分配给其他公司的产品。"
1120
1103
 
1121
1104
  #. module: stock_request
1122
1105
  #. odoo-python
1123
1106
  #: code:addons/stock_request/models/stock_request_abstract.py:0
1124
- #, python-format
1125
1107
  msgid "You have entered a route that is assigned to another company."
1126
1108
  msgstr "您输入了分配给其他公司的路线。"
1127
1109
 
1128
1110
  #. module: stock_request
1129
1111
  #. odoo-python
1130
1112
  #: code:addons/stock_request/models/stock_request_abstract.py:0
1131
- #, python-format
1132
1113
  msgid "You have entered a warehouse that is assigned to another company."
1133
1114
  msgstr "您输入了分配给其他公司的仓库。"
1134
1115
 
1135
1116
  #. module: stock_request
1136
1117
  #. odoo-python
1137
1118
  #: code:addons/stock_request/models/stock_request_abstract.py:0
1138
- #, python-format
1139
1119
  msgid ""
1140
1120
  "You have to select a product unit of measure in the same category than the "
1141
1121
  "default unit of measure of the product"
1142
1122
  msgstr "您必须选择与产品默认计量单位相同类别的产品计量单位"
1143
1123
 
1144
- #, fuzzy
1145
- #~ msgid "SMS Delivery error"
1146
- #~ msgstr "消息递送错误"
1147
-
1148
1124
  #~ msgid "Last Modified on"
1149
1125
  #~ msgstr "最后修改时间"
1150
1126
 
@@ -1,6 +1,8 @@
1
1
  # Copyright 2017 ForgeFlow S.L.
2
2
  # License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl-3.0).
3
3
 
4
+ from markupsafe import Markup
5
+
4
6
  from odoo import _, api, models
5
7
 
6
8
 
@@ -9,28 +11,31 @@ class StockMoveLine(models.Model):
9
11
 
10
12
  @api.model
11
13
  def _stock_request_confirm_done_message_content(self, message_data):
12
- title = (
13
- _("Receipt confirmation %(picking_name)s for your Request %(request_name)s")
14
- % message_data
14
+ title = Markup("<h3>%s</h3>") % _(
15
+ "Receipt confirmation %(picking_name)s for your Request "
16
+ "%(request_name)s",
17
+ picking_name=message_data["picking_name"],
18
+ request_name=message_data["request_name"],
15
19
  )
16
- message = "<h3>%s</h3>" % title
17
- message += (
18
- _(
19
- "The following requested items from Stock Request %(request_name)s "
20
- "have now been received in %(location_name)s using Picking "
21
- "%(picking_name)s:"
22
- )
23
- % message_data
20
+
21
+ body = Markup("<p>%s</p>") % _(
22
+ "The following requested items from Stock Request %(request_name)s "
23
+ "have now been received in %(location_name)s using Picking "
24
+ "%(picking_name)s:",
25
+ request_name=message_data["request_name"],
26
+ location_name=message_data["location_name"],
27
+ picking_name=message_data["picking_name"],
24
28
  )
25
- message += "<ul>"
26
- message += (
27
- _(
28
- "<li><b>%(product_name)s</b>: Transferred quantity %(product_qty)s"
29
- "%(product_uom)s</li>"
30
- )
31
- % message_data
29
+
30
+ items = Markup("<ul><li><b>%s</b></li></ul>") % _(
31
+ "%(product_name)s : Transferred quantity %(product_qty)s %(product_uom)s",
32
+ product_name=message_data["product_name"],
33
+ product_qty=message_data["product_qty"],
34
+ product_uom=message_data["product_uom"],
32
35
  )
33
- message += "</ul>"
36
+
37
+ message = title + body + items
38
+
34
39
  return message
35
40
 
36
41
  def _prepare_message_data(self, ml, request, allocated_qty):
@@ -367,9 +367,9 @@ ul.auto-toc {
367
367
  !! This file is generated by oca-gen-addon-readme !!
368
368
  !! changes will be overwritten. !!
369
369
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
370
- !! source digest: sha256:1cb4dde73ccf1b2695a5d8e96c3b1041a9f5e1cd57bf38db63dc05870df6f8bd
370
+ !! source digest: sha256:7cd221a4bb7987a1b01edadc34e303112d18db83d309d806120c74b523fb48ad
371
371
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
372
- <p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/licence-LGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/stock-logistics-request/tree/17.0/stock_request"><img alt="OCA/stock-logistics-request" src="https://img.shields.io/badge/github-OCA%2Fstock--logistics--request-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/stock-logistics-request-17-0/stock-logistics-request-17-0-stock_request"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/stock-logistics-request&amp;target_branch=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
372
+ <p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/licence-LGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/stock-logistics-request/tree/18.0/stock_request"><img alt="OCA/stock-logistics-request" src="https://img.shields.io/badge/github-OCA%2Fstock--logistics--request-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/stock-logistics-request-18-0/stock-logistics-request-18-0-stock_request"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/stock-logistics-request&amp;target_branch=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
373
373
  <p>This module was written to allow users to request products that are
374
374
  frequently stocked by the company, to be transferred to their chosen
375
375
  location.</p>
@@ -435,7 +435,7 @@ request can be archived.</p>
435
435
  <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/stock-logistics-request/issues">GitHub Issues</a>.
436
436
  In case of trouble, please check there if your issue has already been reported.
437
437
  If you spotted it first, help us to smash it by providing a detailed and welcomed
438
- <a class="reference external" href="https://github.com/OCA/stock-logistics-request/issues/new?body=module:%20stock_request%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
438
+ <a class="reference external" href="https://github.com/OCA/stock-logistics-request/issues/new?body=module:%20stock_request%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
439
439
  <p>Do not contact contributors directly about support or help with technical issues.</p>
440
440
  </div>
441
441
  <div class="section" id="credits">
@@ -477,7 +477,7 @@ mission is to support the collaborative development of Odoo features and
477
477
  promote its widespread use.</p>
478
478
  <p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainers</a>:</p>
479
479
  <p><a class="reference external image-reference" href="https://github.com/LoisRForgeFlow"><img alt="LoisRForgeFlow" src="https://github.com/LoisRForgeFlow.png?size=40px" /></a> <a class="reference external image-reference" href="https://github.com/etobella"><img alt="etobella" src="https://github.com/etobella.png?size=40px" /></a></p>
480
- <p>This module is part of the <a class="reference external" href="https://github.com/OCA/stock-logistics-request/tree/17.0/stock_request">OCA/stock-logistics-request</a> project on GitHub.</p>
480
+ <p>This module is part of the <a class="reference external" href="https://github.com/OCA/stock-logistics-request/tree/18.0/stock_request">OCA/stock-logistics-request</a> project on GitHub.</p>
481
481
  <p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
482
482
  </div>
483
483
  </div>