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

Hello! Can someone help me?
In Odoo14, I am trying to 'mark as done' a manufacturing order (MO) that is in 'to close' status with all component quantities fully available and reserved. When I click the 'Mark as done' button, it informs me of the following error:
TypeError: _action_done() got an unexpected keyword argument 'cancel_backorder'


Ảnh đại diện
Huỷ bỏ
Tác giả

Thank you very much for your reply, Niyas Raphy.
I don't know how to use the odoo runbot. I don't have a preliminary fabrication module. I am going to follow your instructions regarding duplicating the database and removing some third-party applications that I installed later. I will communicate the results later. Have a good day.

Tác giả Câu trả lời hay nhất

Hello Niyas Raphy.

I have followed your instructions. I have duplicated the database and in it I have been uninstalling various modules and third party applications but the problem persists: TypeError: _action_done() got an unexpected keyword argument 'cancel_backorder'.

Then it occurred to me to update the Manufacturing (mrp_production) and Inventory (stock) modules themselves. I have not been able to update this last one because an error appears that may have to do with my problem since it talks about the same, the backorders.

This new error is as follows:

An error occurred while validating the view:

process_cancel_backorder is not a valid action on stock backorder confirmation

View name: stock_backorder_confirmation
Error context:
view:  ir ui  view
xmlid: view_backorder_confirmation


Can you give me any suggestion to tackle this new inconvenience?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi,

Didn't hear such an issue inside odoo core. may be the error is raised due to any third party apps ? You can verify it by checking in the odoo runbot, if the error is not reproducible in the odoo runbot, the bug is due to either not updated source code or any third party apps.

So update the odoo source code and remove third party apps in a duplicated db and see if the issue still exists or not.


NOTE: do you have draft manufacturing module in your instance ? if yes, duplicate the db, and in duplicated db, uninstall that module and see, if the error comes or not.


Thanks

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 5 24
973
0
thg 5 24
658
1
thg 11 22
3411
0
thg 4 21
1316
1
thg 12 20
2418