Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
2276 Представления

Hi, 

On odoo V11, I modified "new repair order" template of the "repair" app with toggle studio and close.

I have deleted "product to repair" field and also wanted to delete "quantity" and "unit of measure".

When clicking on quantity field in toggle studio, I realized that quantities and uom are in one technical settings/manage multiple units of measures field. 

Clicked on remove form view and closed.

When tried to open a new repair order, I now get this error

Error:

Uncaught Error: Unknown field invoice_method in domain

http://54.203.0.143:8069/web/static/src/js/core/domain.js:67

Traceback:

Error: Unknown field invoice_method in domain

at Class.compute (http://54.203.0.143:8069/web/static/src/js/core/domain.js:67:23)

at http://54.203.0.143:8069/web/static/src/js/core/domain.js:122:38

at Function._.some._.any (http://54.203.0.143:8069/web/static/lib/underscore/underscore.js:250:11)

at Class.compute (http://54.203.0.143:8069/web/static/src/js/core/domain.js:121:30)

at evalModifier (http://54.203.0.143:8069/web/static/src/js/views/basic/basic_model.js:1698:49)

at Class._evalModifiers (http://54.203.0.143:8069/web/static/src/js/views/basic/basic_model.js:1701:32)

at Class._registerModifiers (http://54.203.0.143:8069/web/static/src/js/views/basic/basic_renderer.js:424:66)

at Class._renderHeaderButton [as _super] (http://54.203.0.143:8069/web/static/src/js/views/form/form_renderer.js:331:14)

at Class._renderHeaderButton (http://54.203.0.143:8069/barcodes/static/src/js/barcode_form_view.js:414:35)

at Class._renderHeaderButton (http://54.203.0.143:8069/web/static/src/js/core/class.js:123:38)

How can I repair this problem?

Or how can I reset repair module so that I can start again from scratch?

 

Аватар
Отменить
Автор Лучший ответ

Thank you for answer.

Uninstalled repair module, Fleet module, maintenance module. 

Installed again the 3, but still have the same problem: Clicking on new repair order, I get the same error message and cannot acces it. 

Moreover, cannot get fleet back on the odoo desk, but I see it is installed in the apps. 


As I cannot get to the model or vue, I cannot check the invoice_method matter. 

Any idea about what I can do? 

Аватар
Отменить
Лучший ответ

Hi,

If you are looking to start again all the way from the 1 itself, what you can do is that, uninstall the corresponding module and install it again and play around with it.


Regarding the error you have in the question, make sure that the field named invoice_method is defined in the model and in the view.


Thanks



Аватар
Отменить