Git Product home page Git Product logo

odooplm's People

Contributors

danielsme avatar dsmerghetto avatar lcazziolati avatar max3903 avatar mboscolo avatar omniagit avatar salahaddin avatar yenthe666 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

odooplm's Issues

[12.0] website and plm module conflict

@OmniaGit I may be experiencing a conflict between odooplm and the website module upon installation.

First, I am installing the plm module, and then the website one. The error is as follows:
ValueError: Element '<field name="mimetype">' cannot be located in parent view

Can you please confirm it? I can take care of that later on next week if confirmed.

Implementation ideas - Document categories

Dear @OmniaGit ,

internally, we are planning to create document categories following the scheme for product categories. Is this something you would like to see merged in this repo too?

So that all documents belonging to a certain category (quality, manufacturing, etc.) can be filtered.

Let me know.

Alessio

Additional documentation on PLM client options

Dear Omnia team!

I'd like to report that we have succesfully tested v16 version integration with SolidWorks.
It took me a while to realize that
latest version https://sourceforge.net/projects/openerpplm/files/latest/download
and
latest stable https://sourceforge.net/projects/openerpplm/files/Client/Stable/
do not work with the latest v16 server software.

I used the latest candidate client https://sourceforge.net/projects/openerpplm/files/Client/Candidate/
and all worked well. :)

Suggestion #1: Please make some readme about prerequisites!

Suggestion #2:
Since client is not an open source, please describe better available options.
https://odooplm.omniasolutions.website/login#Options

This way it is more like hit and miss. :(

Also, we noticed that product.template name is not populated from client side data like before (from part properties). Now we have to enter Description manually.
This was intentional change or ...?

Thanks!

Kind regards!

Issue doing inventory adjustment using import

Happens even when importing an exported inventory adjustment.
Using Odoo 13 on windows, through chrome and odooplm branch 13.00, tested also using branch 14.00 product_product.py

Traceback (most recent call last):
File "D:\Odoo 13.0\Odoo 13\server\odoo\http.py", line 624, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "D:\Odoo 13.0\Odoo 13\server\odoo\http.py", line 310, in _handle_exception
raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
File "D:\Odoo 13.0\Odoo 13\server\odoo\tools\pycompat.py", line 14, in reraise
raise value
File "D:\Odoo 13.0\Odoo 13\server\odoo\http.py", line 669, in dispatch
result = self._call_function(**self.params)
File "D:\Odoo 13.0\Odoo 13\server\odoo\http.py", line 350, in _call_function
return checked_call(self.db, *args, **kwargs)
File "D:\Odoo 13.0\Odoo 13\server\odoo\service\model.py", line 94, in wrapper
return f(dbname, *args, **kwargs)
File "D:\Odoo 13.0\Odoo 13\server\odoo\http.py", line 339, in checked_call
result = self.endpoint(*a, **kw)
File "D:\Odoo 13.0\Odoo 13\server\odoo\http.py", line 915, in call
return self.method(*args, **kw)
File "D:\Odoo 13.0\Odoo 13\server\odoo\http.py", line 515, in response_wrap
response = f(*args, **kw)
File "D:\Odoo 13.0\Odoo 13\server\odoo\addons\web\controllers\main.py", line 1339, in call_kw
return self._call_kw(model, method, args, kwargs)
File "D:\Odoo 13.0\Odoo 13\server\odoo\addons\web\controllers\main.py", line 1331, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "D:\Odoo 13.0\Odoo 13\server\odoo\api.py", line 387, in call_kw
result = _call_kw_multi(method, model, args, kwargs)
File "D:\Odoo 13.0\Odoo 13\server\odoo\api.py", line 374, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "D:\Odoo 13.0\Odoo 13\server\odoo\addons\base_import\models\base_import.py", line 924, in do
import_result = model.load(import_fields, data)
File "D:\Odoo 13.0\Odoo 13\server\odoo\models.py", line 1043, in load
for id, xid, record, info in converted:
File "D:\Odoo 13.0\Odoo 13\server\odoo\models.py", line 1193, in _convert_records
converted = convert(record, functools.partial(_log, extras, stream.index))
File "D:\Odoo 13.0\Odoo 13\server\odoo\addons\base\models\ir_fields.py", line 80, in fn
converted[field], ws = convertersfield
File "D:\Odoo 13.0\Odoo 13\server\odoo\addons\base\models\ir_fields.py", line 416, in _str_to_many2one
id, _, w2 = self.db_id_for(model, field, subfield, record[subfield])
File "D:\Odoo 13.0\Odoo 13\server\odoo\addons\base\models\ir_fields.py", line 353, in db_id_for
ids = RelatedModel.name_search(name=value, operator='=')
File "D:\Odoo 13.0\Odoo 13\server\odoo\models.py", line 1740, in name_search
return self._name_search(name, args, operator, limit=limit)
File "D:\Odoo 13.0\Odoo 13\server\odoo\addons\plm\models\product_product.py", line 1791, in _name_search
TypeError: can only concatenate list (not "NoneType") to list

To Reproduce:

Imported test file containing:
"
Product
[13753457] 123
[13753457] 123
"
Expected behavior: Connect inventory adjustment actions do the products default_code

Document - print not working for PDF documents

If a PDF is stored in the Documents, the print button generates an empty page.

I see here we are concatenating:
byteString = b"data:application/pdf;base64," + base64.b64encode(documentContent[0])

but I think this function should be only used for PDFs generated during the upload of 2D drawings.

Please correct me if I am wrong. I am willing to help if you point me in the right direction.

Alessio

Connector for FreeCAD

I saw a youtube video to connect freecad with your? odooplm.

where can i found this connector?

thx for helping.

Clean install error

Latest V11 tree, on a clean Odoo V11 / Ubuntu Server 16 install.

Error:
Odoo Server Error

Traceback (most recent call last):
  File "/odoo/odoo-server/odoo/tools/convert.py", line 745, in parse
    self._tags[rec.tag](rec, de, mode=mode)
  File "/odoo/odoo-server/odoo/tools/convert.py", line 655, in _tag_record
    id = self.env(context=rec_context)['ir.model.data']._update(rec_model, self.module, res, rec_id or False, not self.isnoupdate(data_node), noupdate=self.isnoupdate(data_node), mode=self.mode)
  File "/odoo/odoo-server/odoo/addons/base/ir/ir_model.py", line 1468, in _update
    record = record.create(values)
  File "/odoo/enterprise/addons/web_studio/models/studio_mixin.py", line 18, in create
    res = super(StudioMixin, self).create(vals)
  File "/odoo/odoo-server/odoo/addons/base/ir/ir_ui_view.py", line 384, in create
    return super(View, self).create(self._compute_defaults(values))
  File "/odoo/odoo-server/odoo/models.py", line 3283, in create
    self._fields[key].determine_inverse(record)
  File "/odoo/odoo-server/odoo/fields.py", line 1078, in determine_inverse
    getattr(records, self.inverse)()
  File "/odoo/odoo-server/odoo/addons/base/ir/ir_ui_view.py", line 253, in _inverse_arch
    view.write(data)
  File "/odoo/enterprise/addons/web_studio/models/studio_mixin.py", line 27, in write
    res = super(StudioMixin, self).write(vals)
  File "/odoo/odoo-server/odoo/addons/base/ir/ir_ui_view.py", line 400, in write
    return super(View, self).write(self._compute_defaults(vals))
  File "/odoo/odoo-server/odoo/models.py", line 3005, in write
    self._write(old_vals)
  File "/odoo/odoo-server/odoo/models.py", line 3158, in _write
    self._validate_fields(vals)
  File "/odoo/odoo-server/odoo/models.py", line 965, in _validate_fields
    check(self)
  File "/odoo/odoo-server/odoo/addons/base/ir/ir_ui_view.py", line 329, in _check_xml
    raise ValidationError(_('Invalid view definition'))
odoo.exceptions.ValidationError: ('Invalid view definition', None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/odoo/odoo-server/odoo/http.py", line 646, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/odoo/odoo-server/odoo/http.py", line 307, in _handle_exception
    raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
  File "/odoo/odoo-server/odoo/tools/pycompat.py", line 87, in reraise
    raise value
  File "/odoo/odoo-server/odoo/http.py", line 683, in dispatch
    result = self._call_function(**self.params)
  File "/odoo/odoo-server/odoo/http.py", line 339, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/odoo/odoo-server/odoo/service/model.py", line 97, in wrapper
    return f(dbname, *args, **kwargs)
  File "/odoo/odoo-server/odoo/http.py", line 332, in checked_call
    result = self.endpoint(*a, **kw)
  File "/odoo/odoo-server/odoo/http.py", line 927, in __call__
    return self.method(*args, **kw)
  File "/odoo/odoo-server/odoo/http.py", line 512, in response_wrap
    response = f(*args, **kw)
  File "/odoo/odoo-server/addons/web/controllers/main.py", line 928, in call_button
    action = self._call_kw(model, method, args, {})
  File "/odoo/odoo-server/addons/web/controllers/main.py", line 916, in _call_kw
    return call_kw(request.env[model], method, args, kwargs)
  File "/odoo/odoo-server/odoo/api.py", line 689, in call_kw
    return call_kw_multi(method, model, args, kwargs)
  File "/odoo/odoo-server/odoo/api.py", line 680, in call_kw_multi
    result = method(recs, *args, **kwargs)
  File "<decorator-gen-39>", line 2, in button_immediate_install
  File "/odoo/odoo-server/odoo/addons/base/module/module.py", line 71, in check_and_log
    return method(self, *args, **kwargs)
  File "/odoo/odoo-server/odoo/addons/base/module/module.py", line 438, in button_immediate_install
    return self._button_immediate_function(type(self).button_install)
  File "/odoo/odoo-server/odoo/addons/base/module/module.py", line 531, in _button_immediate_function
    modules.registry.Registry.new(self._cr.dbname, update_module=True)
  File "/odoo/odoo-server/odoo/modules/registry.py", line 84, in new
    odoo.modules.load_modules(registry._db, force_demo, status, update_module)
  File "/odoo/odoo-server/odoo/modules/loading.py", line 343, in load_modules
    loaded_modules, update_module)
  File "/odoo/odoo-server/odoo/modules/loading.py", line 242, in load_marked_modules
    loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
  File "/odoo/odoo-server/odoo/modules/loading.py", line 156, in load_module_graph
    _load_data(cr, module_name, idref, mode, kind='data')
  File "/odoo/odoo-server/odoo/modules/loading.py", line 94, in _load_data
    tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report)
  File "/odoo/odoo-server/odoo/tools/convert.py", line 792, in convert_file
    convert_xml_import(cr, module, fp, idref, mode, noupdate, report)
  File "/odoo/odoo-server/odoo/tools/convert.py", line 853, in convert_xml_import
    obj.parse(doc.getroot(), mode=mode)
  File "/odoo/odoo-server/odoo/tools/convert.py", line 742, in parse
    self.parse(rec, mode)
  File "/odoo/odoo-server/odoo/tools/convert.py", line 752, in parse
    exc_info[2]
  File "/odoo/odoo-server/odoo/tools/pycompat.py", line 86, in reraise
    raise value.with_traceback(tb)
  File "/odoo/odoo-server/odoo/tools/convert.py", line 745, in parse
    self._tags[rec.tag](rec, de, mode=mode)
  File "/odoo/odoo-server/odoo/tools/convert.py", line 655, in _tag_record
    id = self.env(context=rec_context)['ir.model.data']._update(rec_model, self.module, res, rec_id or False, not self.isnoupdate(data_node), noupdate=self.isnoupdate(data_node), mode=self.mode)
  File "/odoo/odoo-server/odoo/addons/base/ir/ir_model.py", line 1468, in _update
    record = record.create(values)
  File "/odoo/enterprise/addons/web_studio/models/studio_mixin.py", line 18, in create
    res = super(StudioMixin, self).create(vals)
  File "/odoo/odoo-server/odoo/addons/base/ir/ir_ui_view.py", line 384, in create
    return super(View, self).create(self._compute_defaults(values))
  File "/odoo/odoo-server/odoo/models.py", line 3283, in create
    self._fields[key].determine_inverse(record)
  File "/odoo/odoo-server/odoo/fields.py", line 1078, in determine_inverse
    getattr(records, self.inverse)()
  File "/odoo/odoo-server/odoo/addons/base/ir/ir_ui_view.py", line 253, in _inverse_arch
    view.write(data)
  File "/odoo/enterprise/addons/web_studio/models/studio_mixin.py", line 27, in write
    res = super(StudioMixin, self).write(vals)
  File "/odoo/odoo-server/odoo/addons/base/ir/ir_ui_view.py", line 400, in write
    return super(View, self).write(self._compute_defaults(vals))
  File "/odoo/odoo-server/odoo/models.py", line 3005, in write
    self._write(old_vals)
  File "/odoo/odoo-server/odoo/models.py", line 3158, in _write
    self._validate_fields(vals)
  File "/odoo/odoo-server/odoo/models.py", line 965, in _validate_fields
    check(self)
  File "/odoo/odoo-server/odoo/addons/base/ir/ir_ui_view.py", line 329, in _check_xml
    raise ValidationError(_('Invalid view definition'))
odoo.tools.convert.ParseError: "Invalid view definition
None" while parsing /odoo/odooplm/plm/views/mrp_extension.xml:190, near
<record id="view_mrp_bom_filter_inherit" model="ir.ui.view">
            <field name="name">plm.bom.select</field>
            <field name="model">mrp.bom</field>
         	<field name="inherit_id" ref="mrp.view_mrp_bom_filter"/>
            <field name="type">search</field>
            <field name="arch" type="xml">
                <data><field name="code" position="before">
	               	<filter name="filter_latest_2_weeks" string="Latest 2 Weeks" separator="1" domain="[('create_date','&lt;=', (datetime.date.today()).strftime('%%Y-%%m-%%d')),('create_date','&gt;=',(datetime.date.today()-datetime.timedelta(weeks=2)).strftime('%%Y-%%m-%%d'))]" help="Created latest 2 Weeks"/>
	               	<filter name="filter_latest_7" string="Latest 7 Days" separator="1" domain="[('create_date','&lt;=', (datetime.date.today()).strftime('%%Y-%%m-%%d')),('create_date','&gt;=',(datetime.date.today()-datetime.timedelta(weeks=1)).strftime('%%Y-%%m-%%d'))]" help="Created latest 7 Days"/>
	             	<filter name="filter_yesterday" string="Yesterday" separator="1" domain="[('create_date','&lt;=', (datetime.date.today()-datetime.timedelta(days=1)).strftime('%%Y-%%m-%%d')),('create_date','&gt;=',(datetime.date.today()-datetime.timedelta(days=1)).strftime('%%Y-%%m-%%d'))]" help="Created yesterday"/>
	            	<filter name="filter_today" string="Today" separator="1" domain="[('create_date','&lt;=', (datetime.date.today()).strftime('%%Y-%%m-%%d')),('create_date','&gt;=',(datetime.date.today()).strftime('%%Y-%%m-%%d'))]" help="Created today"/>
	               	<separator orientation="vertical"/>
        		</field>
				<xpath expr="//group" position="after">
                    <filter string="BoM Name" domain="[]" context="{'group_by':'code'}"/>
                    <filter string="Variant Name" domain="[]" context="{'group_by':'product_id'}"/>
                    <filter string="Source Relationship" domain="[]" context="{'group_by':'source_id'}"/>
	            </xpath>
	        </data></field>
        </record>

Wrong translation for the status of the product

Describe the bug
If we save a product from odooPLM client in a foren laguage and we change the language in odoo web interface the status is not transated.
To Reproduce
suppose we write the product in Chinese and we read the product in English.
in this case the view show Chinese not English.
traduzione

Expected behavior
the status will be translated in the current language

fixed batch size in work orders

We try to use MRP. And we use PLM. So we hope we get maybe here a answer. Thx.

We produce items with a fix batch size. Means we can produce at once eg 50 items. Or a multiple of it. 100, 150.

Work orders will created always with a number of items computed from reorder rules or mto etc. We see no possiblity to change work order to the next "batch size". Eg reorder rule want order 10 items, mrp should be capable to change the number of items to a fixed number (or a multible of it).

I hope our needing is understandable. Is this possible?

Error appear "Missing engineering code for plm data" when save Engineering Parts

Describe the bug A clear and concise description of what the bug is.
Hi to all good man,
I think anyone have experience deploy this PLM module can help me , I have got a error when I create and save "[Engineering Parts]"

Thank you very much !

Error: "Missing engineering code for plm data"

Request URL: http://192.168.2.15:8069/web/dataset/call_kw/product.product/create
{
"id": 626,
"jsonrpc": "2.0",
"method": "call",
"params": {
"args": [
{
"service_type": "manual",
"attribute_line_ids": [],
"type": "consu",
"is_published": false,
"image_1920": false,
"__last_update": "2022-05-08 01:28:03",
"name": "Demo",
"sale_ok": false,
"purchase_ok": true,
"std_description": false,
"readonly_std_umc1": false,
"readonly_std_umc2": false,
"readonly_std_umc3": false,
"std_umc1": false,
"std_value1": 0,
"std_umc2": false,
"std_value2": 0,
"std_umc3": false,
"std_value3": 0,
"source_product": false,
"desc_modify": "",
"active": true,
"detailed_type": "consu",
"invoice_policy": "order",
"expense_policy": "no",
"uom_id": 1,
"base_unit_count": 1,
"base_unit_id": false,
"uom_po_id": 1,
"list_price": 1,
"lst_price": 1,
"taxes_id": [
[
6,
false,
[
20
]
]
],
"standard_price": 0,
"default_code": false,
"barcode": false,
"categ_id": 1,
"company_id": false,
"description": "

.

",
"accessory_product_ids": [
[
6,
false,
[]
]
],
"alternative_product_ids": [
[
6,
false,
[]
]
],
"optional_product_ids": [
[
6,
false,
[]
]
],
"website_id": false,
"website_sequence": 10230,
"public_categ_ids": [
[
6,
false,
[]
]
],
"allow_out_of_stock_order": true,
"show_availability": false,
"available_threshold": 5,
"out_of_stock_message": "


",
"website_ribbon_id": false,
"product_template_image_ids": [],
"description_sale": false,
"sale_line_warn": "no-message",
"seller_ids": [],
"service_to_purchase": false,
"supplier_taxes_id": [
[
6,
false,
[
7
]
]
],
"purchase_method": "receive",
"description_purchase": false,
"purchase_line_warn": "no-message",
"route_ids": [
[
6,
false,
[
7
]
]
],
"weight": 0,
"volume": 0,
"produce_delay": 0,
"sale_delay": 0,
"tracking": "none",
"property_stock_production": 15,
"property_stock_inventory": 14,
"packaging_ids": [],
"description_pickingin": false,
"description_pickingout": false,
"description_picking": false,
"property_account_income_id": false,
"property_account_expense_id": false,
"property_account_creditor_price_difference": false,
"tmp_material": false,
"engineering_material": false,
"tmp_surface": false,
"engineering_surface": false,
"tmp_treatment": false,
"engineering_treatment": false,
"linkeddocuments": [
[
6,
false,
[]
]
],
"message_follower_ids": [],
"activity_ids": [],
"message_ids": []
}
],
"model": "product.product",
"method": "create",
"kwargs": {
"context": {
"lang": "zh_CN",
"tz": "Asia/Hong_Kong",
"uid": 2,
"allowed_company_ids": [
1
],
"search_default_latest": 1,
"odooPLM": true
}
}
}
}
To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

{
"jsonrpc": "2.0",
"id": 626,
"error": {
"code": 200,
"message": "Odoo Server Error",
"data": {
"name": "odoo.exceptions.UserError",
"debug": "Traceback (most recent call last):\n File "C:\Program Files\Odoo 15.0.20220426\server\odoo\addons\base\models\ir_http.py", line 237, in _dispatch\n result = request.dispatch()\n File "C:\Program Files\Odoo 15.0.20220426\server\odoo\http.py", line 688, in dispatch\n result = self._call_function(**self.params)\n File "C:\Program Files\Odoo 15.0.20220426\server\odoo\http.py", line 360, in _call_function\n return checked_call(self.db, *args, **kwargs)\n File "C:\Program Files\Odoo 15.0.20220426\server\odoo\service\model.py", line 94, in wrapper\n return f(dbname, *args, **kwargs)\n File "C:\Program Files\Odoo 15.0.20220426\server\odoo\http.py", line 349, in checked_call\n result = self.endpoint(*a, **kw)\n File "C:\Program Files\Odoo 15.0.20220426\server\odoo\http.py", line 917, in call\n return self.method(*args, **kw)\n File "C:\Program Files\Odoo 15.0.20220426\server\odoo\http.py", line 536, in response_wrap\n response = f(*args, **kw)\n File "C:\Program Files\Odoo 15.0.20220426\server\odoo\addons\web\controllers\main.py", line 1348, in call_kw\n return self._call_kw(model, method, args, kwargs)\n File "C:\Program Files\Odoo 15.0.20220426\server\odoo\addons\web\controllers\main.py", line 1340, in _call_kw\n return call_kw(request.env[model], method, args, kwargs)\n File "C:\Program Files\Odoo 15.0.20220426\server\odoo\api.py", line 462, in call_kw\n result = _call_kw_model_create(method, model, args, kwargs)\n File "C:\Program Files\Odoo 15.0.20220426\server\odoo\api.py", line 442, in _call_kw_model_create\n result = method(recs, *args, **kwargs)\n File "", line 2, in create\n File "C:\Program Files\Odoo 15.0.20220426\server\odoo\api.py", line 391, in _model_create_single\n return create(self, arg)\n File "C:\Program Files\Odoo 15.0.20220426\server\odoo\addons\plm\models\product_product.py", line 1002, in create\n raise ex\n File "C:\Program Files\Odoo 15.0.20220426\server\odoo\addons\plm\models\product_product.py", line 998, in create\n res = super(PlmComponent, self).create(vals)\n File "", line 2, in create\n File "C:\Program Files\Odoo 15.0.20220426\server\odoo\api.py", line 412, in _model_create_multi\n return create(self, [arg])\n File "C:\Program Files\Odoo 15.0.20220426\server\odoo\addons\product\models\product.py", line 362, in create\n products = super(ProductProduct, self.with_context(create_product_product=True)).create(vals_list)\n File "", line 2, in create\n File "C:\Program Files\Odoo 15.0.20220426\server\odoo\api.py", line 413, in _model_create_multi\n return create(self, arg)\n File "C:\Program Files\Odoo 15.0.20220426\server\odoo\addons\mail\models\mail_thread.py", line 265, in create\n threads = super(MailThread, self).create(vals_list)\n File "", line 2, in create\n File "C:\Program Files\Odoo 15.0.20220426\server\odoo\api.py", line 413, in _model_create_multi\n return create(self, arg)\n File "C:\Program Files\Odoo 15.0.20220426\server\odoo\addons\base\models\ir_fields.py", line 613, in create\n recs = super().create(vals_list)\n File "", line 2, in create\n File "C:\Program Files\Odoo 15.0.20220426\server\odoo\api.py", line 413, in _model_create_multi\n return create(self, arg)\n File "C:\Program Files\Odoo 15.0.20220426\server\odoo\models.py", line 4103, in create\n fields[0].determine_inverse(batch_recs)\n File "C:\Program Files\Odoo 15.0.20220426\server\odoo\fields.py", line 1275, in determine_inverse\n getattr(records, self.inverse)()\n File "C:\Program Files\Odoo 15.0.20220426\server\odoo\addons\product\models\product.py", line 185, in _set_image_1920\n return self._set_template_field('image_1920', 'image_variant_1920')\n File "C:\Program Files\Odoo 15.0.20220426\server\odoo\addons\product\models\product.py", line 174, in _set_template_field\n record[variant_field] = False\n File "C:\Program Files\Odoo 15.0.20220426\server\odoo\models.py", line 5894, in setitem\n return self._fields[key].set(self, value)\n File "C:\Program Files\Odoo 15.0.20220426\server\odoo\fields.py", line 1217, in set\n records.write({self.name: write_value})\n File "C:\Program Files\Odoo 15.0.20220426\server\odoo\addons\plm\models\product_product.py", line 1035, in write\n self.checkFromOdooPlm()\n File "C:\Program Files\Odoo 15.0.20220426\server\odoo\addons\plm\models\product_product.py", line 1131, in checkFromOdooPlm\n raise UserError("Missing engineering code for plm data")\nException\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n File "C:\Program Files\Odoo 15.0.20220426\server\odoo\http.py", line 644, in _handle_exception\n return super(JsonRequest, self)._handle_exception(exception)\n File "C:\Program Files\Odoo 15.0.20220426\server\odoo\http.py", line 302, in _handle_exception\n raise exception.with_traceback(None) from new_cause\nodoo.exceptions.UserError: Missing engineering code for plm data\n",
"message": "Missing engineering code for plm data",
"arguments": [
"Missing engineering code for plm data"
],
"context": {}
}
}
}

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Additional context Add any other context about the problem here.

'Connection aborted.', error(10054, 'An existing connection was forcibly closed by the remote host')

When saving a solidworks assembly from the OdooPLM client, an intermittent error appears. And the save fails.

'Connection aborted.', error(10054, 'An existing connection was forcibly closed by the remote host')

By checking the OdooPlm 'DB Thread Action' page, this error can be see, and the specific solidworks part that is causing the error can be seen. The error does not constantly appear on the same part.

OdooPlm v 15.0
Solidworks 2022
OdooPlm Client: OdooPlm_2019_odoov13_16062022_180028.exe

Solidworks Assembly Size: About 100 parts.

Thank you for any assistance.

Document - name is editable for release document

The name for a released document is editable, but upon save, the name is correctly not changed. We should make it read-only.

In addition, the field "name" is present twice, also on the left to the revision. What about changing this to revision label so that we have only one name field?

I can take care of this if you agree.

Alessio

is_plm to trigger backup - should we be more clear on UI?

@OmniaGit correct me if I am wrong; is_plm triggers only the backup of the file. What about adding to the user interface some help text for the user to understand that if this box is unchecked not backup is taken?

Let me know, I can handle this if you agree on the edit.

Alessio

Latest product revision link throws server error (Product Form)

Clicking on the Rev.N link on the product form throws a server error.

How to reproduce:

  1. Create a product with the product number 123456 and Revision 0
  2. Create another product with the product number 123456 and Revision 1
  3. Navigate to the one of the two created products. Locate the Rev.2 link, click it.

At that point you should get a server error. AttributeError: 'function' object has no attribute 'ids'.

The fix is to call self.getAllVersionTemplate() instead of referencing it.

Error when saving product with multiple attribute values. v15

I am expereincing an error when saving a product with multiple attribute values.

Odoo v15 Enterprise

Steps to reproduce the behavior:

  1. Go to Inventory > Products > Create
  2. Click Attributes & Values
  3. Add an attribute. (i.e. Color), and multiple values (i.e. Black, White)
  4. Click Save

The following error message is presented:

RPC_ERROR
Odoo Server Error
Traceback (most recent call last):
File "/home/odoo/src/odoo/odoo/addons/base/models/ir_http.py", line 237, in _dispatch
result = request.dispatch()
File "/home/odoo/src/odoo/odoo/http.py", line 686, in dispatch
result = self._call_function(**self.params)
File "/home/odoo/src/odoo/odoo/http.py", line 358, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/home/odoo/src/odoo/odoo/service/model.py", line 94, in wrapper
return f(dbname, *args, **kwargs)
File "/home/odoo/src/odoo/odoo/http.py", line 347, in checked_call
result = self.endpoint(*a, **kw)
File "/home/odoo/src/odoo/odoo/http.py", line 915, in call
return self.method(*args, **kw)
File "/home/odoo/src/odoo/odoo/http.py", line 534, in response_wrap
response = f(*args, **kw)
File "/home/odoo/src/odoo/addons/web/controllers/main.py", line 1348, in call_kw
return self._call_kw(model, method, args, kwargs)
File "/home/odoo/src/odoo/addons/web/controllers/main.py", line 1340, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/home/odoo/src/odoo/odoo/api.py", line 462, in call_kw
result = _call_kw_model_create(method, model, args, kwargs)
File "/home/odoo/src/odoo/odoo/api.py", line 442, in _call_kw_model_create
result = method(recs, *args, **kwargs)
File "", line 2, in create
File "/home/odoo/src/odoo/odoo/api.py", line 391, in _model_create_single
return create(self, arg)
File "/home/odoo/src/user/plm_auto_internalref/models/product_template.py", line 46, in create
return super(ProductTemplateExtension, self).create(vals)
File "", line 2, in create
File "/home/odoo/src/odoo/odoo/api.py", line 391, in _model_create_single
return create(self, arg)
File "/home/odoo/src/user/plm/models/product_template.py", line 189, in create
return super(ProductTemplateExtension, self).create(vals)
File "", line 2, in create
File "/home/odoo/src/odoo/odoo/api.py", line 412, in _model_create_multi
return create(self, [arg])
File "/home/odoo/src/odoo/addons/product/models/product_template.py", line 473, in create
templates._create_variant_ids()
File "/home/odoo/src/odoo/addons/product/models/product_template.py", line 730, in _create_variant_ids
variants_to_activate.write({'active': True})
File "/home/odoo/src/user/plm_product_description_language_helper/models/product_product.py", line 104, in write
return super(ProductProductExtension, self).write(vals)
File "/home/odoo/src/user/plm_auto_internalref/models/product_product.py", line 54, in write
res = super(ProductProductExtension, self).write(vals)
File "/home/odoo/src/user/plm/models/product_product.py", line 1034, in write
if self._origin.id:
File "/home/odoo/src/odoo/odoo/fields.py", line 4061, in get
raise ValueError("Expected singleton: %s" % record)
Exception

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/home/odoo/src/odoo/odoo/http.py", line 642, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/home/odoo/src/odoo/odoo/http.py", line 300, in _handle_exception
raise exception.with_traceback(None) from new_cause
ValueError: Expected singleton: product.product(2620, 2621)

Web revision - hide engineering flag if not applicable

When we try to revise a product from the web, and if "use engineering BoM" and "spare parts" are disabled in the settings, the flags for this two types of revisions should be grayed out.

Please confirm that this makes sense to you so that I can proceed with the fix.

Alessio

[11.0] Service product have engineering information.

We are using this module in an Industry Manufacturing company and i am testing it trying to adapt it to our workflow.

Company manufacture engineering peace that also can be stockable for future sale orders, but i see that only services and consumable products can be related to an Engineering Part.

Why?

I think it is related to the MO concept, right?

[12.0] Error while installing odooplm

Error while installink on latest version of odoo:

Ошибка:
Odoo Server Error

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/odoo/api.py", line 1039, in get
    value = self._data[key][field][record.id]
KeyError: 338

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/odoo/fields.py", line 963, in __get__
    value = record.env.cache.get(record, self)
  File "/usr/lib/python3/dist-packages/odoo/api.py", line 1041, in get
    raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: ('ir.attachment(338,).document_type', None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 654, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 312, in _handle_exception
    raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/odoo/tools/pycompat.py", line 87, in reraise
    raise value
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 696, in dispatch
    result = self._call_function(**self.params)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 344, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 97, in wrapper
    return f(dbname, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 337, in checked_call
    result = self.endpoint(*a, **kw)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 939, in __call__
    return self.method(*args, **kw)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 517, in response_wrap
    response = f(*args, **kw)
  File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 966, in call_button
    action = self._call_kw(model, method, args, {})
  File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 954, in _call_kw
    return call_kw(request.env[model], method, args, kwargs)
  File "/usr/lib/python3/dist-packages/odoo/api.py", line 749, in call_kw
    return _call_kw_multi(method, model, args, kwargs)
  File "/usr/lib/python3/dist-packages/odoo/api.py", line 736, in _call_kw_multi
    result = method(recs, *args, **kwargs)
  File "<decorator-gen-61>", line 2, in button_immediate_install
  File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 73, in check_and_log
    return method(self, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 444, in button_immediate_install
    return self._button_immediate_function(type(self).button_install)
  File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 553, in _button_immediate_function
    modules.registry.Registry.new(self._cr.dbname, update_module=True)
  File "/usr/lib/python3/dist-packages/odoo/modules/registry.py", line 86, in new
    odoo.modules.load_modules(registry._db, force_demo, status, update_module)
  File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 421, in load_modules
    loaded_modules, update_module, models_to_check)
  File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 313, in load_marked_modules
    perform_checks=perform_checks, models_to_check=models_to_check
  File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 195, in load_module_graph
    registry.init_models(cr, model_names, {'module': package.name})
  File "/usr/lib/python3/dist-packages/odoo/modules/registry.py", line 304, in init_models
    models[0].recompute()
  File "/usr/lib/python3/dist-packages/odoo/models.py", line 5218, in recompute
    vals = {n: rec[n] for n in ns}
  File "/usr/lib/python3/dist-packages/odoo/models.py", line 5218, in <dictcomp>
    vals = {n: rec[n] for n in ns}
  File "/usr/lib/python3/dist-packages/odoo/models.py", line 5065, in __getitem__
    return self._fields[key].__get__(self, type(self))
  File "/usr/lib/python3/dist-packages/odoo/fields.py", line 967, in __get__
    self.determine_value(record)
  File "/usr/lib/python3/dist-packages/odoo/fields.py", line 1054, in determine_value
    self.compute_value(recs)
  File "/usr/lib/python3/dist-packages/odoo/fields.py", line 1034, in compute_value
    self._compute_value(records)
  File "/usr/lib/python3/dist-packages/odoo/fields.py", line 1027, in _compute_value
    self.compute(records)
  File "/mnt/extra-addons/plm/models/ir_attachment.py", line 801, in _compute_document_type
    extensions2D = eval(configParamObj._get_param('file_exte_type_rel_2D'))
TypeError: eval() arg 1 must be a string, bytes or code object

Error during installation

RPC_ERROR
Odoo Server Error

Traceback (most recent call last):
File "/odoo17/odoo/odoo/http.py", line 1732, in _serve_db
return service_model.retrying(self._serve_ir_http, self.env)
File "/odoo17/odoo/odoo/service/model.py", line 133, in retrying
result = func()
File "/odoo17/odoo/odoo/http.py", line 1759, in _serve_ir_http
response = self.dispatcher.dispatch(rule.endpoint, args)
File "/odoo17/odoo/odoo/http.py", line 1960, in dispatch
result = self.request.registry['ir.http']._dispatch(endpoint)
File "/odoo17/odoo/addons/website/models/ir_http.py", line 235, in _dispatch
response = super()._dispatch(endpoint)
File "/odoo17/odoo/odoo/addons/base/models/ir_http.py", line 207, in _dispatch
result = endpoint(**request.params)
File "/odoo17/odoo/odoo/http.py", line 722, in route_wrapper
result = endpoint(self, *args, **params_ok)
File "/odoo17/odoo/addons/web/controllers/dataset.py", line 28, in call_button
action = self._call_kw(model, method, args, kwargs)
File "/odoo17/odoo/addons/web/controllers/dataset.py", line 20, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/odoo17/odoo/odoo/api.py", line 466, in call_kw
result = _call_kw_multi(method, model, args, kwargs)
File "/odoo17/odoo/odoo/api.py", line 453, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "", line 2, in button_immediate_install
File "/odoo17/odoo/odoo/addons/base/models/ir_module.py", line 75, in check_and_log
return method(self, *args, **kwargs)
File "/odoo17/odoo/odoo/addons/base/models/ir_module.py", line 459, in button_immediate_install
return self._button_immediate_function(type(self).button_install)
File "/odoo17/odoo/odoo/addons/base/models/ir_module.py", line 583, in _button_immediate_function
registry = modules.registry.Registry.new(self._cr.dbname, update_module=True)
File "", line 2, in new
File "/odoo17/odoo/odoo/tools/func.py", line 87, in locked
return func(inst, *args, **kwargs)
File "/odoo17/odoo/odoo/modules/registry.py", line 113, in new
odoo.modules.load_modules(registry, force_demo, status, update_module)
File "/odoo17/odoo/odoo/modules/loading.py", line 480, in load_modules
processed_modules += load_marked_modules(env, graph,
File "/odoo17/odoo/odoo/modules/loading.py", line 364, in load_marked_modules
loaded, processed = load_module_graph(
File "/odoo17/odoo/odoo/modules/loading.py", line 205, in load_module_graph
registry.init_models(env.cr, model_names, {'module': package.name}, new_install)
File "/odoo17/odoo/odoo/modules/registry.py", line 582, in init_models
func()
File "/odoo17/odoo/odoo/addons/base/models/ir_model.py", line 1916, in _reflect_relation
self.env.invalidate_all()
File "/odoo17/odoo/odoo/api.py", line 702, in invalidate_all
self.flush_all()
File "/odoo17/odoo/odoo/api.py", line 712, in flush_all
self._recompute_all()
File "/odoo17/odoo/odoo/api.py", line 708, in _recompute_all
self[field.model_name]._recompute_field(field)
File "/odoo17/odoo/odoo/models.py", line 6825, in _recompute_field
field.recompute(records)
File "/odoo17/odoo/odoo/fields.py", line 1365, in recompute
apply_except_missing(self.compute_value, recs)
File "/odoo17/odoo/odoo/fields.py", line 1338, in apply_except_missing
func(records)
File "/odoo17/odoo/odoo/fields.py", line 1387, in compute_value
records._compute_field_value(self)
File "/odoo17/odoo/addons/mail/models/mail_thread.py", line 424, in _compute_field_value
return super()._compute_field_value(field)
File "/odoo17/odoo/odoo/models.py", line 4848, in _compute_field_value
fields.determine(field.compute, self)
File "/odoo17/odoo/odoo/fields.py", line 101, in determine
return needle(*args)
File "/odoo17/custom/addons/odooplm/plm/models/ir_attachment.py", line 1305, in checkSavingError
ir_attachment_id.has_error = not ir_attachment_id.is_last_save_ok()
File "/odoo17/custom/addons/odooplm/plm/models/ir_attachment.py", line 1312, in is_last_save_ok
key = f"{ir_attachment_id.engineering_code}
{ir_attachment_id.engineering_revision}"
File "/odoo17/odoo/odoo/fields.py", line 1180, in get
recs._fetch_field(self)
File "/odoo17/odoo/odoo/models.py", line 3758, in _fetch_field
self.fetch(fnames)
File "/odoo17/odoo/odoo/models.py", line 3793, in fetch
query = self.with_context(active_test=False)._search([('id', 'in', self.ids)])
File "/odoo17/custom/addons/odooplm/plm/models/ir_attachment.py", line 2304, in _search
ids = super(models.Model, self)._search(args, offset=offset, limit=limit, order=order,
TypeError: BaseModel._search() got an unexpected keyword argument 'count'

The above server error caused the following client error:
RPC_ERROR: Odoo Server Error
at makeErrorFromResponse (http://143.110.154.9:8069/web/assets/bacc0ba/web.assets_web.min.js:2867:163)
at XMLHttpRequest. (http://143.110.154.9:8069/web/assets/bacc0ba/web.assets_web.min.js:2871:13)

[11.0] Odoo Server Error at installing some extra features

I installed this module in the lastest Odoo nightly version, all is well; but, when I'm trying to install/setup extra features, I get this error:

Error:
Odoo Server Error

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 650, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 310, in _handle_exception
    raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/odoo/tools/pycompat.py", line 87, in reraise
    raise value
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 692, in dispatch
    result = self._call_function(**self.params)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 342, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 97, in wrapper
    return f(dbname, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 335, in checked_call
    result = self.endpoint(*a, **kw)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 936, in __call__
    return self.method(*args, **kw)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 515, in response_wrap
    response = f(*args, **kw)
  File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 938, in call_button
    action = self._call_kw(model, method, args, {})
  File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 926, in _call_kw
    return call_kw(request.env[model], method, args, kwargs)
  File "/usr/lib/python3/dist-packages/odoo/api.py", line 689, in call_kw
    return call_kw_multi(method, model, args, kwargs)
  File "/usr/lib/python3/dist-packages/odoo/api.py", line 680, in call_kw_multi
    result = method(recs, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/odoo/addons/base/res/res_config.py", line 564, in execute
    self._install_modules(to_install)
  File "/usr/lib/python3/dist-packages/odoo/addons/base/res/res_config.py", line 35, in _install_modules
    result = to_install_modules.button_immediate_install()
  File "<decorator-gen-48>", line 2, in button_immediate_install
  File "/usr/lib/python3/dist-packages/odoo/addons/base/module/module.py", line 71, in check_and_log
    return method(self, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/odoo/addons/base/module/module.py", line 449, in button_immediate_install
    return self._button_immediate_function(type(self).button_install)
  File "/usr/lib/python3/dist-packages/odoo/addons/base/module/module.py", line 542, in _button_immediate_function
    modules.registry.Registry.new(self._cr.dbname, update_module=True)
  File "/usr/lib/python3/dist-packages/odoo/modules/registry.py", line 85, in new
    odoo.modules.load_modules(registry._db, force_demo, status, update_module)
  File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 380, in load_modules
    loaded_modules, update_module, models_to_check)
  File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 274, in load_marked_modules
    perform_checks=perform_checks, models_to_check=models_to_check
  File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 152, in load_module_graph
    registry.setup_models(cr)
  File "/usr/lib/python3/dist-packages/odoo/modules/registry.py", line 277, in setup_models
    model._setup_fields()
  File "/usr/lib/python3/dist-packages/odoo/models.py", line 2425, in _setup_fields
    field.setup_full(self)
  File "/usr/lib/python3/dist-packages/odoo/fields.py", line 471, in setup_full
    self._setup_related_full(model)
  File "/usr/lib/python3/dist-packages/odoo/fields.py", line 516, in _setup_related_full
    raise TypeError("Type of related field %s is inconsistent with %s" % (self, field))
TypeError: Type of related field plm.missing.bom.description is inconsistent with product.product.name

Why?

Odoo 11.0-20180904 (Community Edition)

UPDATE:
It happens when I'm trying to enable Compare two BOM tool feature:
deepin-screen-recorder_select area_20180906103034

Conflict with the original PLM

Conflicts with the original plm. When start new revision of BOM is performed on an ECO in the original PLM, bom materials will be added and removed inexplicably.
Thank you!
Here is the screenshots:
Screen Shot 2020-03-04 at 6 10 43 PM
Screen Shot 2020-03-04 at 6 10 43 PM
Screen Shot 2020-03-04 at 6 42 20 PM
Screen Shot 2020-03-04 at 6 42 27 PM
Screen Shot 2020-03-04 at 6 42 33 PM
Screen Shot 2020-03-04 at 6 44 17 PM
Screen Shot 2020-03-04 at 6 44 21 PM
Screen Shot 2020-03-04 at 6 44 23 PM
Screen Shot 2020-03-04 at 6 44 30 PM

[11.0]Unstable behavior when installing many modules

I'm testing these modules for a company.

I installed these modules previously and I had no problems when my apps were under 11.

But after install more than 15 i can see that odoo unistall these modules all time.

I saw the next traceback:

2018-06-20 11:49:43,093 14 ERROR rotafilo odoo.sql_db: bad query: b'ALTER TABLE "mrp_bom_line" ALTER COLUMN "type" SET NOT NULL'
ERROR: column "type" contains null values

2018-06-20 11:49:43,094 14 WARNING rotafilo odoo.schema: Table 'mrp_bom_line': unable to set NOT NULL on column 'type'!
If you want to have it, you should update the records and execute manually:
ALTER TABLE "mrp_bom_line" ALTER COLUMN "type" SET NOT NULL
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/odoo/tools/sql.py", line 109, in set_not_null
    cr.execute(query)
  File "/usr/lib/python3/dist-packages/odoo/sql_db.py", line 155, in wrapper
    return f(self, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/odoo/sql_db.py", line 232, in execute
    res = self._obj.execute(query, params)
psycopg2.IntegrityError: column "type" contains null values

2018-06-20 11:49:44,218 14 WARNING rotafilo odoo.modules.registry: Models have no table: report.plm_document.user, report.plm_files.partner, report.plm_document.wall.
2018-06-20 11:49:44,222 14 ERROR rotafilo odoo.modules.registry: Model report.plm_document.user has no table.
2018-06-20 11:49:44,222 14 ERROR rotafilo odoo.modules.registry: Model report.plm_document.wall has no table.
2018-06-20 11:49:44,222 14 ERROR rotafilo odoo.modules.registry: Model report.plm_files.partner has no table.
2018-06-20 11:49:47,120 14 WARNING rotafilo odoo.models: ir.actions.act_window.create() includes unknown fields: view_id_search
2018-06-20 11:49:47,730 14 WARNING rotafilo odoo.models: ir.actions.report.create() includes unknown fields: header
2018-06-20 11:49:47,738 14 WARNING rotafilo odoo.models: ir.actions.report.create() includes unknown fields: header
2018-06-20 11:49:47,744 14 WARNING rotafilo odoo.models: ir.actions.report.create() includes unknown fields: header
2018-06-20 11:49:47,751 14 WARNING rotafilo odoo.models: ir.actions.report.create() includes unknown fields: header
2018-06-20 11:49:47,757 14 WARNING rotafilo odoo.models: ir.actions.report.create() includes unknown fields: header
2018-06-20 11:49:47,763 14 WARNING rotafilo odoo.models: ir.actions.report.create() includes unknown fields: header
2018-06-20 11:49:47,772 14 WARNING rotafilo odoo.models: ir.actions.report.create() includes unknown fields: header
2018-06-20 11:49:49,004 14 WARNING rotafilo odoo.modules.registry: Models have no table: report.plm_document.user, report.plm_files.partner, report.plm_document.wall.
2018-06-20 11:49:49,009 14 ERROR rotafilo odoo.modules.registry: Model report.plm_document.user has no table.
2018-06-20 11:49:49,009 14 ERROR rotafilo odoo.modules.registry: Model report.plm_document.wall has no table.
2018-06-20 11:49:49,009 14 ERROR rotafilo odoo.modules.registry: Model report.plm_files.partner has no table.
2018-06-20 11:51:36,801 22 WARNING ? odoo.addons.base.ir.ir_cron: Skipping database rotafilo because of modules to install/upgrade/remove.
2018-06-20 11:51:56,905 18 ERROR rotafilo odoo.modules.graph: module plm_cutted_parts: Unmet dependencies: plm, plm_engineering
2018-06-20 11:51:56,905 18 ERROR rotafilo odoo.modules.graph: module plm_suspended: Unmet dependencies: plm
2018-06-20 11:51:56,905 18 ERROR rotafilo odoo.modules.graph: module plm_automatic_weight: Unmet dependencies: plm
2018-06-20 11:51:56,905 18 ERROR rotafilo odoo.modules.graph: module plm_automate_normal_bom: Unmet dependencies: plm, plm_engineering
2018-06-20 11:51:56,905 18 ERROR rotafilo odoo.modules.graph: module plm_spare: Unmet dependencies: plm
2018-06-20 11:51:56,905 18 ERROR rotafilo odoo.modules.graph: module plm_report_language_helper: Unmet dependencies: plm, plm_spare
2018-06-20 11:51:56,905 18 ERROR rotafilo odoo.modules.graph: module plm_date_bom: Unmet dependencies: plm
2018-06-20 11:51:56,906 18 ERROR rotafilo odoo.modules.graph: module plm_product_description_language_helper: Unmet dependencies: plm
2018-06-20 11:51:56,906 18 ERROR rotafilo odoo.modules.graph: module plm_web_revision: Unmet dependencies: plm
2018-06-20 11:51:56,906 18 ERROR rotafilo odoo.modules.graph: module plm_engineering: Unmet dependencies: plm
2018-06-20 11:51:56,906 18 ERROR rotafilo odoo.modules.graph: module plm_pack_and_go: Unmet dependencies: plm
2018-06-20 11:52:29,895 21 WARNING ? odoo.addons.base.ir.ir_cron: Skipping database rotafilo because of modules to install/upgrade/remove.
2018-06-20 11:52:38,855 22 WARNING ? odoo.addons.base.ir.ir_cron: Skipping database rotafilo because of modules to install/upgrade/remove.
2018-06-20 11:53:30,910 21 WARNING ? odoo.addons.base.ir.ir_cron: Skipping database rotafilo because of modules to install/upgrade/remove.
2018-06-20 11:53:40,960 22 WARNING ? odoo.addons.base.ir.ir_cron: Skipping database rotafilo because of modules to install/upgrade/remove.
2018-06-20 11:54:31,919 21 WARNING ? odoo.addons.base.ir.ir_cron: Skipping database rotafilo because of modules to install/upgrade/remove.
2018-06-20 11:54:42,982 22 WARNING ? odoo.addons.base.ir.ir_cron: Skipping database rotafilo because of modules to install/upgrade/remove.
2018-06-20 11:55:32,966 21 WARNING ? odoo.addons.base.ir.ir_cron: Skipping database rotafilo because of modules to install/upgrade/remove.
2018-06-20 11:55:45,082 22 WARNING ? odoo.addons.base.ir.ir_cron: Skipping database rotafilo because of modules to install/upgrade/remove.
2018-06-20 11:55:52,481 18 ERROR rotafilo odoo.modules.graph: module plm_cutted_parts: Unmet dependencies: plm, plm_engineering
2018-06-20 11:55:52,481 18 ERROR rotafilo odoo.modules.graph: module plm_suspended: Unmet dependencies: plm
2018-06-20 11:55:52,481 18 ERROR rotafilo odoo.modules.graph: module plm_automatic_weight: Unmet dependencies: plm
2018-06-20 11:55:52,481 18 ERROR rotafilo odoo.modules.graph: module plm_automate_normal_bom: Unmet dependencies: plm, plm_engineering
2018-06-20 11:55:52,481 18 ERROR rotafilo odoo.modules.graph: module plm_spare: Unmet dependencies: plm
2018-06-20 11:55:52,481 18 ERROR rotafilo odoo.modules.graph: module plm_report_language_helper: Unmet dependencies: plm, plm_spare
2018-06-20 11:55:52,481 18 ERROR rotafilo odoo.modules.graph: module plm_date_bom: Unmet dependencies: plm
2018-06-20 11:55:52,481 18 ERROR rotafilo odoo.modules.graph: module plm_product_description_language_helper: Unmet dependencies: plm
2018-06-20 11:55:52,481 18 ERROR rotafilo odoo.modules.graph: module plm_web_revision: Unmet dependencies: plm
2018-06-20 11:55:52,481 18 ERROR rotafilo odoo.modules.graph: module plm_engineering: Unmet dependencies: plm
2018-06-20 11:55:52,481 18 ERROR rotafilo odoo.modules.graph: module plm_pack_and_go: Unmet dependencies: plm
2018-06-20 11:55:53,611 18 ERROR rotafilo odoo.sql_db: bad query: b'ALTER TABLE "res_config_settings" ALTER COLUMN "website_id" SET NOT NULL'
ERROR: column "website_id" contains null values

2018-06-20 11:55:53,611 18 WARNING rotafilo odoo.schema: Table 'res_config_settings': unable to set NOT NULL on column 'website_id'!
If you want to have it, you should update the records and execute manually:
ALTER TABLE "res_config_settings" ALTER COLUMN "website_id" SET NOT NULL
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/odoo/tools/sql.py", line 109, in set_not_null
    cr.execute(query)
  File "/usr/lib/python3/dist-packages/odoo/sql_db.py", line 155, in wrapper
    return f(self, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/odoo/sql_db.py", line 232, in execute
    res = self._obj.execute(query, params)
psycopg2.IntegrityError: column "website_id" contains null values

2018-06-20 11:56:09,406 18 ERROR rotafilo odoo.modules.graph: module plm_cutted_parts: Unmet dependencies: plm, plm_engineering
2018-06-20 11:56:09,406 18 ERROR rotafilo odoo.modules.graph: module plm_suspended: Unmet dependencies: plm
2018-06-20 11:56:09,406 18 ERROR rotafilo odoo.modules.graph: module plm_automatic_weight: Unmet dependencies: plm
2018-06-20 11:56:09,406 18 ERROR rotafilo odoo.modules.graph: module plm_automate_normal_bom: Unmet dependencies: plm, plm_engineering
2018-06-20 11:56:09,406 18 ERROR rotafilo odoo.modules.graph: module plm_spare: Unmet dependencies: plm
2018-06-20 11:56:09,406 18 ERROR rotafilo odoo.modules.graph: module plm_report_language_helper: Unmet dependencies: plm, plm_spare
2018-06-20 11:56:09,406 18 ERROR rotafilo odoo.modules.graph: module plm_date_bom: Unmet dependencies: plm
2018-06-20 11:56:09,406 18 ERROR rotafilo odoo.modules.graph: module plm_product_description_language_helper: Unmet dependencies: plm
2018-06-20 11:56:09,406 18 ERROR rotafilo odoo.modules.graph: module plm_web_revision: Unmet dependencies: plm
2018-06-20 11:56:09,406 18 ERROR rotafilo odoo.modules.graph: module plm_engineering: Unmet dependencies: plm
2018-06-20 11:56:09,406 18 ERROR rotafilo odoo.modules.graph: module plm_pack_and_go: Unmet dependencies: plm
2018-06-20 11:56:09,422 18 ERROR rotafilo odoo.modules.graph: module plm_cutted_parts: Unmet dependencies: plm, plm_engineering
2018-06-20 11:56:09,422 18 ERROR rotafilo odoo.modules.graph: module plm_suspended: Unmet dependencies: plm
2018-06-20 11:56:09,422 18 ERROR rotafilo odoo.modules.graph: module plm_automatic_weight: Unmet dependencies: plm
2018-06-20 11:56:09,422 18 ERROR rotafilo odoo.modules.graph: module plm_automate_normal_bom: Unmet dependencies: plm, plm_engineering
2018-06-20 11:56:09,422 18 ERROR rotafilo odoo.modules.graph: module plm_spare: Unmet dependencies: plm
2018-06-20 11:56:09,422 18 ERROR rotafilo odoo.modules.graph: module plm_report_language_helper: Unmet dependencies: plm, plm_spare
2018-06-20 11:56:09,422 18 ERROR rotafilo odoo.modules.graph: module plm_date_bom: Unmet dependencies: plm
2018-06-20 11:56:09,422 18 ERROR rotafilo odoo.modules.graph: module plm_product_description_language_helper: Unmet dependencies: plm
2018-06-20 11:56:09,422 18 ERROR rotafilo odoo.modules.graph: module plm_web_revision: Unmet dependencies: plm
2018-06-20 11:56:09,422 18 ERROR rotafilo odoo.modules.graph: module plm_engineering: Unmet dependencies: plm
2018-06-20 11:56:09,422 18 ERROR rotafilo odoo.modules.graph: module plm_pack_and_go: Unmet dependencies: plm
2018-06-20 11:56:34,021 21 WARNING ? odoo.addons.base.ir.ir_cron: Skipping database rotafilo because of modules to install/upgrade/remove.
2018-06-20 11:56:47,181 22 WARNING ? odoo.addons.base.ir.ir_cron: Skipping database rotafilo because of modules to install/upgrade/remove.
2018-06-20 11:57:09,275 18 ERROR rotafilo odoo.sql_db: bad query: b'ALTER TABLE "mrp_bom_line" ALTER COLUMN "type" SET NOT NULL'
ERROR: column "type" contains null values

2018-06-20 11:57:09,276 18 WARNING rotafilo odoo.schema: Table 'mrp_bom_line': unable to set NOT NULL on column 'type'!
If you want to have it, you should update the records and execute manually:
ALTER TABLE "mrp_bom_line" ALTER COLUMN "type" SET NOT NULL
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/odoo/tools/sql.py", line 109, in set_not_null
    cr.execute(query)
  File "/usr/lib/python3/dist-packages/odoo/sql_db.py", line 155, in wrapper
    return f(self, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/odoo/sql_db.py", line 232, in execute
    res = self._obj.execute(query, params)
psycopg2.IntegrityError: column "type" contains null values

2018-06-20 11:57:10,268 18 WARNING rotafilo odoo.modules.registry: Models have no table: report.plm_document.user, report.plm_files.partner, report.plm_document.wall.
2018-06-20 11:57:10,274 18 ERROR rotafilo odoo.modules.registry: Model report.plm_document.user has no table.
2018-06-20 11:57:10,274 18 ERROR rotafilo odoo.modules.registry: Model report.plm_document.wall has no table.
2018-06-20 11:57:10,274 18 ERROR rotafilo odoo.modules.registry: Model report.plm_files.partner has no table.
2018-06-20 11:57:13,098 18 WARNING rotafilo odoo.models: ir.actions.act_window.create() includes unknown fields: view_id_search
2018-06-20 11:57:13,684 18 WARNING rotafilo odoo.models: ir.actions.report.create() includes unknown fields: header
2018-06-20 11:57:13,689 18 WARNING rotafilo odoo.models: ir.actions.report.create() includes unknown fields: header
2018-06-20 11:57:13,695 18 WARNING rotafilo odoo.models: ir.actions.report.create() includes unknown fields: header
2018-06-20 11:57:13,701 18 WARNING rotafilo odoo.models: ir.actions.report.create() includes unknown fields: header
2018-06-20 11:57:13,708 18 WARNING rotafilo odoo.models: ir.actions.report.create() includes unknown fields: header
2018-06-20 11:57:13,714 18 WARNING rotafilo odoo.models: ir.actions.report.create() includes unknown fields: header
2018-06-20 11:57:13,724 18 WARNING rotafilo odoo.models: ir.actions.report.create() includes unknown fields: header
2018-06-20 11:57:14,940 18 WARNING rotafilo odoo.modules.registry: Models have no table: report.plm_document.user, report.plm_files.partner, report.plm_document.wall.
2018-06-20 11:57:14,945 18 ERROR rotafilo odoo.modules.registry: Model report.plm_document.user has no table.
2018-06-20 11:57:14,945 18 ERROR rotafilo odoo.modules.registry: Model report.plm_document.wall has no table.
2018-06-20 11:57:14,945 18 ERROR rotafilo odoo.modules.registry: Model report.plm_files.partner has no table.
2018-06-20 11:57:15,408 18 WARNING rotafilo odoo.models: ir.actions.server.create() includes unknown fields: condition
2018-06-20 11:57:15,443 18 WARNING rotafilo odoo.models: ir.actions.server.create() includes unknown fields: condition
2018-06-20 11:57:15,818 18 ERROR rotafilo odoo.sql_db: bad query: b'ALTER TABLE "mrp_bom_line" ALTER COLUMN "type" SET NOT NULL'
ERROR: column "type" contains null values

2018-06-20 11:57:15,819 18 WARNING rotafilo odoo.schema: Table 'mrp_bom_line': unable to set NOT NULL on column 'type'!
If you want to have it, you should update the records and execute manually:
ALTER TABLE "mrp_bom_line" ALTER COLUMN "type" SET NOT NULL
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/odoo/tools/sql.py", line 109, in set_not_null
    cr.execute(query)
  File "/usr/lib/python3/dist-packages/odoo/sql_db.py", line 155, in wrapper
    return f(self, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/odoo/sql_db.py", line 232, in execute
    res = self._obj.execute(query, params)
psycopg2.IntegrityError: column "type" contains null values

2018-06-20 11:57:15,886 18 WARNING rotafilo odoo.modules.registry: Models have no table: report.plm_document.user, report.plm_files.partner, report.plm_document.wall.
2018-06-20 11:57:15,891 18 ERROR rotafilo odoo.modules.registry: Model report.plm_document.user has no table.
2018-06-20 11:57:15,891 18 ERROR rotafilo odoo.modules.registry: Model report.plm_document.wall has no table.
2018-06-20 11:57:15,891 18 ERROR rotafilo odoo.modules.registry: Model report.plm_files.partner has no table.
2018-06-20 11:57:16,510 18 WARNING rotafilo odoo.modules.registry: Models have no table: report.plm_document.user, report.plm_files.partner, report.plm_document.wall.
2018-06-20 11:57:16,514 18 ERROR rotafilo odoo.modules.registry: Model report.plm_document.user has no table.
2018-06-20 11:57:16,514 18 ERROR rotafilo odoo.modules.registry: Model report.plm_document.wall has no table.
2018-06-20 11:57:16,514 18 ERROR rotafilo odoo.modules.registry: Model report.plm_files.partner has no table.
2018-06-20 11:57:18,029 18 WARNING rotafilo odoo.modules.registry: Models have no table: report.plm_document.user, report.plm_files.partner, report.plm_document.wall.
2018-06-20 11:57:18,034 18 ERROR rotafilo odoo.modules.registry: Model report.plm_document.user has no table.
2018-06-20 11:57:18,034 18 ERROR rotafilo odoo.modules.registry: Model report.plm_document.wall has no table.
2018-06-20 11:57:18,034 18 ERROR rotafilo odoo.modules.registry: Model report.plm_files.partner has no table.
2018-06-20 11:57:18,569 18 WARNING rotafilo odoo.modules.registry: Models have no table: report.plm_document.user, report.plm_files.partner, report.plm_document.wall.
2018-06-20 11:57:18,574 18 ERROR rotafilo odoo.modules.registry: Model report.plm_document.user has no table.
2018-06-20 11:57:18,574 18 ERROR rotafilo odoo.modules.registry: Model report.plm_document.wall has no table.
2018-06-20 11:57:18,574 18 ERROR rotafilo odoo.modules.registry: Model report.plm_files.partner has no table.
2018-06-20 11:57:19,125 18 WARNING rotafilo odoo.modules.registry: Models have no table: report.plm_document.user, report.plm_files.partner, report.plm_document.wall.
2018-06-20 11:57:19,130 18 ERROR rotafilo odoo.modules.registry: Model report.plm_document.user has no table.
2018-06-20 11:57:19,131 18 ERROR rotafilo odoo.modules.registry: Model report.plm_document.wall has no table.
2018-06-20 11:57:19,131 18 ERROR rotafilo odoo.modules.registry: Model report.plm_files.partner has no table.
2018-06-20 11:57:19,732 18 WARNING rotafilo odoo.modules.registry: Models have no table: report.plm_document.user, report.plm_files.partner, report.plm_document.wall.
2018-06-20 11:57:19,737 18 ERROR rotafilo odoo.modules.registry: Model report.plm_document.user has no table.
2018-06-20 11:57:19,737 18 ERROR rotafilo odoo.modules.registry: Model report.plm_document.wall has no table.
2018-06-20 11:57:19,737 18 ERROR rotafilo odoo.modules.registry: Model report.plm_files.partner has no table.
2018-06-20 11:57:19,995 18 WARNING rotafilo odoo.models: ir.actions.report.create() includes unknown fields: header
2018-06-20 11:57:20,002 18 WARNING rotafilo odoo.models: ir.actions.report.create() includes unknown fields: header
2018-06-20 11:57:20,330 18 WARNING rotafilo odoo.modules.registry: Models have no table: report.plm_document.user, report.plm_files.partner, report.plm_document.wall.
2018-06-20 11:57:20,335 18 ERROR rotafilo odoo.modules.registry: Model report.plm_document.user has no table.
2018-06-20 11:57:20,335 18 ERROR rotafilo odoo.modules.registry: Model report.plm_document.wall has no table.
2018-06-20 11:57:20,335 18 ERROR rotafilo odoo.modules.registry: Model report.plm_files.partner has no table.
2018-06-20 11:57:20,965 18 WARNING rotafilo odoo.modules.registry: Models have no table: report.plm_document.user, report.plm_files.partner, report.plm_document.wall.
2018-06-20 11:57:20,970 18 ERROR rotafilo odoo.modules.registry: Model report.plm_document.user has no table.
2018-06-20 11:57:20,970 18 ERROR rotafilo odoo.modules.registry: Model report.plm_document.wall has no table.
2018-06-20 11:57:20,970 18 ERROR rotafilo odoo.modules.registry: Model report.plm_files.partner has no table.
2018-06-20 11:57:21,367 18 WARNING rotafilo odoo.modules.registry: Models have no table: report.plm_document.user, report.plm_files.partner, report.plm_document.wall.
2018-06-20 11:57:21,373 18 ERROR rotafilo odoo.modules.registry: Model report.plm_document.user has no table.
2018-06-20 11:57:21,373 18 ERROR rotafilo odoo.modules.registry: Model report.plm_document.wall has no table.
2018-06-20 11:57:21,373 18 ERROR rotafilo odoo.modules.registry: Model report.plm_files.partner has no table.
2018-06-20 11:57:21,413 18 WARNING rotafilo odoo.models: ir.cron.create() includes unknown fields: args, function
2018-06-20 11:57:21,451 18 WARNING rotafilo odoo.models: ir.actions.server.create() includes unknown fields: condition
2018-06-20 11:57:22,044 18 WARNING rotafilo odoo.modules.registry: Models have no table: report.plm_document.user, report.plm_files.partner, report.plm_document.wall.
2018-06-20 11:57:22,050 18 ERROR rotafilo odoo.modules.registry: Model report.plm_document.user has no table.
2018-06-20 11:57:22,050 18 ERROR rotafilo odoo.modules.registry: Model report.plm_document.wall has no table.
2018-06-20 11:57:22,050 18 ERROR rotafilo odoo.modules.registry: Model report.plm_files.partner has no table.
2018-06-20 11:57:22,980 18 WARNING rotafilo odoo.modules.registry: Models have no table: report.plm_document.user, report.plm_files.partner, report.plm_document.wall.
2018-06-20 11:57:22,986 18 ERROR rotafilo odoo.modules.registry: Model report.plm_document.user has no table.
2018-06-20 11:57:22,986 18 ERROR rotafilo odoo.modules.registry: Model report.plm_document.wall has no table.
2018-06-20 11:57:22,986 18 ERROR rotafilo odoo.modules.registry: Model report.plm_files.partner has no table.
2018-06-20 11:57:23,468 18 WARNING rotafilo odoo.modules.loading: The model plm.temporary_date_compute has no access rules, consider adding one. E.g. access_plm_temporary_date_compute,access_plm_temporary_date_compute,model_plm_temporary_date_compute,,1,0,0,0
2018-06-20 11:57:23,469 18 WARNING rotafilo odoo.modules.loading: The model document.rev_wizard has no access rules, consider adding one. E.g. access_document_rev_wizard,access_document_rev_wizard,model_document_rev_wizard,,1,0,0,0
2018-06-20 11:57:23,470 18 WARNING rotafilo odoo.modules.loading: The transient model plm.temporary (Temporary Class) should not have explicit access rules!
2018-06-20 12:00:31,963 16 WARNING rotafilo odoo.modules.registry: Models have no table: report.plm_document.user, report.plm_files.partner, report.plm_document.wall.
2018-06-20 12:00:31,967 16 ERROR rotafilo odoo.modules.registry: Model report.plm_document.user has no table.
2018-06-20 12:00:31,968 16 ERROR rotafilo odoo.modules.registry: Model report.plm_document.wall has no table.
2018-06-20 12:00:31,968 16 ERROR rotafilo odoo.modules.registry: Model report.plm_files.partner has no table.
2018-06-20 12:00:32,249 16 WARNING rotafilo odoo.modules.loading: The model plm.temporary_date_compute has no access rules, consider adding one. E.g. access_plm_temporary_date_compute,access_plm_temporary_date_compute,model_plm_temporary_date_compute,,1,0,0,0
2018-06-20 12:00:32,249 16 WARNING rotafilo odoo.modules.loading: The model document.rev_wizard has no access rules, consider adding one. E.g. access_document_rev_wizard,access_document_rev_wizard,model_document_rev_wizard,,1,0,0,0
2018-06-20 12:00:32,251 16 WARNING rotafilo odoo.modules.loading: The transient model plm.temporary (Temporary Class) should not have explicit access rules!
2018-06-20 12:02:17,905 16 WARNING rotafilo odoo.modules.registry: Models have no table: report.plm_document.user, report.plm_files.partner, report.plm_document.wall.
2018-06-20 12:02:17,932 16 ERROR rotafilo odoo.modules.registry: Model report.plm_document.user has no table.
2018-06-20 12:02:17,932 16 ERROR rotafilo odoo.modules.registry: Model report.plm_document.wall has no table.
2018-06-20 12:02:17,932 16 ERROR rotafilo odoo.modules.registry: Model report.plm_files.partner has no table.
2018-06-20 12:02:18,220 16 WARNING rotafilo odoo.modules.loading: The model plm.temporary_date_compute has no access rules, consider adding one. E.g. access_plm_temporary_date_compute,access_plm_temporary_date_compute,model_plm_temporary_date_compute,,1,0,0,0
2018-06-20 12:02:18,220 16 WARNING rotafilo odoo.modules.loading: The model document.rev_wizard has no access rules, consider adding one. E.g. access_document_rev_wizard,access_document_rev_wizard,model_document_rev_wizard,,1,0,0,0
2018-06-20 12:02:18,222 16 WARNING rotafilo odoo.modules.loading: The transient model plm.temporary (Temporary Class) should not have explicit access rules!
2018-06-20 12:05:04,624 18 INFO rotafilo root: Internal ref set value 98D27803000000_0 on engineering_code: '98D27803000000'
2018-06-20 12:43:33,400 18 INFO rotafilo root: Internal ref set value A32015-9_0 on engineering_code: 'A32015-9'
2018-06-20 13:55:52,218 21 WARNING ? odoo.addons.base.ir.ir_cron: Skipping database rotafilo because of modules to install/upgrade/remove.
2018-06-20 13:56:09,738 22 WARNING ? odoo.addons.base.ir.ir_cron: Skipping database rotafilo because of modules to install/upgrade/remove.
2018-06-20 14:24:52,004 14 ERROR rotafilo odoo.sql_db: bad query: b'ALTER TABLE "mrp_bom_line" ALTER COLUMN "type" SET NOT NULL'
ERROR: column "type" contains null values

2018-06-20 14:24:52,176 14 WARNING rotafilo odoo.schema: Table 'mrp_bom_line': unable to set NOT NULL on column 'type'!
If you want to have it, you should update the records and execute manually:
ALTER TABLE "mrp_bom_line" ALTER COLUMN "type" SET NOT NULL
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/odoo/tools/sql.py", line 109, in set_not_null
    cr.execute(query)
  File "/usr/lib/python3/dist-packages/odoo/sql_db.py", line 155, in wrapper
    return f(self, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/odoo/sql_db.py", line 232, in execute
    res = self._obj.execute(query, params)
psycopg2.IntegrityError: column "type" contains null values

2018-06-20 14:24:53,334 14 WARNING rotafilo odoo.modules.registry: Models have no table: report.plm_document.user, report.plm_files.partner, report.plm_document.wall.
2018-06-20 14:24:53,338 14 ERROR rotafilo odoo.modules.registry: Model report.plm_document.user has no table.
2018-06-20 14:24:53,338 14 ERROR rotafilo odoo.modules.registry: Model report.plm_document.wall has no table.
2018-06-20 14:24:53,338 14 ERROR rotafilo odoo.modules.registry: Model report.plm_files.partner has no table.
2018-06-20 14:24:56,496 14 WARNING rotafilo odoo.models: ir.actions.act_window.create() includes unknown fields: view_id_search
2018-06-20 14:24:57,179 14 WARNING rotafilo odoo.models: ir.actions.report.create() includes unknown fields: header
2018-06-20 14:24:57,186 14 WARNING rotafilo odoo.models: ir.actions.report.create() includes unknown fields: header
2018-06-20 14:24:57,192 14 WARNING rotafilo odoo.models: ir.actions.report.create() includes unknown fields: header
2018-06-20 14:24:57,197 14 WARNING rotafilo odoo.models: ir.actions.report.create() includes unknown fields: header
2018-06-20 14:24:57,203 14 WARNING rotafilo odoo.models: ir.actions.report.create() includes unknown fields: header
2018-06-20 14:24:57,209 14 WARNING rotafilo odoo.models: ir.actions.report.create() includes unknown fields: header
2018-06-20 14:24:57,218 14 WARNING rotafilo odoo.models: ir.actions.report.create() includes unknown fields: header
2018-06-20 14:24:58,732 14 WARNING rotafilo odoo.modules.registry: Models have no table: report.plm_document.user, report.plm_files.partner, report.plm_document.wall.
2018-06-20 14:24:58,737 14 ERROR rotafilo odoo.modules.registry: Model report.plm_document.user has no table.
2018-06-20 14:24:58,737 14 ERROR rotafilo odoo.modules.registry: Model report.plm_document.wall has no table.
2018-06-20 14:24:58,737 14 ERROR rotafilo odoo.modules.registry: Model report.plm_files.partner has no table.
2018-06-20 14:29:28,621 21 WARNING ? odoo.addons.base.ir.ir_cron: Skipping database rotafilo because of modules to install/upgrade/remove.
2018-06-20 14:29:40,850 18 ERROR rotafilo odoo.modules.graph: module plm_cutted_parts: Unmet dependencies: plm, plm_engineering
2018-06-20 14:29:40,850 18 ERROR rotafilo odoo.modules.graph: module plm_automatic_weight: Unmet dependencies: plm
2018-06-20 14:29:40,850 18 ERROR rotafilo odoo.modules.graph: module plm_automate_normal_bom: Unmet dependencies: plm, plm_engineering
2018-06-20 14:29:40,850 18 ERROR rotafilo odoo.modules.graph: module plm_spare: Unmet dependencies: plm
2018-06-20 14:29:40,850 18 ERROR rotafilo odoo.modules.graph: module plm_report_language_helper: Unmet dependencies: plm, plm_spare
2018-06-20 14:29:40,850 18 ERROR rotafilo odoo.modules.graph: module plm_product_description_language_helper: Unmet dependencies: plm
2018-06-20 14:29:40,850 18 ERROR rotafilo odoo.modules.graph: module plm_web_revision: Unmet dependencies: plm
2018-06-20 14:29:40,850 18 ERROR rotafilo odoo.modules.graph: module plm_auto_internalref: Unmet dependencies: plm
2018-06-20 14:29:40,850 18 ERROR rotafilo odoo.modules.graph: module plm_engineering: Unmet dependencies: plm
2018-06-20 14:29:40,850 18 ERROR rotafilo odoo.modules.graph: module plm_pack_and_go: Unmet dependencies: plm

[13.0] plm_document_multi_side invalid field name

Hello,

again on my odoo.sh instance installing the module plm_document_multi_side gives me the following error:

Click to expand traceback!

2020-01-20 14:16:04,415 7 ERROR odoo-v13-development-821818 odoo.modules.registry: Failed to load registry
Traceback (most recent call last):
File "/home/odoo/src/odoo/odoo/tools/convert.py", line 713, in parse
self._tag_root(de)
File "/home/odoo/src/odoo/odoo/tools/convert.py", line 675, in _tag_root
f(rec)
File "/home/odoo/src/odoo/odoo/tools/convert.py", line 675, in _tag_root
f(rec)
File "/home/odoo/src/odoo/odoo/tools/convert.py", line 578, in _tag_record
record = model._load_records([data], self.mode == 'update')
File "/home/odoo/src/odoo/odoo/models.py", line 4070, in _load_records
records = self._load_records_create([data['values'] for data in to_create])
File "/home/odoo/src/odoo/odoo/models.py", line 3984, in _load_records_create
return self.create(values)
File "<decorator-gen-40>", line 2, in create
File "/home/odoo/src/odoo/odoo/api.py", line 325, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/home/odoo/src/odoo/odoo/api.py", line 325, in <genexpr>
return self.browse().concat(*(create(self, vals) for vals in arg))
File "/home/odoo/src/odoo/odoo/addons/base/models/ir_cron.py", line 71, in create
return super(ir_cron, self).create(values)
File "<decorator-gen-3>", line 2, in create
File "/home/odoo/src/odoo/odoo/api.py", line 343, in _model_create_multi
return create(self, [arg])
File "/home/odoo/src/odoo/odoo/models.py", line 3689, in create
raise ValueError("Invalid field %r on model %r" % (key, self._name))
ValueError: Invalid field 'function' on model 'ir.cron'
odoo.tools.convert.ParseError: "Invalid field 'function' on model 'ir.cron'" while parsing /home/odoo/src/user/plm_document_multi_site/data/server_action.xml:2, near
<odoo>
<data noupdate="1">

<record id="ir_cron_syncronize" model="ir.cron">
<field name="name">Syncronize</field>
<field name="active" eval="False"/>
<field name="interval_number">5</field>
<field name="interval_type">minutes</field>
<field name="numbercall">-1</field>
<field name="doall" eval="False"/>
<field name="model_id" ref="model_plm_document_action_syncronize"/>
<field name="function">syncronize</field>
<field name="args">()</field>
</record>
</data>

<data>
<record id="action_syncronize" model="ir.actions.server">
<field name="name">Synconize document</field>
<field name="model_id" ref="model_plm_document_action_syncronize"/>
<field name="code">env['plm.document.action.syncronize'].syncronize()</field>
<field name="state">code</field>
<field name="type">ir.actions.server</field>
</record>

<menuitem id="menu_syncronize_scheduler" name="Run Document Syncronize " action="action_syncronize" groups="plm.group_plm_admin" parent="plm.plm_menu_dictionaries"/>
</data>
</odoo>
2020-01-20 14:16:04,425 7 INFO odoo-v13-development-821818 odoo.service.server: Initiating shutdown
2020-01-20 14:16:04,425 7 INFO odoo-v13-development-821818 odoo.service.server: Hit CTRL-C again or send a second signal to force the shutdown.
odoo-bin process returned error code 255.

I have no idea if this is maybe a protected field name string?!? no clue - can you have a look at this?

Many thx!

[11.0][plm_engineering]Engineering BOM does not show CAD item position

I'm testing this module for my client, it is very good, but i'm looking for some bugs.

In this case, i have one that i want to call crossing concepts:
deepin-screen-recorder_select area_20180912173145

As you can see in the above animation when you see a normal BOM, that does not need a CAD item position as well other fields, you will find them in the BOM view; while, the Engineering BOM, that use CAD item positions, does not show that field, why?
faltan estos

That's why i call it crossing concepts: Normal BOM shows a logical engineering BOM, while Engineering BOM shows a normal BOM.

Is there any explanation for that?

[11.0]Multiple warnings

Hello, i'm testing this module and i'm getting the next errors and warnings:

2018-06-18 07:14:57,667 15 WARNING rotafilo odoo.modules.registry: Models have no table: report.plm_document.user, report.plm_document.wall, report.plm_files.partner.
2018-06-18 07:14:57,673 15 ERROR rotafilo odoo.modules.registry: Model report.plm_files.partner has no table.
2018-06-18 07:14:57,673 15 ERROR rotafilo odoo.modules.registry: Model report.plm_document.wall has no table.
2018-06-18 07:14:57,673 15 ERROR rotafilo odoo.modules.registry: Model report.plm_document.user has no table.
2018-06-18 07:14:58,166 15 WARNING rotafilo odoo.modules.loading: The model plm.temporary_date_compute has no access rules, consider adding one. E.g. access_plm_temporary_date_compute,access_plm_temporary_date_compute,model_plm_temporary_date_compute,,1,0,0,0
2018-06-18 07:14:58,166 15 WARNING rotafilo odoo.modules.loading: The model document.rev_wizard has no access rules, consider adding one. E.g. access_document_rev_wizard,access_document_rev_wizard,model_document_rev_wizard,,1,0,0,0
2018-06-18 07:14:58,168 15 WARNING rotafilo odoo.modules.loading: The transient model plm.temporary (Temporary Class) should not have explicit access rules!

Thank you!

Integration with Windchill

Is your feature request related to a problem? Please describe.

I have a customer interested to integrate Windchill with OdooPLM.
https://www.ptc.com/en/products/windchill

Describe the solution you'd like

Coming soon...

Describe alternatives you've considered

Coming soon...

Additional context
Add any other context or screenshots about the feature request here.

Coming soon...

[11.0] Error while installing PLM (fresh ubuntu 20.04)

Hello,

The error appears when installing plm module, here is the msg:

odoo.tools.convert.ParseError: "External ID not found in the system: plm.plm_document_form" while parsing /full/path/to/plm/views/plm_cad_open.xml:101, near
<menuitem name="CAD Opens" action="plm.action_plm_cad_open" id="menu_cad_open" parent="plm.plm_document_form" sequence="15" groups="plm.group_plm_admin,base.group_no_one"/>

Steps to reproduce the behavior:

  1. Install Odoo 11.0 CE
  2. Clone the repo with --branch 11.0 --depth 1
  3. Edit odoo.conf to update the addon-path
  4. Run odoo install plm module.

Expected behavior: module gets installed.

Screenshots:
error

  • OS: Ubuntu 20.04
  • Browser: Chrome
  • Version: latest
  • Locale: fr-FR

Part image in Odoo 14 not updated after part is modified

Describe the bug A clear and concise description of what the bug is.
We change part geometry in SolidWorks 2022 and after save in Odoo (tried check-in too) part image on LinkedDocuments tab is not updated.

To Reproduce Steps to reproduce the behavior:

  1. We change part geometry in SolidWorks 2022
  2. Using PLM Save button we save it to Odoo

Expected behavior A clear and concise description of what you expected to happen.
LinkedDocuments image should be like new geometry.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Win10
  • Browser : any
  • Version [e.g. 22]

Additional context Add any other context about the problem here.

[13.0] plm_date_bom warning

Hello,

i am installing this module in a odoo.sh v13 instance and receiving the following warning in the log when building:

File "/home/odoo/src/user/plm_date_bom/report/bom_obsoleted_report.py", line 28, in
from openerp.addons.plm.report.bom_structure import ReportBomStructureAll
File "", line 971, in _find_and_load
File "", line 941, in _find_and_load_unlocked
File "", line 219, in _call_with_frames_removed
File "", line 971, in _find_and_load
File "", line 951, in _find_and_load_unlocked
File "", line 890, in _find_spec
File "", line 864, in _find_spec_legacy
File "/home/odoo/src/odoo/odoo/modules/module.py", line 88, in find_module
exc_info=DeprecationWarning(), stack_info=True)
2020-01-20 14:16:02,630 7 WARNING odoo-v13-development-821818 odoo.modules.module: openerp is a deprecated alias to odoo. Please consider using the latter as the former is going to be removed in the next version.

As you can read here - the import statement should look like this:

import odoo.addons.plm.report.bom_structure

instead of this:

openerp.addons.plm.report.bom_structure

Would be nice to fix that and maybe all the missing _description fields in the several modules/models because i am getting a lot of this warnings what messes the log immensivly. =)

Thx and greetings

plm_pdf_workorder - Client not generating PDF from Solidworks .SLDDRW

When saving a 2D drawing in Solidworks 2022, the OdooPLM client successfully uploads the .slddrw drawing to odoo v15 enterprise, but does not create a .pdf version for viewing in plm_pdf_workorder.

Is there an alternative way to upload the PDF, such that it can viewed in the tablet workorder view?

Thank you.

Feature Request: Client without CAD integration

Is your feature request related to a problem? Please describe. I would like to use the PLM client with PTC Creo but also other programs such as photoshop.

Describe the solution you'd like A dropbox-style version where I can check out a file and it will be downloaded into a folder where I can edit it.

Describe alternatives you've considered Sharepoint, but this does not have the project management features.

Additional context n/a

[11.0] it is not possible to manufacture engineering componets

I'm trying to manufacture engineering parts but i found a big problem:
deepin-screen-recorder_select area_20180924161904
As you can see, when we go to Manufacturing section and we create a new MO, we cannot see or find engineering parts in the product's field list.

But, on the other side, when we send a MO directly from a SO through the Make to Order route, we have no problem, the SO creates a MO and PO for this engineering parts without any problem.

Why happens this?

Thanks

Connector for AutoCAD

Hi,
Can anyone confirm if the Client version OdooPlm_2019_odoov13_31032022_095826.exe is supported with Autodesk Autocad 2021?
I'm trying to install the client connector for autocad but the menu does not appear.
I'm trying to load the autocad folder of the connector inside autocad 2021, but I don't see any result, I don't know if I'm doing something wrong.

Autocad connector

I would appreciate some kind of documentation or any help.

Thank you.

PLM spare install error(odoo12 Enterprise version)

Element '' cannot be located in parent view

Error context:
View ir.attachment.spare.extension
[view_id: 4964, xml_id: n/a, model: ir.attachment, parent_id: 4904]
None" while parsing /home/odoo/src/user/odooplm-12.0/plm_spare/views/ir_attachment_view.xml:3, near

ir.attachment.spare.extension
ir.attachment

form







Screen Shot 2020-03-09 at 2 28 57 PM

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.