OCA / server-brand

GNU Affero General Public License v3.0
57 stars 148 forks source link

[13.0] [BUG]"remove_odoo_enterprise" module > Error when debug mode / view fields on any view #19

Closed NCS-75 closed 4 years ago

NCS-75 commented 4 years ago

When trying to "view fields" in debug mode from developer tolls, regarding any tree, or form view ... (debug mode / view fields). There is an error message:

Odoo Server Error Traceback (most recent call last): ..../ TypeError: search() missing 1 required positional argument: 'domain'

  1. I create a fresh new database with odoo demo data
  2. I activate the developer mode, in setting
  3. I goo to any list view or open any form view (eg Sale/Qotation)
  4. I click to "View Fields" in developer tool menu
  5. I can see the requested view of fiels (= It's OK)
  6. Then, i install "remove_odoo_enterprise" module ( Install completed. OK)
  7. I goo to any list view or open any form view (eg Sale/Qotation again, or any other)
  8. I click to "View Fields" in developer tool menu -9. Then, i get the issue No issue faced after module uninstalled...

os: ubuntu 18.04 Odoo OCB 13.0 2019.12.28 odoo db new clean with demo data "remove_odoo_enterprise" downloaded = last

Odoo-error with remove_odoo_enterprise module_1 Odoo-error with remove_odoo_enterprise module_2

NCS-75 commented 4 years ago

This upside error can be checked now, on OCA runbot

astirpe commented 4 years ago

@NCS-75 should be fixed in https://github.com/OCA/server-brand/pull/20, could you check?

NCS-75 commented 4 years ago

@astirpe Issue still remaining after your fix proposal ; sorry...

  1. I 've updated the whole "remove_odoo_enterprise" module repository on my server, from [https://github.com/onesteinbv/server-brand/tree/13_fix_remove_odoo_enterprise/remove_odoo_enterprise ], and resarted odoo deamon
  2. I 've upgaded the module from Apps menu in my test database
  3. Then, i still face the issue
  4. i create a new database test
  5. Then, again , i still face the issue
astirpe commented 4 years ago

I guess your old version of the module is somewhere there and still running. You can test #20 in Runbot and verify that it fixes the bug. Runbot: http://3404128-20-b9e29b.runbot3.odoo-community.org/web/login

NCS-75 commented 4 years ago

@astirpe 👍 Issue is fixed, now Sorry for inconveniance of test fix

  1. I've deleted all "pycache" repository into module

(Was the reason of remaining issue ?)

  1. I 've restart Odoo deamon, and have upgaded the module from Apps menu
  2. Then, no more issue... Thanks for reactivity
astirpe commented 4 years ago

Thanks @NCS-75 Could you please go to https://github.com/OCA/server-brand/pull/20/files, Review Changes, and then Approve?

sergioeix commented 4 years ago

I am gettin this error too tried https://github.com/OCA/server-brand/issues/19#issuecomment-572550478 1 I've deleted all "pycache" repository into module 2 reboot odoo server and have upgaded the module from Apps menu 3 the issue remains Tried to uninstall the menu and all works as spected os: ubuntu 18.04 Odoo OCB 13.0 image Thanks