Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3831 Lượt xem


Any plans to port the Stock MTS+MTO Rule to V10 Community


https://www.odoo.com/apps/modules/8.0/stock_mts_mto_rule


Ảnh đại diện
Huỷ bỏ

https://github.com/OCA/stock-logistics-warehouse shows that it was ported, but I get a traceback when trying to confirm a Sales Order with a product configured as MTO -- MTS:

File "/odoo-dev/pending/stock_mts_mto_rule/model/warehouse.py", line 110, in write

vals['mts_mto_rule_id'] = mts_mto_pull.id

File "/odoo-dev/pending/stock_mts_mto_rule/model/warehouse.py", line 63, in _get_mts_mto_rule

pull_rule['action'] = 'move'

File "/odoo-dev/odoo-server/addons/stock/models/stock_warehouse.py", line 702, in _format_routename

name = self._get_route_name(route_type)

File "/odoo-dev/odoo-server/addons/stock/models/stock_warehouse.py", line 408, in _get_route_name

return names[route_type]

KeyError: u'MTS+MTO'

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 1 21
6175
1
thg 2 24
5647
1
thg 5 21
3841
2
thg 3 24
2523
2
thg 3 24
3232