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

Hello everyone,

It is about a custom module to personalize the sales module.

The module simply extends the sale.order model by modifying the write method. The goal is to trigger an action each time we update a quote / sales order.
But once the module is installed, and we try to modify a quote, the server shows an error.

And this error is always the same, even though the code is commented / deleted / changed !!!
As if the error is fixed and can no longer change regardless of the modification made to the code.


Note that the module development and update cycle is well respected (local commit, online push, merge on the production branch, update of the list of applications and upgrade of the module). The displayed error remains the same once captured ...

Also, it is very common to see that the new modules created (directory with __init__.py and __manifest__.py) are not visible on the server until very late (or even simply not visible).

Please, help if you already had the same problem

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

Please use a meaningful title.

Tác giả

Thank you! We modifed the code and re started the Odoo service, now, it is fine!

Câu trả lời hay nhất

Did you restarted the odoo service after removing/commenting the code?

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

You may want to update the sales module after the proper removal of the custom code.

Ả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 21
3607
1
thg 6 25
144
1
thg 6 25
364
1
thg 6 25
534
3
thg 5 25
580