Code Monkey home page Code Monkey logo

odoo-extra's Introduction

Build Status Tech Doc Help Nightly Builds

Odoo

Odoo is a suite of web based open source business apps.

The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...

Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.

Getting started with Odoo

For a standard installation please follow the Setup instructions from the documentation.

To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials

odoo-extra's People

Contributors

antonylesuisse avatar beledouxdenis avatar bwrsandman avatar d-fence avatar dmo-odoo avatar gdeb avatar ged-odoo avatar gurneyalex avatar icallhimtest avatar jat-odoo avatar jke-be avatar jorenvo avatar julienlegros avatar kangol avatar katyukha avatar lla-odoo avatar mart-e avatar moylop260 avatar nseinlet avatar odony avatar rim-odoo avatar tfr-odoo avatar xmo-odoo 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  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

odoo-extra's Issues

[POS Cache] Update cache file

Issue :

I have more than 20,000 products in my database, some time pos_cache not update cache file of POS, will get me an error 'bad query'

File Size : 10 MB

Tests are failing on Runbot

When build has been completed it is turning red and I can see several failures log lines. I'll be sharing different types of failures below.

2017-08-01 13:49:34,542 217 INFO 21190-feature-3fe831-all odoo.addons.base.tests.test_expression: ====================================================================== 2017-08-01 13:49:34,542 217 ERROR 21190-feature-3fe831-all odoo.addons.base.tests.test_expression: FAIL: test_auto_join (odoo.addons.base.tests.test_expression.TestAutoJoin) 2017-08-01 13:49:34,546 217 ERROR 21190-feature-3fe831-all odoo.addons.base.tests.test_expression: Traceback (most recent call last): 2017-08-01 13:49:34,547 217 ERROR 21190-feature-3fe831-all odoo.addons.base.tests.test_expression: File "/usr/lib/python2.7/dist-packages/odoo/addons/base/tests/test_expression.py", line 687, in test_auto_join
2017-08-01 13:49:34,549 217 ERROR 21190-feature-3fe831-all odoo.addons.base.tests.test_expression: "_auto_join off: ('bank_ids.sanitized_acc_number', 'like', '..') should produce 3 queries (1 in res_partner_bank, 2 on res_partner)") 2017-08-01 13:49:34,550 217 ERROR 21190-feature-3fe831-all odoo.addons.base.tests.test_expression: AssertionError: 2 != 3 : _auto_join off: ('bank_ids.sanitized_acc_number', 'like', '..') should produce 3 queries (1 in res_partner_bank, 2 on res_partner)
2017-08-01 13:49:34,552 217 INFO 21190-feature-3fe831-all odoo.addons.base.tests.test_expression: Ran 20 tests in 2.671s
2017-08-01 13:49:34,552 217 ERROR 21190-feature-3fe831-all odoo.addons.base.tests.test_expression: FAILED
2017-08-01 13:49:34,553 217 INFO 21190-feature-3fe831-all odoo.addons.base.tests.test_expression: (failures=1)
2017-08-01 13:49:34,553 217 ERROR 21190-feature-3fe831-all odoo.modules.module: Module base: 1 failures, 0 errors`

2017-08-01 13:57:26,350 217 ERROR runbot10 odoo.modules.registry: Failed to load registry Traceback (most recent call last): File "/var/lib/odoo/build/21190-feature-3fe831/odoo/modules/registry.py", line 82, in new odoo.modules.load_modules(registry._db, force_demo, status, update_module) File "/var/lib/odoo/build/21190-feature-3fe831/odoo/modules/loading.py", line 341, in load_modules registry.setup_models(cr) File "/var/lib/odoo/build/21190-feature-3fe831/odoo/modules/registry.py", line 274, in setup_models ir_model = env['ir.model'] File "/var/lib/odoo/build/21190-feature-3fe831/odoo/api.py", line 752, in __getitem__ return self.registry[model_name]._browse((), self) File "/var/lib/odoo/build/21190-feature-3fe831/odoo/modules/registry.py", line 174, in __getitem__ return self.models[model_name] KeyError: 'ir.model' 2017-08-01 13:57:26,354 217 INFO runbot10 odoo.modules.loading: loading 25 modules... 2017-08-01 13:57:26,383 217 INFO runbot10 odoo.modules.loading: 25 modules loaded in 0.03s, 1 queries 2017-08-01 13:57:26,388 217 INFO runbot10 werkzeug: 127.0.0.1 - - [01/Aug/2017 13:57:26] "GET /web/content/811-74a4ec6/report.assets_pdf.0.css HTTP/1.1" 500 - 2017-08-01 13:57:26,488 217 ERROR runbot10 werkzeug: Error on request: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 177, in run_wsgi execute(self.server.app) File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 165, in execute application_iter = app(environ, start_response) File "/var/lib/odoo/build/21190-feature-3fe831/odoo/service/server.py", line 250, in app return self.app(e, s) File "/var/lib/odoo/build/21190-feature-3fe831/odoo/service/wsgi_server.py", line 184, in application return application_unproxied(environ, start_response) File "/var/lib/odoo/build/21190-feature-3fe831/odoo/service/wsgi_server.py", line 170, in application_unproxied result = handler(environ, start_response) File "/var/lib/odoo/build/21190-feature-3fe831/odoo/http.py", line 1306, in __call__ return self.dispatch(environ, start_response) File "/var/lib/odoo/build/21190-feature-3fe831/odoo/http.py", line 1280, in __call__ return self.app(environ, start_wrapped) File "/usr/lib/python2.7/dist-packages/werkzeug/wsgi.py", line 588, in __call__ return self.app(environ, start_response) File "/var/lib/odoo/build/21190-feature-3fe831/odoo/http.py", line 1461, in dispatch odoo.registry(db).check_signaling() File "/usr/lib/python2.7/dist-packages/odoo/__init__.py", line 52, in registry return modules.registry.Registry(database_name) File "/var/lib/odoo/build/21190-feature-3fe831/odoo/modules/registry.py", line 59, in __new__ return cls.new(db_name) File "/var/lib/odoo/build/21190-feature-3fe831/odoo/modules/registry.py", line 82, in new odoo.modules.load_modules(registry._db, force_demo, status, update_module) File "/var/lib/odoo/build/21190-feature-3fe831/odoo/modules/loading.py", line 341, in load_modules registry.setup_models(cr) File "/var/lib/odoo/build/21190-feature-3fe831/odoo/modules/registry.py", line 274, in setup_models ir_model = env['ir.model'] File "/var/lib/odoo/build/21190-feature-3fe831/odoo/api.py", line 752, in __getitem__ return self.registry[model_name]._browse((), self) File "/var/lib/odoo/build/21190-feature-3fe831/odoo/modules/registry.py", line 174, in __getitem__ return self.models[model_name] KeyError: 'ir.model'

2017-08-01 13:57:26,716 217 INFO runbot10 odoo.modules.module: odoo.addons.base.tests.test_xmlrpc running tests. 2017-08-01 13:57:26,716 217 INFO runbot10 odoo.addons.base.tests.test_xmlrpc: test_01_xmlrpc_login (odoo.addons.base.tests.test_xmlrpc.TestXMLRPC) 2017-08-01 13:57:26,716 217 INFO runbot10 odoo.addons.base.tests.test_xmlrpc: Try to login on the common service.
2017-08-01 13:57:26,717 217 ERROR 21190-feature-3fe831-all odoo.addons.base.tests.test_xmlrpc: ERROR
2017-08-01 13:57:26,721 217 INFO 21190-feature-3fe831-all odoo.addons.base.tests.test_xmlrpc: test_xmlrpc_ir_model_search (odoo.addons.base.tests.test_xmlrpc.TestXMLRPC)
2017-08-01 13:57:26,721 217 INFO 21190-feature-3fe831-all odoo.addons.base.tests.test_xmlrpc: Try a search on the object service. 2017-08-01 13:57:26,721 217 ERROR 21190-feature-3fe831-all odoo.addons.base.tests.test_xmlrpc: ERROR 2017-08-01 13:57:26,724 217 INFO 21190-feature-3fe831-all odoo.addons.base.tests.test_xmlrpc: ====================================================================== 2017-08-01 13:57:26,724 217 ERROR 21190-feature-3fe831-all odoo.addons.base.tests.test_xmlrpc: ERROR: test_01_xmlrpc_login (odoo.addons.base.tests.test_xmlrpc.TestXMLRPC) 2017-08-01 13:57:26,726 217 ERROR 21190-feature-3fe831-all odoo.addons.base.tests.test_xmlrpc: Try to login on the common service.
2017-08-01 13:57:26,727 217 ERROR 21190-feature-3fe831-all odoo.addons.base.tests.test_xmlrpc: Traceback (most recent call last):
2017-08-01 13:57:26,728 217 ERROR 21190-feature-3fe831-all odoo.addons.base.tests.test_xmlrpc: File "/usr/lib/python2.7/dist-packages/odoo/tests/common.py", line 246, in setUp 2017-08-01 13:57:26,730 217 ERROR 21190-feature-3fe831-all odoo.addons.base.tests.test_xmlrpc: self.registry.enter_test_mode()
2017-08-01 13:57:26,731 217 ERROR 21190-feature-3fe831-all odoo.addons.base.tests.test_xmlrpc: File "/var/lib/odoo/build/21190-feature-3fe831/odoo/modules/registry.py", line 430, in enter_test_mode 2017-08-01 13:57:26,732 217 ERROR 21190-feature-3fe831-all odoo.addons.base.tests.test_xmlrpc: assert self.test_cr is None
2017-08-01 13:57:26,733 217 ERROR 21190-feature-3fe831-all odoo.addons.base.tests.test_xmlrpc: AssertionError 2017-08-01 13:57:26,735 217 INFO 21190-feature-3fe831-all odoo.addons.base.tests.test_xmlrpc: ====================================================================== 2017-08-01 13:57:26,735 217 ERROR 21190-feature-3fe831-all odoo.addons.base.tests.test_xmlrpc: ERROR: test_xmlrpc_ir_model_search (odoo.addons.base.tests.test_xmlrpc.TestXMLRPC) 2017-08-01 13:57:26,736 217 ERROR 21190-feature-3fe831-all odoo.addons.base.tests.test_xmlrpc: Try a search on the object service.
2017-08-01 13:57:26,738 217 ERROR 21190-feature-3fe831-all odoo.addons.base.tests.test_xmlrpc: Traceback (most recent call last):
2017-08-01 13:57:26,739 217 ERROR 21190-feature-3fe831-all odoo.addons.base.tests.test_xmlrpc: File "/usr/lib/python2.7/dist-packages/odoo/tests/common.py", line 246, in setUp 2017-08-01 13:57:26,741 217 ERROR 21190-feature-3fe831-all odoo.addons.base.tests.test_xmlrpc: self.registry.enter_test_mode()
2017-08-01 13:57:26,742 217 ERROR 21190-feature-3fe831-all odoo.addons.base.tests.test_xmlrpc: File "/var/lib/odoo/build/21190-feature-3fe831/odoo/modules/registry.py", line 430, in enter_test_mode 2017-08-01 13:57:26,743 217 ERROR 21190-feature-3fe831-all odoo.addons.base.tests.test_xmlrpc: assert self.test_cr is None
2017-08-01 13:57:26,745 217 ERROR 21190-feature-3fe831-all odoo.addons.base.tests.test_xmlrpc: AssertionError 2017-08-01 13:57:26,746 217 INFO 21190-feature-3fe831-all odoo.addons.base.tests.test_xmlrpc: Ran 2 tests in 0.008s 2017-08-01 13:57:26,746 217 ERROR 21190-feature-3fe831-all odoo.addons.base.tests.test_xmlrpc: FAILED 2017-08-01 13:57:26,748 217 INFO 21190-feature-3fe831-all odoo.addons.base.tests.test_xmlrpc: (errors=2) 2017-08-01 13:57:26,748 217 ERROR 21190-feature-3fe831-all odoo.modules.module: Module base: 0 failures, 2 errors

After these failures all tests are getting errors. Runbot is running on Odoo v10.

document_fs gives error

I observe there is an error in document_fs module, in ir_attachment there is call to function _full_path

 def _get_document_fs_path(self, cr, uid, ids, field_name, arg, context=None):
        r = {}
        for attachment in self.browse(cr, uid, ids, context=context):
            link_dir = self._full_path(cr, uid, 'file', 'models')
            res_model = self._document_fs_sanitize(attachment.res_model)
            res_id = self._document_fs_sanitize(attachment.res_id)
            datas_fname = self._document_fs_sanitize(attachment.datas_fname)
            r[attachment.id] = os.path.join(link_dir, res_model, res_id, datas_fname)
        return r

in original ir_attachment the function has only 4 argument

def _full_path(self, cr, uid, path):
        # sanitize ath
        path = re.sub('[.]', '', path)
        path = path.strip('/\\')
        return os.path.join(self._filestore(cr, uid), path)

but here in document_fs the function is call with 5 argument.

Support repo names with `.git` suffix

The github api here goes a good job of taking out the git@ or https:// but it leaves in the .git which is sometimes in a github link.

Set up

create a repo with the name: [email protected]:odoo/odoo.git, which is a valid git address

Actual behaviour

repo.base will include .git if it is at the end of the name: github.com/odoo/odoo.git

Expected bahaviour

repo.base takes out .git if it is at the end of the name: github.com/odoo/odoo

plugin_outlook install error

in plugin_outlook.xml line 56 coment till 71.
it-s a inherit view in settings, configuration sales. It has almost no purpose. and also is missing a field in plugin_outlook.py.

Element '

' cannot be located in parent view

the problem in plugin_outlook.py can be solved ( but it;s not necesary if you do not want the view)
class sale_config_settings(osv.osv):
_inherit = 'sale.config.settings'
_columns ={
'module_plugin_outlook': fields.boolean ('module_plugin_outlook'),
}

After I run a test which โ€œfailsโ€ I canโ€™t see any log that shows me what is wrong

--------------------------------------------------------How I installed Runbot--------------------------------------------

  1. Sudo apt-get install -y python-matplotlib
  2. Sudo apt-get install -y font-manager
    After finish install i switch user - - > switch user to โ€œodoo9cโ€ - > mine
  3. Mkdir ~/.ssh
  4. Chmod 700 ~/.ssh
  5. Ssh-keygen -t rsa -b 4096 -C โ€œ[email protected]โ€
    I insert keygen at my dir /opt/odoo/odoo9c/.ssh/id_rsa
    After insert i leave passphrase empty
    Open ssh key - - > cat /opt/odoo9c/.ssh/id_rsa.pub
    I copy that key to add my ssh key at gitlab
    Ssh - T [email protected]
    After finish i download runbot at https://github.com/odoo/odoo-extra

I login using my odoo user : odoo9c at open odoo local like this
/opt/odoo9c/openerp-server --addons-path=/opt/odoo9c/addons, --xmlrpc-port 8100 (I add runbot addons at /opt/odoo9c/addons)
I open localhost:8100 and create new database called runbot

After create and login i start install app (base setup,web,runbot)
this is a setting repository on runbot that i create :

  • Field [Modules to install ] is โ€œstockโ€
  • Field [ mode ] is default : Poll
  • Field [ Nginx ] not check
  • Field [ Duplicate repo ] is empty
  • Field [ Extra dependencies] is empty
  • Field [ modules to install ] is empty
  • Field [ Other modules to install automatically ] is default โ€œRepository modules (excluding dependencies)โ€
  • Field at Github token is empty
  • Field at Limited to group is empty
  • Last hook time is empty

i save it and update and i see the repository being tested, after finish tested the result is red (thumbs down)
when i click log it show no error log

In the folder: /opt/odoo9c/addons/runbot/static/build/00002-testing-pci-sales-discount-76e00b/logs

file job_10_test_base.txt : [/usr/bin/python: can't open file '/opt/odoo9c/addons/runbot/static/build/00002-testing-pci-sales-discount-76e00b/bin/openerp-server.py': [Errno 2] No such file or directory]

Would you have any detailed documentation on How Runbot works (how it tests a build, what makes a build pass or fail?)

Thunderbird plugin for v 8.0 gives error when installed

Module: plugin_thunderbird
Version 8.0.1.0
Error details:
Element '

' cannot be located in parent view

Error context:
View Sales Application
[view_id: 1068, xml_id: n/a, model: sale.config.settings, parent_id: 208]" while parsing /opt/odoo/odoo/addons/plugin_thunderbird/plugin_thunderbird.xml:54, near

Sales Application sale.config.settings

Thunderbird plugin can't be installed

Plugin version: 8.0.1.0

Traceback (most recent call last):
File "/opt/odoo/openerp/http.py", line 536, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/opt/odoo/openerp/http.py", line 573, in dispatch
result = self._call_function(*_self.params)
File "/opt/odoo/openerp/http.py", line 309, in _call_function
return checked_call(self.db, *args, *_kwargs)
File "/opt/odoo/openerp/service/model.py", line 113, in wrapper
return f(dbname, _args, *_kwargs)
File "/opt/odoo/openerp/http.py", line 306, in checked_call
return self.endpoint(_a, *_kw)
File "/opt/odoo/openerp/http.py", line 802, in call
return self.method(_args, *_kw)
File "/opt/odoo/openerp/http.py", line 402, in response_wrap
response = f(_args, *_kw)
File "/opt/odoo/addons/web/controllers/main.py", line 941, in call_button
action = self._call_kw(model, method, args, {})
File "/opt/odoo/addons/web/controllers/main.py", line 929, in _call_kw
return getattr(request.registry.get(model), method)(request.cr, request.uid, _args, *_kwargs)
File "/opt/odoo/openerp/api.py", line 241, in wrapper
return old_api(self, _args, *_kwargs)
File "/opt/odoo/openerp/addons/base/module/module.py", line 450, in button_immediate_install
return self._button_immediate_function(cr, uid, ids, self.button_install, context=context)
File "/opt/odoo/openerp/api.py", line 241, in wrapper
return old_api(self, _args, *_kwargs)
File "/opt/odoo/openerp/addons/base/module/module.py", line 498, in _button_immediate_function
registry = openerp.modules.registry.RegistryManager.new(cr.dbname, update_module=True)
File "/opt/odoo/openerp/modules/registry.py", line 370, in new
openerp.modules.load_modules(registry._db, force_demo, status, update_module)
File "/opt/odoo/openerp/modules/loading.py", line 355, in load_modules
loaded_modules, update_module)
File "/opt/odoo/openerp/modules/loading.py", line 255, in load_marked_modules
loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
File "/opt/odoo/openerp/modules/loading.py", line 176, in load_module_graph
_load_data(cr, module_name, idref, mode, kind='data')
File "/opt/odoo/openerp/modules/loading.py", line 118, in _load_data
tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report)
File "/opt/odoo/openerp/tools/convert.py", line 901, in convert_file
convert_xml_import(cr, module, fp, idref, mode, noupdate, report)
File "/opt/odoo/openerp/tools/convert.py", line 987, in convert_xml_import
obj.parse(doc.getroot(), mode=mode)
File "/opt/odoo/openerp/tools/convert.py", line 853, in parse
self._tags[rec.tag](self.cr, rec, n, mode=mode)
File "/opt/odoo/openerp/tools/convert.py", line 763, in _tag_record
id = self.pool['ir.model.data']._update(cr, self.uid, rec_model, self.module, res, rec_id or False, not self.isnoupdate(data_node), noupdate=self.isnoupdate(data_node), mode=self.mode, context=rec_context )
File "/opt/odoo/openerp/api.py", line 241, in wrapper
return old_api(self, _args, *_kwargs)
File "/opt/odoo/openerp/addons/base/ir/ir_model.py", line 1077, in _update
res_id = model_obj.create(cr, uid, values, context=context)
File "/opt/odoo/openerp/api.py", line 241, in wrapper
return old_api(self, _args, *_kwargs)
File "/opt/odoo/openerp/addons/base/ir/ir_ui_view.py", line 264, in create
context=context)
File "/opt/odoo/openerp/api.py", line 241, in wrapper
return old_api(self, _args, *_kwargs)
File "/opt/odoo/openerp/api.py", line 336, in old_api
result = method(recs, _args, *_kwargs)
File "/opt/odoo/openerp/models.py", line 4074, in create
record = self.browse(self._create(old_vals))
File "/opt/odoo/openerp/api.py", line 239, in wrapper
return new_api(self, _args, *_kwargs)
File "/opt/odoo/openerp/api.py", line 462, in new_api
result = method(self._model, cr, uid, _args, *_kwargs)
File "/opt/odoo/openerp/models.py", line 4265, in _create
recs._validate_fields(vals)
File "/opt/odoo/openerp/api.py", line 239, in wrapper
return new_api(self, _args, *_kwargs)
File "/opt/odoo/openerp/models.py", line 1270, in _validate_fields
raise ValidationError('\n'.join(errors))
ParseError: "ValidateError
Field(s) arch failed against a constraint: Invalid view definition

Error details:
Field plugin_name does not exist

Error context:
View plugin_thunderbird.installer.view
[view_id: 1094, xml_id: n/a, model: plugin_thunderbird.installer, parent_id: 3]" while parsing /opt/odoo/addons/plugin_thunderbird/plugin_thunderbird.xml:4, near

plugin_thunderbird.installer.view
plugin_thunderbird.installer




Install Thunderbird Plug-In













Thunderbird plug-in installation:



  1. Save the Thunderbird plug-in.

  2. From the Thunderbird menubar: Tools ยญ> Add-ons -> Screwdriver/Wrench Icon -> Install add-on from file...

  3. Select the plug-in (the file named openerp_plugin.xpi).

  4. Click "Install Now".

  5. Restart Thunderbird.

  6. From the Thunderbird menubar: OpenERP -> Configuration.

  7. Configure your openerp server.








Facing the import error UserError

Commit ID: f5003ef

2018-01-22 04:53:17,163 16192 ERROR ? werkzeug: Error on request:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/werkzeug/serving.py", line 193, in run_wsgi
execute(self.server.app)
File "/usr/local/lib/python2.7/dist-packages/werkzeug/serving.py", line 181, in execute
application_iter = app(environ, start_response)
File "/home/yslau/odoo-8.0/openerp/service/server.py", line 291, in app
return self.app(e, s)
File "/home/yslau/odoo-8.0/openerp/service/wsgi_server.py", line 216, in application
return application_unproxied(environ, start_response)
File "/home/yslau/odoo-8.0/openerp/service/wsgi_server.py", line 202, in application_unproxied
result = handler(environ, start_response)
File "/home/yslau/odoo-8.0/openerp/http.py", line 1295, in call
self.load_addons()
File "/home/yslau/odoo-8.0/openerp/http.py", line 1316, in load_addons
m = import('openerp.addons.' + module)
File "/home/yslau/odoo-8.0/openerp/modules/module.py", line 80, in load_module
mod = imp.load_module('openerp.addons.' + module_part, f, path, descr)
File "/home/yslau/odoo-8.0/odoo-extra/website_twitter_wall/init.py", line 22, in
import controllers
File "/home/yslau/odoo-8.0/odoo-extra/website_twitter_wall/controllers/init.py", line 2, in
import main
File "/home/yslau/odoo-8.0/odoo-extra/website_twitter_wall/controllers/main.py", line 7, in
from openerp.addons.website_twitter_wall.models.oauth import Oauth
File "/home/yslau/odoo-8.0/odoo-extra/website_twitter_wall/models/init.py", line 3, in
import twitter_agent
File "/home/yslau/odoo-8.0/odoo-extra/website_twitter_wall/models/twitter_agent.py", line 4, in
from openerp.exceptions import UserError
ImportError: cannot import name UserError

Same sha different results build green and later red

1.0) Steps by reproduce:
1.1) Make a new commit
1.2) Check new build into runbot.odoo.com
1.3) Check results
1.4) Force re-build (with same sha, same build)
1.5) Check results

2.0) I expected
2.1) See same results

3.0) I saw
3.1) Different results.
Image of case

4.0) Environment
runbot.odoo.com - 2014/09/03

Filters is None when installing

When installing the runbot module, I get the following error:

QWebException: "'NoneType' object has no attribute '__getitem__'" while evaluating
"filters['pending']=='0'"

The error is avoided by commenting out L282 to 289 of runbot.xml

qu is None

Following #4
When installing runbot I get the following error:

QWebException: "'NoneType' object is not callable" while evaluating
'qu(limit=100)'

This is solved by commenting out all lines which have calls to qu() in runbot.xml (L291-L293, L307-L312)

[master] runbot: Install runbot module with `test enable` return fails

odoo@3e39c391e3d1:~#
/odoo/odoo-8.0/openerp-server -d openerp_test3 --stop-after-init --log-level info --addons-path /odoo/workspace/src/github.com/odoo/odoo-extra,/odoo/runbot-addons,/odoo/odoo-8.0/addons --test-enable -i runbot
2015-04-20 22:27:17,405 2523 INFO ? openerp: OpenERP version 8.0
2015-04-20 22:27:17,405 2523 INFO ? openerp: addons paths: ['/odoo/.local/share/Odoo/addons/8.0', u'/odoo/workspace/src/github.com/Vauxoo/odoo-extra', u'/odoo/runbot-addons', u'/odoo/odoo-8.0/addons', '/odoo/odoo-8.0/openerp/addons']
2015-04-20 22:27:17,406 2523 INFO ? openerp: database hostname: localhost
2015-04-20 22:27:17,406 2523 INFO ? openerp: database port: 5432
2015-04-20 22:27:17,406 2523 INFO ? openerp: database user: odoo
2015-04-20 22:27:17,497 2523 INFO ? openerp.service.server: HTTP service (werkzeug) running on 0.0.0.0:8069
2015-04-20 22:27:17,502 2523 INFO openerp_test3 openerp.modules.loading: loading 1 modules...
2015-04-20 22:27:17,509 2523 INFO openerp_test3 openerp.modules.loading: 1 modules loaded in 0.01s, 0 queries
2015-04-20 22:27:17,639 2523 WARNING openerp_test3 openerp.modules.loading: invalid module names, ignored: runbot_prebuild
2015-04-20 22:27:17,654 2523 INFO openerp_test3 openerp.modules.loading: loading 28 modules...
2015-04-20 22:27:17,696 2523 INFO ? openerp.addons.bus.bus: Bus.loop listen imbus on db postgres
2015-04-20 22:27:17,706 2523 INFO openerp_test3 openerp.addons.report.models.report: Will use the Wkhtmltopdf binary at /usr/bin/wkhtmltopdf
2015-04-20 22:27:17,841 2523 INFO openerp_test3 openerp.addons.report.models.report: Upgrade Wkhtmltopdf to (at least) 0.12.0
2015-04-20 22:27:18,264 2523 INFO openerp_test3 openerp.modules.module: module runbot: creating or updating database tables
2015-04-20 22:27:18,317 2523 INFO openerp_test3 openerp.modules.loading: loading runbot/runbot.xml
2015-04-20 22:27:18,637 2523 INFO openerp_test3 openerp.modules.loading: loading runbot/res_config_view.xml
2015-04-20 22:27:18,662 2523 INFO openerp_test3 openerp.modules.loading: loading runbot/security/runbot_security.xml
2015-04-20 22:27:18,842 2523 INFO openerp_test3 openerp.modules.loading: loading runbot/security/ir.model.access.csv
2015-04-20 22:27:18,873 2523 INFO openerp_test3 openerp.modules.loading: loading runbot/security/ir.rule.csv
2015-04-20 22:27:19,546 2523 INFO openerp_test3 openerp.modules.module: module runbot_cla: creating or updating database tables
2015-04-20 22:27:19,575 2523 INFO openerp_test3 openerp.modules.loading: 28 modules loaded in 1.92s, 0 queries
2015-04-20 22:27:19,936 2523 INFO openerp_test3 openerp.modules.loading: Modules loaded.
2015-04-20 22:27:19,962 2523 INFO openerp_test3 openerp.modules.module: openerp.addons.website.tests.test_crawl running tests.
2015-04-20 22:27:19,963 2523 INFO openerp_test3 openerp.addons.website.tests.test_crawl: test_10_crawl_public (openerp.addons.website.tests.test_crawl.Crawler)
2015-04-20 22:27:19,972 2523 INFO openerp_test3 openerp.addons.website.tests.test_crawl: Anonymous Coward /
2015-04-20 22:27:20,500 2523 INFO ? openerp.http: HTTP Configuring static files
2015-04-20 22:27:20,502 2523 INFO openerp_test3 openerp.addons.base.ir.ir_http: Generating routing map
2015-04-20 22:27:20,550 2523 INFO openerp_test3 werkzeug: 127.0.0.1 - - [20/Apr/2015 22:27:20] "GET / HTTP/1.1" 302 -
2015-04-20 22:27:20,633 2523 INFO openerp_test3 werkzeug: 127.0.0.1 - - [20/Apr/2015 22:27:20] "GET /runbot HTTP/1.1" 200 -
2015-04-20 22:27:20,634 2523 INFO openerp_test3 openerp.addons.website.tests.test_crawl: Anonymous Coward /page/website.contactus
2015-04-20 22:27:20,638 2523 INFO openerp_test3 werkzeug: 127.0.0.1 - - [20/Apr/2015 22:27:20] "GET /page/website.contactus HTTP/1.1" 301 -
2015-04-20 22:27:20,674 2523 INFO openerp_test3 werkzeug: 127.0.0.1 - - [20/Apr/2015 22:27:20] "GET /page/contactus HTTP/1.1" 200 -
2015-04-20 22:27:20,675 2523 INFO openerp_test3 openerp.addons.website.tests.test_crawl: Anonymous Coward /page/website.aboutus
2015-04-20 22:27:20,679 2523 INFO openerp_test3 werkzeug: 127.0.0.1 - - [20/Apr/2015 22:27:20] "GET /page/website.aboutus HTTP/1.1" 301 -
2015-04-20 22:27:20,702 2523 INFO openerp_test3 werkzeug: 127.0.0.1 - - [20/Apr/2015 22:27:20] "GET /page/aboutus HTTP/1.1" 200 -
2015-04-20 22:27:20,704 2523 INFO openerp_test3 openerp.addons.website.tests.test_crawl: public crawled 3 urls in 0.73s 273 queries, 0.245s 91.00q per request,
2015-04-20 22:27:20,705 2523 INFO openerp_test3 openerp.addons.website.tests.test_crawl: test_20_crawl_demo (openerp.addons.website.tests.test_crawl.Crawler)
2015-04-20 22:27:20,792 2523 INFO openerp_test3 werkzeug: 127.0.0.1 - - [20/Apr/2015 22:27:20] "GET /login?login=demo&db=openerp_test3&key=demo HTTP/1.1" 303 -
2015-04-20 22:27:21,124 2523 INFO openerp_test3 werkzeug: 127.0.0.1 - - [20/Apr/2015 22:27:21] "GET /web HTTP/1.1" 200 -
2015-04-20 22:27:21,125 2523 INFO openerp_test3 openerp.addons.website.tests.test_crawl: demo /
2015-04-20 22:27:21,134 2523 INFO openerp_test3 werkzeug: 127.0.0.1 - - [20/Apr/2015 22:27:21] "GET / HTTP/1.1" 302 -
2015-04-20 22:27:21,140 2523 WARNING openerp_test3 openerp.addons.base.ir.ir_model: Access Denied by ACLs for operation: read, uid: 4, model: runbot.repo
2015-04-20 22:27:21,143 2523 WARNING openerp_test3 openerp.addons.website.models.ir_http: 403 Forbidden:

Traceback (most recent call last):
  File "/odoo/odoo-8.0/addons/website/models/ir_http.py", line 196, in _handle_exception
    response = super(ir_http, self)._handle_exception(exception)
  File "/odoo/odoo-8.0/openerp/addons/base/ir/ir_http.py", line 146, in _handle_exception
    return request._handle_exception(exception)
  File "/odoo/odoo-8.0/openerp/http.py", line 659, in _handle_exception
    return super(HttpRequest, self)._handle_exception(exception)
  File "/odoo/odoo-8.0/openerp/addons/base/ir/ir_http.py", line 172, in _dispatch
    result = request.dispatch()
  File "/odoo/odoo-8.0/openerp/http.py", line 677, in dispatch
    r = self._call_function(**self.params)
  File "/odoo/odoo-8.0/openerp/http.py", line 303, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/odoo/odoo-8.0/openerp/service/model.py", line 113, in wrapper
    return f(dbname, *args, **kwargs)
  File "/odoo/odoo-8.0/openerp/http.py", line 300, in checked_call
    return self.endpoint(*a, **kw)
  File "/odoo/odoo-8.0/openerp/http.py", line 796, in __call__
    return self.method(*args, **kw)
  File "/odoo/odoo-8.0/openerp/http.py", line 396, in response_wrap
    response = f(*args, **kw)
  File "/odoo/workspace/src/github.com/Vauxoo/odoo-extra/runbot/runbot.py", line 1019, in repo
    repo_ids = repo_obj.search(cr, uid, [])
  File "/odoo/odoo-8.0/openerp/api.py", line 241, in wrapper
    return old_api(self, *args, **kwargs)
  File "/odoo/odoo-8.0/openerp/models.py", line 1639, in search
    return self._search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count)
  File "/odoo/odoo-8.0/openerp/api.py", line 241, in wrapper
    return old_api(self, *args, **kwargs)
  File "/odoo/odoo-8.0/openerp/models.py", line 4615, in _search
    self.check_access_rights(cr, access_rights_uid or user, 'read')
  File "/odoo/odoo-8.0/openerp/api.py", line 241, in wrapper
    return old_api(self, *args, **kwargs)
  File "/odoo/odoo-8.0/openerp/models.py", line 3477, in check_access_rights
    return self.pool.get('ir.model.access').check(cr, uid, self._name, operation, raise_exception)
  File "/odoo/odoo-8.0/openerp/api.py", line 241, in wrapper
    return old_api(self, *args, **kwargs)
  File "<string>", line 2, in check
  File "/odoo/odoo-8.0/openerp/tools/cache.py", line 122, in lookup
    value = d[key] = self.method(*args, **kwargs)
  File "/odoo/odoo-8.0/openerp/addons/base/ir/ir_model.py", line 800, in check
    raise openerp.exceptions.AccessError(msg % msg_params)
AccessError: ('AccessError', u'Sorry, you are not allowed to access this document. Only users with the following access level are currently allowed to do that:\n- Runbot/User\n\t- Runbot/Manager\n\n(Document model: runbot.repo)')

2015-04-20 22:27:21,203 2523 INFO openerp_test3 werkzeug: 127.0.0.1 - - [20/Apr/2015 22:27:21] "GET /runbot HTTP/1.1" 403 -
2015-04-20 22:27:21,204 2523 ERROR openerp_test3 openerp.addons.website.tests.test_crawl: FAIL
2015-04-20 22:27:21,204 2523 INFO openerp_test3 openerp.addons.website.tests.test_crawl: test_30_crawl_admin (openerp.addons.website.tests.test_crawl.Crawler)
2015-04-20 22:27:21,294 2523 INFO openerp_test3 werkzeug: 127.0.0.1 - - [20/Apr/2015 22:27:21] "GET /login?login=admin&db=openerp_test3&key=admin HTTP/1.1" 303 -
2015-04-20 22:27:21,742 2523 INFO openerp_test3 werkzeug: 127.0.0.1 - - [20/Apr/2015 22:27:21] "GET /web HTTP/1.1" 200 -
2015-04-20 22:27:21,743 2523 INFO openerp_test3 openerp.addons.website.tests.test_crawl: admin /
2015-04-20 22:27:21,752 2523 INFO openerp_test3 werkzeug: 127.0.0.1 - - [20/Apr/2015 22:27:21] "GET / HTTP/1.1" 302 -
2015-04-20 22:27:21,880 2523 INFO openerp_test3 werkzeug: 127.0.0.1 - - [20/Apr/2015 22:27:21] "GET /runbot HTTP/1.1" 200 -
2015-04-20 22:27:21,882 2523 INFO openerp_test3 openerp.addons.website.tests.test_crawl: admin /page/website.themes
2015-04-20 22:27:21,889 2523 INFO openerp_test3 werkzeug: 127.0.0.1 - - [20/Apr/2015 22:27:21] "GET /page/website.themes HTTP/1.1" 301 -
2015-04-20 22:27:21,955 2523 INFO openerp_test3 werkzeug: 127.0.0.1 - - [20/Apr/2015 22:27:21] "GET /page/themes HTTP/1.1" 200 -
2015-04-20 22:27:21,958 2523 INFO openerp_test3 openerp.addons.website.tests.test_crawl: admin /website/theme_change
2015-04-20 22:27:22,049 2523 INFO openerp_test3 werkzeug: 127.0.0.1 - - [20/Apr/2015 22:27:22] "GET /website/theme_change HTTP/1.1" 200 -
2015-04-20 22:27:22,052 2523 INFO openerp_test3 openerp.addons.website.tests.test_crawl: admin /website/theme_change?theme_id=website.theme_amelia
2015-04-20 22:27:22,180 2523 INFO openerp_test3 werkzeug: 127.0.0.1 - - [20/Apr/2015 22:27:22] "GET /website/theme_change?theme_id=website.theme_amelia HTTP/1.1" 200 -
2015-04-20 22:27:22,183 2523 INFO openerp_test3 openerp.addons.website.tests.test_crawl: admin /page/website.contactus
2015-04-20 22:27:22,187 2523 INFO openerp_test3 werkzeug: 127.0.0.1 - - [20/Apr/2015 22:27:22] "GET /page/website.contactus HTTP/1.1" 301 -
2015-04-20 22:27:22,246 2523 INFO openerp_test3 werkzeug: 127.0.0.1 - - [20/Apr/2015 22:27:22] "GET /page/contactus HTTP/1.1" 200 -
2015-04-20 22:27:22,248 2523 INFO openerp_test3 openerp.addons.website.tests.test_crawl: admin /page/website.aboutus
2015-04-20 22:27:22,252 2523 INFO openerp_test3 werkzeug: 127.0.0.1 - - [20/Apr/2015 22:27:22] "GET /page/website.aboutus HTTP/1.1" 301 -
2015-04-20 22:27:22,297 2523 INFO openerp_test3 werkzeug: 127.0.0.1 - - [20/Apr/2015 22:27:22] "GET /page/aboutus HTTP/1.1" 200 -
2015-04-20 22:27:22,301 2523 INFO openerp_test3 openerp.addons.website.tests.test_crawl: admin crawled 6 urls in 1.10s 520 queries, 0.183s 86.67q per request
2015-04-20 22:27:22,302 2523 INFO openerp_test3 openerp.addons.website.tests.test_crawl: ======================================================================
2015-04-20 22:27:22,302 2523 ERROR openerp_test3 openerp.addons.website.tests.test_crawl: FAIL: test_20_crawl_demo (openerp.addons.website.tests.test_crawl.Crawler)
2015-04-20 22:27:22,302 2523 ERROR openerp_test3 openerp.addons.website.tests.test_crawl: Traceback (most recent call last):
2015-04-20 22:27:22,302 2523 ERROR openerp_test3 openerp.addons.website.tests.test_crawl: `   File "/odoo/odoo-8.0/addons/website/tests/test_crawl.py", line 81, in test_20_crawl_demo
2015-04-20 22:27:22,302 2523 ERROR openerp_test3 openerp.addons.website.tests.test_crawl: `     seen = self.crawl('/', msg='demo')
2015-04-20 22:27:22,302 2523 ERROR openerp_test3 openerp.addons.website.tests.test_crawl: `   File "/odoo/odoo-8.0/addons/website/tests/test_crawl.py", line 38, in crawl
2015-04-20 22:27:22,302 2523 ERROR openerp_test3 openerp.addons.website.tests.test_crawl: `     self.assertIn( code, xrange(200, 300), "%s Fetching %s returned error response (%d)" % (msg, url, code))
2015-04-20 22:27:22,302 2523 ERROR openerp_test3 openerp.addons.website.tests.test_crawl: ` AssertionError: 403 not found in xrange(200, 300) : demo Fetching / returned error response (403)
2015-04-20 22:27:22,302 2523 INFO openerp_test3 openerp.addons.website.tests.test_crawl: Ran 3 tests in 2.339s
2015-04-20 22:27:22,302 2523 ERROR openerp_test3 openerp.addons.website.tests.test_crawl: FAILED
2015-04-20 22:27:22,302 2523 INFO openerp_test3 openerp.addons.website.tests.test_crawl:  (failures=1)
2015-04-20 22:27:22,302 2523 ERROR openerp_test3 openerp.modules.module: Module website: 1 failures, 0 errors
2015-04-20 22:27:22,306 2523 INFO openerp_test3 openerp.modules.module: openerp.addons.report.tests.test_reports running tests.
2015-04-20 22:27:22,307 2523 INFO openerp_test3 openerp.addons.report.tests.test_reports: test_reports (openerp.addons.report.tests.test_reports.TestReports)
2015-04-20 22:27:22,308 2523 INFO openerp_test3 openerp.addons.report.tests.test_reports: Ran 1 test in 0.001s
2015-04-20 22:27:22,308 2523 INFO openerp_test3 openerp.addons.report.tests.test_reports: OK
2015-04-20 22:27:22,321 2523 INFO openerp_test3 openerp.modules.module: openerp.addons.base.tests.test_xmlrpc running tests.
2015-04-20 22:27:22,321 2523 INFO openerp_test3 openerp.addons.base.tests.test_xmlrpc: test_01_xmlrpc_login (openerp.addons.base.tests.test_xmlrpc.test_xmlrpc)
2015-04-20 22:27:22,321 2523 INFO openerp_test3 openerp.addons.base.tests.test_xmlrpc: ` Try to login on the common service.
2015-04-20 22:27:22,400 2523 INFO openerp_test3 openerp.service.common: successful login from 'admin' using database 'openerp_test3'
2015-04-20 22:27:22,400 2523 INFO openerp_test3 werkzeug: 127.0.0.1 - - [20/Apr/2015 22:27:22] "POST /xmlrpc/2/common HTTP/1.1" 200 -
2015-04-20 22:27:22,401 2523 INFO openerp_test3 openerp.addons.base.tests.test_xmlrpc: test_xmlrpc_ir_model_search (openerp.addons.base.tests.test_xmlrpc.test_xmlrpc)
2015-04-20 22:27:22,401 2523 INFO openerp_test3 openerp.addons.base.tests.test_xmlrpc: ` Try a search on the object service.
2015-04-20 22:27:22,403 2523 INFO openerp_test3 werkzeug: 127.0.0.1 - - [20/Apr/2015 22:27:22] "POST /xmlrpc/2/object HTTP/1.1" 200 -
2015-04-20 22:27:22,407 2523 INFO openerp_test3 werkzeug: 127.0.0.1 - - [20/Apr/2015 22:27:22] "POST /xmlrpc/2/object HTTP/1.1" 200 -
2015-04-20 22:27:22,409 2523 INFO openerp_test3 openerp.addons.base.tests.test_xmlrpc: Ran 2 tests in 0.088s
2015-04-20 22:27:22,409 2523 INFO openerp_test3 openerp.addons.base.tests.test_xmlrpc: OK
2015-04-20 22:27:22,409 2523 INFO openerp_test3 openerp.modules.loading: All post-tested in 2.45s, 1226 queries
2015-04-20 22:27:22,409 2523 INFO openerp_test3 openerp.service.server: Initiating shutdown
2015-04-20 22:27:22,409 2523 INFO openerp_test3 openerp.service.server: Hit CTRL-C again or send a second signal to force the shutdown.
odoo@3e39c391e3d1:~#

translations of text added in js or static xml

<html t-att-lang="lang and lang.replace('_', '-')" t-att-data-website-id="website.id if editable and website else None" t-att-data-editable="'1' if editable else None" t-att-data-translatable="'1' if translatable else None" t-att-data-view-xmlid="xmlid if editable else None" t-att-data-main-object="repr(main_object) if editable else None" t-att-data-oe-company-name="res_company.name">

In this line the data attribute website-id is not set if the user has no edit rights on the website

this causes the javascript translations to not be loaded according to:

https://github.com/odoo/odoo/blob/4365ebc19c3febb3a47a50745c13729701b8714d/addons/website/static/src/js/website.js#L306

Is there a reason the website id is hidden?
According to a colleague v9 is also affected by this issue

__import__(name) ImportError: No module named fields

I'm trying to install Runbot in my odoo local system, followed every step explained here: http://www.odoo.yenthevg.com/installing-and-configuring-your-own-runbot/

downloaded current working runbot from https://github.com/odoo/odoo-extra and try to install the runbot module, giving an error like this import(name) ImportError: No module named fields. don't know why coming to this error and odoo not working if remove runbot module odoo works properly. is anything doing wrong

[BUG][master][runbot] xmlrpclib return None error

I make the next script

import xmlrpclib

username = 'admin' #the user
pwd = '***'      #the password of the user
dbname = 'db_rubot'    #the database

# OpenERP Common login Service proxy object 
sock_common = xmlrpclib.ServerProxy ('http://localhost:8069/xmlrpc/common')
uid = sock_common.login(dbname, username, pwd)

#replace localhost with the address of the server
# OpenERP Object manipulation service 
sock = xmlrpclib.ServerProxy('http://localhost:8069/xmlrpc/object')

repo_ids = sock.execute(dbname, uid, pwd, 'runbot.repo', 'search', [('id','<>', 0)])
#sock.execute(dbname, uid, pwd, 'runbot.repo', 'update', repo_ids)
for repo_id in repo_ids:
    sock.execute(dbname, uid, pwd, 'runbot.repo', 'cron', [repo_id])

I have next error:

Traceback (most recent call last):
  File "runbot_update_killall_ws.py", line 20, in <module>
    sock.execute(dbname, uid, pwd, 'runbot.repo', 'cron', [repo_id])
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xmlrpclib.py", line 1224, in __call__
    return self.__send(self.__name, args)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xmlrpclib.py", line 1578, in __request
    verbose=self.__verbose
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xmlrpclib.py", line 1264, in request
    return self.single_request(host, handler, request_body, verbose)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xmlrpclib.py", line 1297, in single_request
    return self.parse_response(response)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xmlrpclib.py", line 1473, in parse_response
    return u.close()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xmlrpclib.py", line 793, in close
    raise Fault(**self._stack[0])
xmlrpclib.Fault: <Fault cannot marshal None unless allow_none is enabled: 'Traceback (most recent call last):\n  File "/Users/moylop260/openerp/instancias/odoo_git_clone/odoo/openerp/service/wsgi_server.py", line 76, in xmlrpc_return\n    response = xmlrpclib.dumps((result,), methodresponse=1, allow_none=False, encoding=None)\n  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xmlrpclib.py", line 1085, in dumps\n    data = m.dumps(params)\n  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xmlrpclib.py", line 632, in dumps\n    dump(v, write)\n  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xmlrpclib.py", line 654, in __dump\n    f(self, value, write)\n  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xmlrpclib.py", line 658, in dump_nil\n    raise TypeError, "cannot marshal None unless allow_none is enabled"\nTypeError: cannot marshal None unless allow_none is enabled\n'>

I change function:

    def cron(self, cr, uid, ids=None, context=None):
        ids = self.search(cr, uid, [('auto', '=', True)])
        self.update(cr, uid, ids)
        self.scheduler(cr, uid, ids)
        self.nginx(cr, uid)
+      return True

I now this is done!

Am I doing something wrong or is a bug?

Website Multi v8

Hello all.
Im testing the addon website_multi in a v8 installation and all appear to be fine (installation, configuration) but on the frontend I cannot see the other sites but only the first one.
Thanks a lot,
Higor

[Question] Can we propose PR to this "Not supported" modules

Situation

We will fork this modules to finish some little things on them like a runbot to support several --addons-path and a little bit the look an feed (may be with an extra one) will you accept pull requests or this modules or will not they be managed at all?.

Regards.

Error while running builds

Installing a new instance I get this following error after adding a new repo.

2014-07-10 00:47:02,808 4862 ERROR runbot openerp.addons.base.ir.ir_cron: Call of self.pool.get('runbot.repo').cron(cr, uid, *()) failed in Job 6
Traceback (most recent call last):
  File "odoo/openerp/addons/base/ir/ir_cron.py", line 138, in _callback
    getattr(model, method_name)(cr, uid, *args)
  File "odoo/openerp/api.py", line 204, in wrapper
    return old_api(self, *args, **kwargs)
  File "odoo-extra/runbot/runbot.py", line 353, in cron
    self.scheduler(cr, uid, ids)
  File "odoo/openerp/api.py", line 204, in wrapper
    return old_api(self, *args, **kwargs)
  File "odoo-extra/runbot/runbot.py", line 286, in scheduler
    bo.schedule(cr, uid, build_ids)
  File "odoo/openerp/api.py", line 204, in wrapper
    return old_api(self, *args, **kwargs)
  File "odoo-extra/runbot/runbot.py", line 800, in schedule
    job_method = getattr(self,build.job)
  File "odoo/openerp/fields.py", line 663, in __get__
    record.ensure_one()
  File "odoo/openerp/models.py", line 5064, in ensure_one
    if len(self) == 1:
  File "odoo/openerp/models.py", line 5222, in __len__
    return len(self._ids)
AttributeError: 'runbot.build' object has no attribute '_ids'

build.job is u'job_age', the following commands all throw the same error

  File "odoo-extra/runbot/runbot.py", line 800, in schedule
    job_method = getattr(self,build.job)
    job_method = getattr(self, u'job_age')
    job_method = self.job_age
    job_method = self._ids

It doesn't happen every time line 800 of runbot.py is run but it does maybe over half the time.

A recent (2 weeks) change must have added this error as I didn't run into it then. Looking at the blame, the code in question hasn't been changed in a while, so I am at a loss to what exactly causes this.

Extra build steps

It would be very beneficial to the OCA is we were able add custom tests such as a flake8 test prior to odoo tests.
Another useful step would be publishing a coverage report such as what https://coveralls.io/ does with travis in the post_build section.

base_report_designer installation Fail

Hello,

i Need help.
I use odoo 9.0c on Windows and get the following issue, if i try to install base_report_designer.
Thank you.

Odoo Server Error
Traceback (most recent call last):
File "C:\Program Files (x86)\Odoo 9.0-20160801\server.\openerp\http.py", line 647, in _handle_exception
File "C:\Program Files (x86)\Odoo 9.0-20160801\server.\openerp\http.py", line 684, in dispatch
File "C:\Program Files (x86)\Odoo 9.0-20160801\server.\openerp\http.py", line 320, in _call_function
File "C:\Program Files (x86)\Odoo 9.0-20160801\server.\openerp\service\model.py", line 118, in wrapper
File "C:\Program Files (x86)\Odoo 9.0-20160801\server.\openerp\http.py", line 313, in checked_call
File "C:\Program Files (x86)\Odoo 9.0-20160801\server.\openerp\http.py", line 963, in call
File "C:\Program Files (x86)\Odoo 9.0-20160801\server.\openerp\http.py", line 513, in response_wrap
File "C:\Program Files (x86)\Odoo 9.0-20160801\server\openerp\addons\web\controllers\main.py", line 901, in call_button
File "C:\Program Files (x86)\Odoo 9.0-20160801\server\openerp\addons\web\controllers\main.py", line 889, in _call_kw
File "C:\Program Files (x86)\Odoo 9.0-20160801\server.\openerp\api.py", line 250, in wrapper
File "C:\Program Files (x86)\Odoo 9.0-20160801\server\openerp\addons\base\module\module.py", line 459, in button_immediate_install
File "C:\Program Files (x86)\Odoo 9.0-20160801\server.\openerp\api.py", line 250, in wrapper
File "C:\Program Files (x86)\Odoo 9.0-20160801\server\openerp\addons\base\module\module.py", line 533, in _button_immediate_function
File "C:\Program Files (x86)\Odoo 9.0-20160801\server.\openerp\modules\registry.py", line 386, in new
File "C:\Program Files (x86)\Odoo 9.0-20160801\server.\openerp\modules\loading.py", line 338, in load_modules
File "C:\Program Files (x86)\Odoo 9.0-20160801\server.\openerp\modules\loading.py", line 237, in load_marked_modules
File "C:\Program Files (x86)\Odoo 9.0-20160801\server.\openerp\modules\loading.py", line 156, in load_module_graph
File "C:\Program Files (x86)\Odoo 9.0-20160801\server.\openerp\modules\loading.py", line 98, in _load_data
File "C:\Program Files (x86)\Odoo 9.0-20160801\server.\openerp\tools\convert.py", line 851, in convert_file
File "C:\Program Files (x86)\Odoo 9.0-20160801\server.\openerp\tools\convert.py", line 938, in convert_xml_import
File "C:\Program Files (x86)\Odoo 9.0-20160801\server.\openerp\tools\convert.py", line 801, in parse
File "C:\Program Files (x86)\Odoo 9.0-20160801\server.\openerp\tools\convert.py", line 804, in parse
File "C:\Program Files (x86)\Odoo 9.0-20160801\server.\openerp\tools\convert.py", line 708, in _tag_record
File "C:\Program Files (x86)\Odoo 9.0-20160801\server.\openerp\api.py", line 250, in wrapper
File "C:\Program Files (x86)\Odoo 9.0-20160801\server\openerp\addons\base\ir\ir_model.py", line 1143, in _update
File "C:\Program Files (x86)\Odoo 9.0-20160801\server.\openerp\api.py", line 250, in wrapper
File "C:\Program Files (x86)\Odoo 9.0-20160801\server\openerp\addons\base\ir\ir_ui_view.py", line 353, in create
File "C:\Program Files (x86)\Odoo 9.0-20160801\server.\openerp\api.py", line 250, in wrapper
File "C:\Program Files (x86)\Odoo 9.0-20160801\server.\openerp\api.py", line 354, in old_api
File "C:\Program Files (x86)\Odoo 9.0-20160801\server.\openerp\models.py", line 4157, in create
File "C:\Program Files (x86)\Odoo 9.0-20160801\server.\openerp\api.py", line 248, in wrapper
File "C:\Program Files (x86)\Odoo 9.0-20160801\server.\openerp\api.py", line 490, in new_api
File "C:\Program Files (x86)\Odoo 9.0-20160801\server.\openerp\models.py", line 4354, in _create
File "C:\Program Files (x86)\Odoo 9.0-20160801\server.\openerp\api.py", line 248, in wrapper
File "C:\Program Files (x86)\Odoo 9.0-20160801\server.\openerp\models.py", line 1271, in _validate_fields
ParseError: "Invalid view definition

Fehlerdetails:
View inheritance may not use attribute 'string' as a selector.

Fehler Kontext:
Ansicht Form View: Odoo Report Designer Installation
[view_id: 594, xml_id: k. A., model: base_report_designer.installer, parent_id: 3]
None" while parsing file:///C:/Program%20Files%20(x86)/Odoo%209.0-20160801/server/openerp/addons/base_report_designer/base_report_designer_installer.xml:4, near

Form View: Odoo Report Designer Installation
base_report_designer.installer




Odoo Report Designer Configuration





















Odoo Report Designer



Runbot error while installing Belgian chart of account

Hi,

I have a problem when i try to use runbot on a "base" database. If I install accounting and then I try trough the wizard to install the belgian chart of account trough the wizard, i have a CPU time limit exceeded error.

image

I have this eror, what is the solution ??

fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

2017-01-20 16:09:22,543 10456 ERROR runbot_3 openerp.addons.base.ir.ir_cron: Call of self.pool.get('runbot.repo').cron(cr, uid, *()) failed in Job 2
Traceback (most recent call last):
  File "/opt/odoo099/openerp/addons/base/ir/ir_cron.py", line 129, in _callback
    getattr(model, method_name)(cr, uid, *args)
  File "/opt/odoo099/openerp/api.py", line 250, in wrapper
    return old_api(self, *args, **kwargs)
  File "/opt/odoo099/addons/runbot/runbot.py", line 444, in cron
    self.update(cr, uid, ids, context=context)
  File "/opt/odoo099/openerp/api.py", line 250, in wrapper
    return old_api(self, *args, **kwargs)
  File "/opt/odoo099/addons/runbot/runbot.py", line 276, in update
    self.update_git(cr, uid, repo)
  File "/opt/odoo099/openerp/api.py", line 250, in wrapper
    return old_api(self, *args, **kwargs)
  File "/opt/odoo099/addons/runbot/runbot.py", line 300, in update_git
    repo.git(['fetch', '-p', 'origin', '+refs/heads/*:refs/heads/*'])
  File "/opt/odoo099/openerp/api.py", line 248, in wrapper
    return new_api(self, *args, **kwargs)
  File "/opt/odoo099/openerp/api.py", line 574, in new_api
    result = method(self._model, cr, uid, self.ids, *args, **old_kwargs)
  File "/opt/odoo099/addons/runbot/runbot.py", line 238, in git
    return subprocess.check_output(cmd)
  File "/usr/lib/python2.7/subprocess.py", line 573, in check_output
    raise CalledProcessError(retcode, cmd, output=output)
CalledProcessError: Command '['git', u'--git-dir=/opt/odoo099/addons/runbot/static/repo/git_gitlab.com_fauzi2_Tes_runbot.git', 'fetch', '-p', 'origin', '+refs/heads/*:refs/heads/*']' returned non-zero exit status 128

Communiy addons part 2 - PR to community repositories

(This is continue of PR closed: #8)

@odony,
This is a real case:
runbot odoo - pr 3

Example of my case:
repositories - openerp - vauxoo new runbot
(Note: Im using local git branch for test. Migration to github WIP)

Instance old runbot with many community branches:
runbot vauxoo com-chuck_norris html - runbot vauxoo

MP to community branches:
runbot vauxoo com-chuck_norris html - dependens to old runbot vauxoo
Note: This case is you decision make a build or not, but the configuration is done for test it.

@bwrsandman What's your opinion?
I can generate changes for this feature, I just want to know if it really adds value to the community
Or am I wrong?

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.