Git Product home page Git Product logo

vauxoo / addons-vauxoo Goto Github PK

View Code? Open in Web Editor NEW
193.0 61.0 287.0 100.57 MB

All our modules related to developments that solves generic issues on Odoo, or that solve internal problems on Odoo Core, if something is here, maybe it is solving an issue in your company, try it and report what you see.

Home Page: http://www.vauxoo.com

Shell 0.61% Python 79.29% JavaScript 5.31% SCSS 0.32% HTML 14.47%
odoo python vauxoo

addons-vauxoo's Introduction

Vauxoo Logo

Runbot Status GitHub Actions Build Status

Vauxoo modules for Odoo

On this project we try to mantain all our generic modules that can be used as little extensions of odoo.

If a module is here frequently is because such need comply a very specific need of a customer and we considered such feature is generic enought to share on this repository.

The combination of several of this modules compliment other projects like odoo-mexico, odoo-venezuela, odoo-ifrs, odoo-afr look on our github page for such repositories and the utilities where this modules are used.

Repositories which we depend from.

Read the oca_dependencies.txt file for more information. TODO:

Python Libraries which we depend from.

Read the requirements.txt file for more information.

Do you want to contribute?

Read the way.

#Better go with Vauxoo

addons-vauxoo's People

Contributors

ajqn9094 avatar allanpa88 avatar carmenmiranda avatar carralc avatar claurelb avatar deivislaya avatar hugho-ad avatar jesusvaldez96 avatar julioserna avatar jvegab avatar keylor2906 avatar luisg123v avatar moylop260 avatar nhomar avatar r4alex avatar randall-vx avatar rolandojduartem avatar suniagajose avatar teposteaj avatar xmglord 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

addons-vauxoo's Issues

[TRAVIS] Check SQA in some points.

Hello.

We are checking pylint (good) then I think we should manage a second step of validation:

  1. All openerp.py should not have description use README.md instead.
  2. All modules should have at least the base index.html one time we merge the elements.
  3. Run a server with addons-vauxoo declared (just run it installing base to avoid errors running with the declaration of the repository).
  4. Using rst2html verify the consistency of the readme file.

warehouse_interim_receipt: test is failling

2015-11-02 03:40:54,662 213 INFO openerp_test openerp.addons.warehouse_interim_receipt.tests.test_warehouse_receipt: ======================================================================
2015-11-02 03:40:54,662 213 ERROR openerp_test openerp.addons.warehouse_interim_receipt.tests.test_warehouse_receipt: ERROR: test_04 (openerp.addons.warehouse_interim_receipt.tests.test_warehouse_receipt.TestWarehouseReceipt)
2015-11-02 03:40:54,662 213 ERROR openerp_test openerp.addons.warehouse_interim_receipt.tests.test_warehouse_receipt: ` Wizard Warehouse Receipt Input
2015-11-02 03:40:54,662 213 ERROR openerp_test openerp.addons.warehouse_interim_receipt.tests.test_warehouse_receipt: Traceback (most recent call last):
2015-11-02 03:40:54,662 213 ERROR openerp_test openerp.addons.warehouse_interim_receipt.tests.test_warehouse_receipt: `   File "/root/build/Vauxoo/yoytec/warehouse_interim_receipt/tests/test_warehouse_receipt.py", line 192, in test_04
2015-11-02 03:40:54,662 213 ERROR openerp_test openerp.addons.warehouse_interim_receipt.tests.test_warehouse_receipt: `     order = self.create_po_and_validate()
2015-11-02 03:40:54,663 213 ERROR openerp_test openerp.addons.warehouse_interim_receipt.tests.test_warehouse_receipt: `   File "/root/build/Vauxoo/yoytec/warehouse_interim_receipt/tests/test_warehouse_receipt.py", line 160, in create_po_and_validate
2015-11-02 03:40:54,663 213 ERROR openerp_test openerp.addons.warehouse_interim_receipt.tests.test_warehouse_receipt: `     self.create_pol(order, self.product)
2015-11-02 03:40:54,663 213 ERROR openerp_test openerp.addons.warehouse_interim_receipt.tests.test_warehouse_receipt: `   File "/root/build/Vauxoo/yoytec/warehouse_interim_receipt/tests/test_warehouse_receipt.py", line 180, in create_pol
2015-11-02 03:40:54,663 213 ERROR openerp_test openerp.addons.warehouse_interim_receipt.tests.test_warehouse_receipt: `     'date_planned': time.strftime('%Y-%m-%d')
2015-11-02 03:40:54,663 213 ERROR openerp_test openerp.addons.warehouse_interim_receipt.tests.test_warehouse_receipt: `   File "/root/odoo-8.0/openerp/api.py", line 239, in wrapper
2015-11-02 03:40:54,663 213 ERROR openerp_test openerp.addons.warehouse_interim_receipt.tests.test_warehouse_receipt: `     return new_api(self, *args, **kwargs)
2015-11-02 03:40:54,663 213 ERROR openerp_test openerp.addons.warehouse_interim_receipt.tests.test_warehouse_receipt: `   File "/root/odoo-8.0/openerp/api.py", line 547, in new_api
2015-11-02 03:40:54,663 213 ERROR openerp_test openerp.addons.warehouse_interim_receipt.tests.test_warehouse_receipt: `     result = method(self._model, cr, uid, self.ids, *args, **kwargs)
2015-11-02 03:40:54,663 213 ERROR openerp_test openerp.addons.warehouse_interim_receipt.tests.test_warehouse_receipt: `   File "/root/odoo-8.0/addons/mail/mail_thread.py", line 432, in write
2015-11-02 03:40:54,663 213 ERROR openerp_test openerp.addons.warehouse_interim_receipt.tests.test_warehouse_receipt: `     result = super(mail_thread, self).write(cr, uid, ids, values, context=context)
2015-11-02 03:40:54,663 213 ERROR openerp_test openerp.addons.warehouse_interim_receipt.tests.test_warehouse_receipt: `   File "/root/odoo-8.0/openerp/api.py", line 241, in wrapper
2015-11-02 03:40:54,663 213 ERROR openerp_test openerp.addons.warehouse_interim_receipt.tests.test_warehouse_receipt: `     return old_api(self, *args, **kwargs)
2015-11-02 03:40:54,663 213 ERROR openerp_test openerp.addons.warehouse_interim_receipt.tests.test_warehouse_receipt: `   File "/root/odoo-8.0/openerp/api.py", line 363, in old_api
2015-11-02 03:40:54,663 213 ERROR openerp_test openerp.addons.warehouse_interim_receipt.tests.test_warehouse_receipt: `     result = method(recs, *args, **kwargs)
2015-11-02 03:40:54,663 213 ERROR openerp_test openerp.addons.warehouse_interim_receipt.tests.test_warehouse_receipt: `   File "/root/odoo-8.0/openerp/models.py", line 3778, in write
2015-11-02 03:40:54,663 213 ERROR openerp_test openerp.addons.warehouse_interim_receipt.tests.test_warehouse_receipt: `     self._write(old_vals)
2015-11-02 03:40:54,663 213 ERROR openerp_test openerp.addons.warehouse_interim_receipt.tests.test_warehouse_receipt: `   File "/root/odoo-8.0/openerp/api.py", line 239, in wrapper
2015-11-02 03:40:54,663 213 ERROR openerp_test openerp.addons.warehouse_interim_receipt.tests.test_warehouse_receipt: `     return new_api(self, *args, **kwargs)
2015-11-02 03:40:54,663 213 ERROR openerp_test openerp.addons.warehouse_interim_receipt.tests.test_warehouse_receipt: `   File "/root/odoo-8.0/openerp/api.py", line 547, in new_api
2015-11-02 03:40:54,663 213 ERROR openerp_test openerp.addons.warehouse_interim_receipt.tests.test_warehouse_receipt: `     result = method(self._model, cr, uid, self.ids, *args, **kwargs)
2015-11-02 03:40:54,663 213 ERROR openerp_test openerp.addons.warehouse_interim_receipt.tests.test_warehouse_receipt: `   File "/root/odoo-8.0/openerp/models.py", line 3949, in _write
2015-11-02 03:40:54,663 213 ERROR openerp_test openerp.addons.warehouse_interim_receipt.tests.test_warehouse_receipt: `     recs._validate_fields(vals)
2015-11-02 03:40:54,664 213 ERROR openerp_test openerp.addons.warehouse_interim_receipt.tests.test_warehouse_receipt: `   File "/root/odoo-8.0/openerp/api.py", line 239, in wrapper
2015-11-02 03:40:54,664 213 ERROR openerp_test openerp.addons.warehouse_interim_receipt.tests.test_warehouse_receipt: `     return new_api(self, *args, **kwargs)
2015-11-02 03:40:54,664 213 ERROR openerp_test openerp.addons.warehouse_interim_receipt.tests.test_warehouse_receipt: `   File "/root/odoo-8.0/openerp/models.py", line 1277, in _validate_fields
2015-11-02 03:40:54,664 213 ERROR openerp_test openerp.addons.warehouse_interim_receipt.tests.test_warehouse_receipt: `     check(self)
2015-11-02 03:40:54,664 213 ERROR openerp_test openerp.addons.warehouse_interim_receipt.tests.test_warehouse_receipt: `   File "/root/odoo-8.0/openerp/api.py", line 239, in wrapper
2015-11-02 03:40:54,664 213 ERROR openerp_test openerp.addons.warehouse_interim_receipt.tests.test_warehouse_receipt: `     return new_api(self, *args, **kwargs)
2015-11-02 03:40:54,664 213 ERROR openerp_test openerp.addons.warehouse_interim_receipt.tests.test_warehouse_receipt: `   File "/root/odoo-8.0/openerp/api.py", line 398, in new_api
2015-11-02 03:40:54,664 213 ERROR openerp_test openerp.addons.warehouse_interim_receipt.tests.test_warehouse_receipt: `     result = [method(rec, *args, **kwargs) for rec in self]
2015-11-02 03:40:54,664 213 ERROR openerp_test openerp.addons.warehouse_interim_receipt.tests.test_warehouse_receipt: `   File "/root/addons-vauxoo/purchase_order_line_sequence/model/purchase.py", line 47, in _check_order_lines_sequence
2015-11-02 03:40:54,664 213 ERROR openerp_test openerp.addons.warehouse_interim_receipt.tests.test_warehouse_receipt: `     str(sequences))
2015-11-02 03:40:54,664 213 ERROR openerp_test openerp.addons.warehouse_interim_receipt.tests.test_warehouse_receipt: ` ValidationError: ('ValidateError', 'The sequence must be unique per purchase order!.\nThe next sequence numbers are already used:\n[1]')

purchase_supplier - Server error - invalid field "product_id"...

Odoo Server Error

Traceback (most recent call last):
File "/opt/odoo/openerp/http.py", line 530, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/opt/odoo/openerp/http.py", line 567, in dispatch
result = self._call_function(*_self.params)
File "/opt/odoo/openerp/http.py", line 303, 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 300, in checked_call
return self.endpoint(_a, *_kw)
File "/opt/odoo/openerp/http.py", line 796, in call
return self.method(_args, *_kw)
File "/opt/odoo/openerp/http.py", line 396, in response_wrap
response = f(_args, *_kw)
File "/opt/odoo/addons/web/controllers/main.py", line 946, in exec_workflow
return request.session.exec_workflow(model, id, signal)
File "/opt/odoo/openerp/http.py", line 1101, in exec_workflow
r = self.proxy('object').exec_workflow(self.db, self.uid, self.password, model, signal, id)
File "/opt/odoo/openerp/http.py", line 872, in proxy_method
result = dispatch_rpc(self.service_name, method, args)
File "/opt/odoo/openerp/http.py", line 114, in dispatch_rpc
result = dispatch(method, params)
File "/opt/odoo/openerp/service/model.py", line 37, in dispatch
res = fn(db, uid, _params)
File "/opt/odoo/openerp/service/model.py", line 113, in wrapper
return f(dbname, *args, *_kwargs)
File "/opt/odoo/openerp/service/model.py", line 183, in exec_workflow
return exec_workflow_cr(cr, uid, obj, signal, _args)
File "/opt/odoo/openerp/service/model.py", line 177, in exec_workflow_cr
return execute_cr(cr, uid, obj, 'signal_workflow', [res_id], signal)[res_id]
File "/opt/odoo/openerp/service/model.py", line 159, in execute_cr
return getattr(object, method)(cr, uid, *args, *_kw)
File "/opt/odoo/openerp/api.py", line 241, in wrapper
return old_api(self, _args, *_kwargs)
File "/opt/odoo/openerp/models.py", line 3539, in signal_workflow
result[res_id] = workflow.trg_validate(uid, self._name, res_id, signal, cr)
File "/opt/odoo/openerp/workflow/init.py", line 85, in trg_validate
return WorkflowService.new(cr, uid, res_type, res_id).validate(signal)
File "/opt/odoo/openerp/workflow/service.py", line 91, in validate
res2 = wi.validate(signal)
File "/opt/odoo/openerp/workflow/instance.py", line 75, in validate
wi.process(signal=signal, force_running=force_running, stack=stack)
File "/opt/odoo/openerp/workflow/workitem.py", line 120, in process
ok = self._split_test(activity['split_mode'], signal, stack)
File "/opt/odoo/openerp/workflow/workitem.py", line 248, in _split_test
self._join_test(t[0], t[1], stack)
File "/opt/odoo/openerp/workflow/workitem.py", line 257, in _join_test
WorkflowItem.create(self.session, self.record, activity, inst_id, stack=stack)
File "/opt/odoo/openerp/workflow/workitem.py", line 95, in create
workflow_item.process(stack=stack)
File "/opt/odoo/openerp/workflow/workitem.py", line 116, in process
if not self._execute(activity, stack):
File "/opt/odoo/openerp/workflow/workitem.py", line 162, in _execute
returned_action = self.wkf_expr_execute(activity)
File "/opt/odoo/openerp/workflow/workitem.py", line 313, in wkf_expr_execute
return self.wkf_expr_eval_expr(activity['action'])
File "/opt/odoo/openerp/workflow/workitem.py", line 291, in wkf_expr_eval_expr
result = eval(line, env, nocopy=True)
File "/opt/odoo/openerp/tools/safe_eval.py", line 314, in safe_eval
return eval(c, globals_dict, locals_dict)
File "", line 1, in
File "/opt/odoo/openerp/api.py", line 239, in wrapper
return new_api(self, _args, *_kwargs)
File "/opt/odoo/openerp/api.py", line 546, in new_api
result = method(self._model, cr, uid, self.ids, _args, *_kwargs)
File "/opt/addons/purchase_supplier/purchase.py", line 48, in wkf_confirm_order
('name', '=', partner_id)]):
File "/opt/odoo/openerp/api.py", line 241, in wrapper
return old_api(self, _args, *_kwargs)
File "/opt/odoo/openerp/models.py", line 1639, in search
return self._search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count)
File "/opt/odoo/openerp/api.py", line 241, in wrapper
return old_api(self, _args, *_kwargs)
File "/opt/odoo/openerp/models.py", line 4617, in _search
query = self._where_calc(cr, user, args, context=context)
File "/opt/odoo/openerp/api.py", line 241, in wrapper
return old_api(self, _args, *_kwargs)
File "/opt/odoo/openerp/models.py", line 4440, in _where_calc
e = expression.expression(cr, user, domain, self, context)
File "/opt/odoo/openerp/osv/expression.py", line 646, in init
self.parse(cr, uid, context=context)
File "/opt/odoo/openerp/osv/expression.py", line 812, in parse
raise ValueError("Invalid field %r in leaf %r" % (left, str(leaf)))
ValueError: "Invalid field 'product_id' in leaf "osv.ExtendedLeaf: ('product_id', '=', 1793) on product_supplierinfo (ctx: )"" while evaluating
u'wkf_confirm_order()'

Typo on website

There are two typos on vauxoo website

sytems must be replace to systems
should be systems

And the other is at the sign in buttons
it should be "Sign in With..."

Fix error in view at account_bank_statement_vauxoo

Cannot install this module. Missing name attribute of the view definition

<record id="bank_statement_imported_lines_action" model="ir.actions.act_window">

            <field name="res_model">bank.statement.imported.lines</field>
            <field name="view_type">form</field>
            <field name="view_mode">tree,form,search</field>
        </record>

here source

NOTE: This error was found checking the update of the translate fields propuse in PR #391

Next is a copy of the server log with the error
This error was introduce in a v7 migration, the name attribute line was deleted, only need to parital revert this commit f0d5b8e.

Exception during JSON request handling.
Traceback (most recent call last):
  File "/home/runbot/instance/extra_addons/odoo-extra/runbot/static/build/08508-391-8-0-om/openerp/http.py", line 537, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/home/runbot/instance/extra_addons/odoo-extra/runbot/static/build/08508-391-8-0-om/openerp/http.py", line 574, in dispatch
    result = self._call_function(**self.params)
  File "/home/runbot/instance/extra_addons/odoo-extra/runbot/static/build/08508-391-8-0-om/openerp/http.py", line 310, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/home/runbot/instance/extra_addons/odoo-extra/runbot/static/build/08508-391-8-0-om/openerp/service/model.py", line 113, in wrapper
    return f(dbname, *args, **kwargs)
  File "/home/runbot/instance/extra_addons/odoo-extra/runbot/static/build/08508-391-8-0-om/openerp/http.py", line 307, in checked_call
    return self.endpoint(*a, **kw)
  File "/home/runbot/instance/extra_addons/odoo-extra/runbot/static/build/08508-391-8-0-om/openerp/http.py", line 803, in __call__
    return self.method(*args, **kw)
  File "/home/runbot/instance/extra_addons/odoo-extra/runbot/static/build/08508-391-8-0-om/openerp/http.py", line 403, in response_wrap
    response = f(*args, **kw)
  File "/home/runbot/instance/extra_addons/odoo-extra/runbot/static/build/08508-391-8-0-om/openerp/addons/web/controllers/main.py", line 948, in call_button
    action = self._call_kw(model, method, args, {})
  File "/home/runbot/instance/extra_addons/odoo-extra/runbot/static/build/08508-391-8-0-om/openerp/addons/web/controllers/main.py", line 936, in _call_kw
    return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
  File "/home/runbot/instance/extra_addons/odoo-extra/runbot/static/build/08508-391-8-0-om/openerp/api.py", line 241, in wrapper
    return old_api(self, *args, **kwargs)
  File "/home/runbot/instance/extra_addons/odoo-extra/runbot/static/build/08508-391-8-0-om/openerp/addons/base/module/module.py", line 446, in button_immediate_install
    return self._button_immediate_function(cr, uid, ids, self.button_install, context=context)
  File "/home/runbot/instance/extra_addons/odoo-extra/runbot/static/build/08508-391-8-0-om/openerp/api.py", line 241, in wrapper
    return old_api(self, *args, **kwargs)
  File "/home/runbot/instance/extra_addons/odoo-extra/runbot/static/build/08508-391-8-0-om/openerp/addons/base/module/module.py", line 494, in _button_immediate_function
    registry = openerp.modules.registry.RegistryManager.new(cr.dbname, update_module=True)
  File "/home/runbot/instance/extra_addons/odoo-extra/runbot/static/build/08508-391-8-0-om/openerp/modules/registry.py", line 370, in new
    openerp.modules.load_modules(registry._db, force_demo, status, update_module)
  File "/home/runbot/instance/extra_addons/odoo-extra/runbot/static/build/08508-391-8-0-om/openerp/modules/loading.py", line 355, in load_modules
    loaded_modules, update_module)
  File "/home/runbot/instance/extra_addons/odoo-extra/runbot/static/build/08508-391-8-0-om/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 "/home/runbot/instance/extra_addons/odoo-extra/runbot/static/build/08508-391-8-0-om/openerp/modules/loading.py", line 176, in load_module_graph
    _load_data(cr, module_name, idref, mode, kind='data')
  File "/home/runbot/instance/extra_addons/odoo-extra/runbot/static/build/08508-391-8-0-om/openerp/modules/loading.py", line 118, in _load_data
    tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report)
  File "/home/runbot/instance/extra_addons/odoo-extra/runbot/static/build/08508-391-8-0-om/openerp/tools/convert.py", line 901, in convert_file
    convert_xml_import(cr, module, fp, idref, mode, noupdate, report)
  File "/home/runbot/instance/extra_addons/odoo-extra/runbot/static/build/08508-391-8-0-om/openerp/tools/convert.py", line 987, in convert_xml_import
    obj.parse(doc.getroot(), mode=mode)
  File "/home/runbot/instance/extra_addons/odoo-extra/runbot/static/build/08508-391-8-0-om/openerp/tools/convert.py", line 853, in parse
    self._tags[rec.tag](self.cr, rec, n, mode=mode)
  File "/home/runbot/instance/extra_addons/odoo-extra/runbot/static/build/08508-391-8-0-om/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 "/home/runbot/instance/extra_addons/odoo-extra/runbot/static/build/08508-391-8-0-om/openerp/api.py", line 241, in wrapper
    return old_api(self, *args, **kwargs)
  File "/home/runbot/instance/extra_addons/odoo-extra/runbot/static/build/08508-391-8-0-om/openerp/addons/base/ir/ir_model.py", line 1077, in _update
    res_id = model_obj.create(cr, uid, values, context=context)
  File "/home/runbot/instance/extra_addons/odoo-extra/runbot/static/build/08508-391-8-0-om/openerp/api.py", line 241, in wrapper
    return old_api(self, *args, **kwargs)
  File "/home/runbot/instance/extra_addons/odoo-extra/runbot/static/build/08508-391-8-0-om/openerp/api.py", line 336, in old_api
    result = method(recs, *args, **kwargs)
  File "/home/runbot/instance/extra_addons/odoo-extra/runbot/static/build/08508-391-8-0-om/openerp/models.py", line 4076, in create
    record = self.browse(self._create(old_vals))
  File "/home/runbot/instance/extra_addons/odoo-extra/runbot/static/build/08508-391-8-0-om/openerp/api.py", line 239, in wrapper
    return new_api(self, *args, **kwargs)
  File "/home/runbot/instance/extra_addons/odoo-extra/runbot/static/build/08508-391-8-0-om/openerp/api.py", line 463, in new_api
    result = method(self._model, cr, uid, *args, **kwargs)
  File "/home/runbot/instance/extra_addons/odoo-extra/runbot/static/build/08508-391-8-0-om/openerp/models.py", line 4214, in _create
    tuple([u[2] for u in updates if len(u) > 2])
  File "/home/runbot/instance/extra_addons/odoo-extra/runbot/static/build/08508-391-8-0-om/openerp/sql_db.py", line 158, in wrapper
    return f(self, *args, **kwargs)
  File "/home/runbot/instance/extra_addons/odoo-extra/runbot/static/build/08508-391-8-0-om/openerp/sql_db.py", line 234, in execute
    res = self._obj.execute(query, params)
ParseError: "null value in column "name" violates not-null constraint
DETAIL:  Failing row contains (511, 1, 2015-08-03 15:50:54.477875, null, 1, 2015-08-03 15:50:54.477875, null, ir.actions.act_window, null, null, bank.statement.imported.lines, null, form, null, null, 0, tree,form,search, f, current, t, null, f, 80, {}).
" while parsing /home/runbot/instance/extra_addons/odoo-extra/runbot/static/build/08508-391-8-0-om/openerp/addons/account_bank_statement_vauxoo/view/account_bank_statement_view.xml:166, near
<record id="bank_statement_imported_lines_action" model="ir.actions.act_window">

            <field name="res_model">bank.statement.imported.lines</field>
            <field name="view_type">form</field>
            <field name="view_mode">tree,form,search</field>
        </record>

[7.0] syntaxis error in three modules

I executed
replace_import.py 7.0-addons-vauxoo all

And I saw syntaxis error in next files:

account_return_allowance/model/product.py
openerp_print/pyPdf/generic.py
report_profit/invoice.py
report_profit/product.py
report_profit/unit_analisys.py

[IMP] warehouse_interim_receipt module: Warehouse Receipt Input wizard filter by location

module: warehouse_interim_receipt
version: 8.0.1.0.0

Current Behavior

  • Go to Reporting / Warehouse / Warehouse Receipt Input and run wizard.
  • Show me all the move lines

Expected Behavior

  • Expect to filter only the moves lines form Supplier location to Input location.

TODO

I need that the warehouse receipt input wizard manage a source/destination location to filter the result move lines. This to ensure that the retrieved moves are really the ones for input operations.

In theory we want to filter (by default) from Supplier Location (Source) to Input Location (Destination).
For be a generic module the default source/destination location of this wizard could be defined in a the stock settings wizard.

  • add location_id field to the whr input wizard
  • add location_dest_id field to the whr input wizard
  • update whr input wizard to take into account location_id and location_dest_id when they are defined.

Delete an incorrect and also redundant translation file in account_chart_wiz_dates module.

The module account_chart_wiz_dates have an unnecessary i18n/en.po file.
The en.po file should be a a english translation but is really a translation to spanish.
The use of this file is incorrect and also redundant because the pot file figure as the english transtalation.
Please delete this file.

Also need to update the es.po file. I check between en.po and es.po file and some translate terms from en.po can be move to es.po.

Best Regards.

NOTE: This bug was found reviewing the PR #391

ProgrammingError: relation "account_invoice_report" does not exist

Hi, to report problem that I have

Impacted versions:

  • Odoo 8.0-20150703
    • Ubuntu server 14.04

Steps to reproduce:

  1. Installed module Invoice Date Time
  2. Invoice shows date and time now
  3. Click on sales error shows
  4. Cannot add new clients or see old ones
  5. Unistalling module and reinstalling sales module fixes problem

Current behavior:

  • Invoice shows date and time but sales module does not work

Expected behavior:

  • Sales module should work and date and time on invoice should be on invoice

Error:

Odoo Server Error
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 537, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 574, in dispatch
result = self._call_function(*_self.params)
File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 310, in _call_function
return checked_call(self.db, *args, *_kwargs)
File "/usr/lib/python2.7/dist-packages/openerp/service/model.py", line 113, in wrapper
return f(dbname, _args, *_kwargs)
File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 307, in checked_call
return self.endpoint(_a, *_kw)
File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 803, in call
return self.method(_args, *_kw)
File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 403, in response_wrap
response = f(_args, *_kw)
File "/usr/lib/python2.7/dist-packages/openerp/addons/web/controllers/main.py", line 884, in search_read
return self.do_search_read(model, fields, offset, limit, domain, sort)
File "/usr/lib/python2.7/dist-packages/openerp/addons/web/controllers/main.py", line 905, in do_search_read
request.context)
File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 908, in proxy
result = meth(cr, request.uid, _args, *_kw)
File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 241, in wrapper
return old_api(self, _args, *_kwargs)
File "/usr/lib/python2.7/dist-packages/openerp/models.py", line 5144, in search_read
result = self.read(cr, uid, record_ids, fields, context=read_ctx)
File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 241, in wrapper
return old_api(self, _args, *_kwargs)
File "/usr/lib/python2.7/dist-packages/openerp/models.py", line 3139, in read
result = BaseModel.read(records, fields, load=load)
File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 239, in wrapper
return new_api(self, _args, *_kwargs)
File "/usr/lib/python2.7/dist-packages/openerp/models.py", line 3174, in read
self._read_from_database(stored, inherited)
File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 239, in wrapper
return new_api(self, _args, *_kwargs)
File "/usr/lib/python2.7/dist-packages/openerp/models.py", line 3352, in _read_from_database
res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result)
File "/usr/lib/python2.7/dist-packages/openerp/osv/fields.py", line 1466, in get
result = self._fnct(obj, cr, uid, ids, name, self._arg, context)
File "/usr/lib/python2.7/dist-packages/openerp/addons/sale/sales_team.py", line 39, in _get_invoices_data
values = self.__get_bar_values(cr, uid, obj, created_domain, ['price_total', 'date'], 'price_total', 'date', context=context)
File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 241, in wrapper
return old_api(self, _args, *_kwargs)
File "/usr/lib/python2.7/dist-packages/openerp/addons/sales_team/sales_team.py", line 58, in __get_bar_values
group_obj = obj.read_group(cr, uid, domain, read_fields, groupby_field, context=context)
File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 241, in wrapper
return old_api(self, _args, *_kwargs)
File "/usr/lib/python2.7/dist-packages/openerp/models.py", line 2140, in read_group
cr.execute(query, where_clause_params)
File "/usr/lib/python2.7/dist-packages/openerp/sql_db.py", line 158, in wrapper
return f(self, _args, *_kwargs)
File "/usr/lib/python2.7/dist-packages/openerp/sql_db.py", line 234, in execute
res = self._obj.execute(query, params)
ProgrammingError: relation "account_invoice_report" does not exist
LINE 3: FROM "account_invoice_report"
^

How to fix this?

Thanks

duplicate-xml-record-id in user_story_long_term and user_story modules

PYTHONPATH=./pylint_oca pylint --load-plugins=pylint_oca --rcfile='./pylint-conf/conf/pylint_vauxoo_light.cfg' -d all -e odoolint --disable=all -e W7902,E7902 addons-vauxoo

************* Module addons-vauxoo.user_story
user_story/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id user_story.usp_hard
user_story/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id user_story.group_user_story_manager
************* Module addons-vauxoo.user_story_long_term
user_story_long_term/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id user_story_long_term.act_draft
user_story_long_term/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id user_story_long_term.t0

Clean repository from not odoo modules

The next directory list are folders in this repo that are not odoo modules and must be moved to a properly branch.

This folders are data folders, scripts and patch folders.

  • account_voucher_exchange_rate_patch
  • import_data_with_ids
  • mrp_bom_fix_date
  • mrp_fix_decimal_production
  • partner_credit_limit
  • product_catalog_m321
  • sale_mrp_patch

[question] website_product_availability

I'm testing jshint (javascript linter, in package node) to integrate in our QA process but I don't know if is a good tool:

I share you the output with next file:
website_sale.js

./website_product_availability/static/src/js/website_sale.js: line 140, col 18, Don't make functions within a loop.
./website_product_availability/static/src/js/website_sale.js: line 147, col 52, Missing semicolon.
./website_product_availability/static/src/js/website_sale.js: line 148, col 43, Missing semicolon.
./website_product_availability/static/src/js/website_sale.js: line 149, col 66, Missing semicolon.
./website_product_availability/static/src/js/website_sale.js: line 150, col 69, Missing semicolon.
./website_product_availability/static/src/js/website_sale.js: line 154, col 51, Missing semicolon.
./website_product_availability/static/src/js/website_sale.js: line 155, col 47, Missing semicolon.
./website_product_availability/static/src/js/website_sale.js: line 156, col 63, Missing semicolon.
./website_product_availability/static/src/js/website_sale.js: line 157, col 72, Missing semicolon.
./website_product_availability/static/src/js/website_sale.js: line 161, col 52, Missing semicolon.
./website_product_availability/static/src/js/website_sale.js: line 162, col 50, Missing semicolon.
./website_product_availability/static/src/js/website_sale.js: line 163, col 66, Missing semicolon.
./website_product_availability/static/src/js/website_sale.js: line 164, col 69, Missing semicolon.
./website_product_availability/static/src/js/website_sale.js: line 168, col 52, Missing semicolon.
./website_product_availability/static/src/js/website_sale.js: line 169, col 44, Missing semicolon.
./website_product_availability/static/src/js/website_sale.js: line 170, col 66, Missing semicolon.
./website_product_availability/static/src/js/website_sale.js: line 171, col 69, Missing semicolon.

What is your opinion?

[8.0] website_product_availability: The model location.quants has no access rules

CI-log of customer that use this module:

2015-08-08 07:27:18,980 240 �[1;32m�[1;49mINFO�[0m openerp_test openerp.tests.common: phantomjs: Tour 'shop_buy_product' Step: 'select ipod' (906ms)
2015-08-08 07:27:19,393 240 �[1;33m�[1;49mWARNING�[0m openerp_test openerp.addons.base.ir.ir_model: Access Denied by ACLs for operation: read, uid: 4, model: location.quants
2015-08-08 07:27:19,408 240 �[1;33m�[1;49mWARNING�[0m openerp_test openerp.addons.base.ir.ir_model: Access Denied by ACLs for operation: read, uid: 4, model: location.quants
2015-08-08 07:27:19,414 240 �[1;33m�[1;49mWARNING�[0m openerp_test openerp.addons.website.models.ir_http: 403 Forbidden:

Traceback (most recent call last):
  File "/root/odoo-8.0/addons/website/models/ir_http.py", line 199, in _handle_exception
    response = super(ir_http, self)._handle_exception(exception)
  File "/root/odoo-8.0/openerp/addons/base/ir/ir_http.py", line 147, in _handle_exception
    return request._handle_exception(exception)
  File "/root/odoo-8.0/openerp/http.py", line 666, in _handle_exception
    return super(HttpRequest, self)._handle_exception(exception)
  File "/root/odoo-8.0/openerp/http.py", line 1368, in get_response
    result.flatten()
  File "/root/odoo-8.0/openerp/http.py", line 1241, in flatten
    self.response.append(self.render())
  File "/root/odoo-8.0/openerp/http.py", line 1235, in render
    context=request.context)
  File "/root/odoo-8.0/openerp/api.py", line 241, in wrapper
    return old_api(self, *args, **kwargs)
  File "/root/odoo-8.0/addons/website/models/ir_ui_view.py", line 172, in render
    return super(view, self).render(cr, uid, id_or_xml_id, values=values, engine=engine, context=context)
  File "/root/odoo-8.0/openerp/api.py", line 241, in wrapper
    return old_api(self, *args, **kwargs)
  File "/root/odoo-8.0/openerp/addons/base/ir/ir_ui_view.py", line 1026, in render
    return self.pool[engine].render(cr, uid, id_or_xml_id, qcontext, loader=loader, context=context)
  File "/root/odoo-8.0/openerp/api.py", line 241, in wrapper
    return old_api(self, *args, **kwargs)
  File "/root/odoo-8.0/openerp/addons/base/ir/ir_qweb.py", line 261, in render
    return self.render_node(self.get_template(id_or_xml_id, qwebcontext), qwebcontext)
  File "/root/odoo-8.0/openerp/addons/base/ir/ir_qweb.py", line 300, in render_node
    result = self.render_element(element, template_attributes, generated_attributes, qwebcontext)
  File "/root/odoo-8.0/openerp/addons/base/ir/ir_qweb.py", line 321, in render_element
    g_inner.append(self.render_node(current_node, qwebcontext))
  File "/root/odoo-8.0/openerp/addons/base/ir/ir_qweb.py", line 298, in render_node
    result = self._render_tag[t_render](self, element, template_attributes, generated_attributes, qwebcontext)
  File "/root/odoo-8.0/openerp/addons/base/ir/ir_qweb.py", line 436, in render_tag_call
    d[0] = self.render_element(element, template_attributes, generated_attributes, d)
  File "/root/odoo-8.0/openerp/addons/base/ir/ir_qweb.py", line 321, in render_element
    g_inner.append(self.render_node(current_node, qwebcontext))
  File "/root/odoo-8.0/openerp/addons/base/ir/ir_qweb.py", line 300, in render_node
    result = self.render_element(element, template_attributes, generated_attributes, qwebcontext)
  File "/root/odoo-8.0/openerp/addons/base/ir/ir_qweb.py", line 321, in render_element
    g_inner.append(self.render_node(current_node, qwebcontext))
  File "/root/odoo-8.0/openerp/addons/base/ir/ir_qweb.py", line 300, in render_node
    result = self.render_element(element, template_attributes, generated_attributes, qwebcontext)
  File "/root/odoo-8.0/openerp/addons/base/ir/ir_qweb.py", line 321, in render_element
    g_inner.append(self.render_node(current_node, qwebcontext))
  File "/root/odoo-8.0/openerp/addons/base/ir/ir_qweb.py", line 300, in render_node
    result = self.render_element(element, template_attributes, generated_attributes, qwebcontext)
  File "/root/odoo-8.0/openerp/addons/base/ir/ir_qweb.py", line 321, in render_element
    g_inner.append(self.render_node(current_node, qwebcontext))
  File "/root/odoo-8.0/openerp/addons/base/ir/ir_qweb.py", line 300, in render_node
    result = self.render_element(element, template_attributes, generated_attributes, qwebcontext)
  File "/root/odoo-8.0/openerp/addons/base/ir/ir_qweb.py", line 321, in render_element
    g_inner.append(self.render_node(current_node, qwebcontext))
  File "/root/odoo-8.0/openerp/addons/base/ir/ir_qweb.py", line 298, in render_node
    result = self._render_tag[t_render](self, element, template_attributes, generated_attributes, qwebcontext)
  File "/root/odoo-8.0/openerp/addons/base/ir/ir_qweb.py", line 430, in render_tag_if
    if self.eval_bool(template_attributes["if"], qwebcontext):
  File "/root/odoo-8.0/openerp/addons/base/ir/ir_qweb.py", line 236, in eval_bool
    return int(bool(self.eval(expr, qwebcontext)))
  File "/root/odoo-8.0/openerp/addons/base/ir/ir_qweb.py", line 205, in eval
    raise_qweb_exception(message="Could not evaluate expression %r" % expr, expression=expr, template=template)
  File "/root/odoo-8.0/openerp/addons/base/ir/ir_qweb.py", line 202, in eval
    return qwebcontext.safe_eval(expr)
  File "/root/odoo-8.0/openerp/addons/base/ir/ir_qweb.py", line 88, in safe_eval
    return eval(expr, None, locals_dict, nocopy=True, locals_builtins=True)
  File "/root/odoo-8.0/openerp/tools/safe_eval.py", line 314, in safe_eval
    return eval(c, globals_dict, locals_dict)
  File "", line 1, in <module>
  File "/root/odoo-8.0/openerp/fields.py", line 823, in __get__
    return record._cache[self]
  File "/root/odoo-8.0/openerp/models.py", line 5933, in __getitem__
    return value.get() if isinstance(value, SpecialValue) else value
  File "/root/odoo-8.0/openerp/fields.py", line 55, in get
    raise self.exception
QWebException: ('AccessError', u'Sorry, you are not allowed to access this document. Please contact your system administrator if you think this is an error.\n\n(Document model: location.quants)')

2015-08-08 07:27:19,498 240 �[1;32m�[1;49mINFO�[0m openerp_test werkzeug: 127.0.0.1 - - [08/Aug/2015 07:27:19] "GET /shop/product/ipod-13 HTTP/1.1" 403 -
...
2015-08-08 07:26:27,020 240 �[1;33m�[1;49mWARNING�[0m openerp_test openerp.modules.loading: The model location.quants has no access rules, consider adding one. E.g. access_location_quants,access_location_quants,model_location_quants,,1,0,0,0

[7.0] 'purchase_requisition_for_everybody' - Incorrect security rule

In file 'ir.model.access' the security access "access_ir_filter employee" will remove to the employee the permission to delete a filter. Unfortunately this restriction will not only apply to purchase requisitions, but to all objects systemwide.

I will submit a PR with the correction.

website_product_filter error

I think that a dependency is missing
The error is:
Error details:
Modelo no encontrado: product.price.ranges

Error de contexto:
Vista product.price.ranges.form
[view_id: 1060, xml_id: n/a, model: product.price.ranges, parent_id: n/a]" while parsing /opt/openerp/other-addons/website_product_filters/views/product_price_ranges_view.xml:4, near

product.price.ranges.form
product.price.ranges






'pop' not supported on frozendict | Debit Credit Note

Hello,

I am getting this error on "Refund Invoice".

File "/opt/odoo/odoo-server/openerp/api.py", line 241, in wrapper
return old_api(self, _args, *_kwargs)
File "/opt/odoo/custom/addons/debit_credit_note/wizard/account_invoice_refund.py", line 57, in fields_view_get
context.pop('form_view_ref', None)
File "/opt/odoo/odoo-server/openerp/tools/misc.py", line 1275, in pop
raise NotImplementedError("'pop' not supported on frozendict")
NotImplementedError: 'pop' not supported on frozendict

Error en Reintegrar Factura con account_voucher_tax instalado en el sistema

Hola...

Hemos estado realizando pruebas de Reintegros de Facturas y hemos notado que cuando tenemos instalado el módulo de "account_voucher_tax" no nos permite reintegrar la factura, en cambio cuando no lo tenemos instalado sí nos permite hacerlo. Las dos formas de reintegro con las que hemos notado los problemas son con "Saldar: crea la Nota de Crédito y concilia" y con "Modificar: crea la Nota de Crédito, concilia y crea una nueva Factura borrador".

Este es el error que nos arroja:

Server Traceback (most recent call last):
File "/home/jesusmeza/odoo/7.0/server/modules/web/session.py", line 89, in send
return openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/home/jesusmeza/odoo/7.0/server/openerp/netsvc.py", line 296, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/home/jesusmeza/odoo/7.0/server/openerp/service/web_services.py", line 632, in dispatch
res = fn(db, uid, _params)
File "/home/jesusmeza/odoo/7.0/server/openerp/osv/osv.py", line 190, in execute_kw
return self.execute(db, uid, obj, method, *args, *_kw or {})
File "/home/jesusmeza/odoo/7.0/server/openerp/osv/osv.py", line 132, in wrapper
return f(self, dbname, _args, *_kwargs)
File "/home/jesusmeza/odoo/7.0/server/openerp/osv/osv.py", line 199, in execute
res = self.execute_cr(cr, uid, obj, method, _args, *_kw)
File "/home/jesusmeza/odoo/7.0/server/openerp/osv/osv.py", line 187, in execute_cr
return getattr(object, method)(cr, uid, _args, *_kw)
File "/home/jesusmeza/odoo/7.0/server/modules/account/wizard/account_invoice_refund.py", line 232, in invoice_refund
return self.compute_refund(cr, uid, ids, data_refund, context=context)
File "/home/jesusmeza/odoo/7.0/server/modules/account/wizard/account_invoice_refund.py", line 183, in compute_refund
writeoff_acc_id=inv.account_id.id
File "/home/jesusmeza/odoo/7.0/server/modules/account_voucher_tax/account_voucher.py", line 588, in reconcile
if context.get('apply_round', False):
AttributeError: 'NoneType' object has no attribute 'get'

Además esta es la pantalla donde se manda reintegrar la Factura:

captura de pantalla de 2015-02-06 17 07 40

Si se requiere de más información, estaré disponible a través del email.

Saludos =)

Module 'product_do_merge' will not work when module 'delivery' is installed

Dear Vauxoo team,

We have identified that the module 'product_do_merge' will not be able to merge two products when the module 'delivery' is installed.

The root cause of this issue is that the module 'delivery' adds deliverately the unit of measure 'kg' in stock moves, and this UoM does not necessarily have to be in the same category as the product.

As you know, your module will raise an error message if it detects a UoM in any object that refers to a product, that is not in the same UoM category.

Since this weight UoM added to stock moves is really dummy (Kg by default, with no possibility to change), we have added a module that will default this field weight unit to blank in stock moves.
https://github.com/Eficent/eficent-odoo-addons/tree/7.0/delivery_no_weight_unit

Once you install this module and make an update SQL query to delete all data from this field in the database, it will be possible to merge products.

I'm not sure if you have had this issue before, and perhaps you know a better way to approach this, but this is what we've done.

Regards,
Jordi.

Delete invoice_date_time module

This module is not used anymore and there.
There is a second module named invoice_datetime that is currently in use.
Due to this fact, this module will be deleted to avoid confusion.

Best Regards.

8.0 website_variants_extra: bug installing feature

@nhomar
Dude I think I have a problem with this module
2015-06-15 19:34:18,770 28701 ERROR yoytec openerp.addons.base.ir.ir_ui_view: Element '' cannot be located in parent view

Error context:
View Variants with description
[view_id: 1630, xml_id: website_variants_extra.product_variants_description, model: n/a, parent_id: 1495]
2015-06-15 19:34:18,771 28701 ERROR yoytec openerp.addons.website.models.ir_http: 500 Internal Server Error:

Traceback (most recent call last):
File "/Users/oalca/inst/vx/yoytec/odoo/addons/website/models/ir_http.py", line 199, in _handle_exception
response = super(ir_http, self)._handle_exception(exception)
File "/Users/oalca/inst/vx/yoytec/odoo/openerp/addons/base/ir/ir_http.py", line 147, in _handle_exception
return request._handle_exception(exception)
File "/Users/oalca/inst/vx/yoytec/odoo/openerp/http.py", line 665, in _handle_exception
return super(HttpRequest, self)._handle_exception(exception)
File "/Users/oalca/inst/vx/yoytec/odoo/openerp/http.py", line 1367, in get_response
result.flatten()
File "/Users/oalca/inst/vx/yoytec/odoo/openerp/http.py", line 1240, in flatten
self.response.append(self.render())
File "/Users/oalca/inst/vx/yoytec/odoo/openerp/http.py", line 1234, in render
context=request.context)
File "/Users/oalca/inst/vx/yoytec/odoo/openerp/api.py", line 241, in wrapper
return old_api(self, _args, *_kwargs)
File "/Users/oalca/inst/vx/yoytec/odoo/addons/website/models/ir_ui_view.py", line 172, in render
return super(view, self).render(cr, uid, id_or_xml_id, values=values, engine=engine, context=context)
File "/Users/oalca/inst/vx/yoytec/odoo/openerp/api.py", line 241, in wrapper
return old_api(self, _args, *_kwargs)
File "/Users/oalca/inst/vx/yoytec/odoo/openerp/addons/base/ir/ir_ui_view.py", line 1029, in render
return self.pool[engine].render(cr, uid, id_or_xml_id, qcontext, loader=loader, context=context)
File "/Users/oalca/inst/vx/yoytec/odoo/openerp/api.py", line 241, in wrapper
return old_api(self, _args, *_kwargs)
File "/Users/oalca/inst/vx/yoytec/odoo/openerp/addons/base/ir/ir_qweb.py", line 261, in render
return self.render_node(self.get_template(id_or_xml_id, qwebcontext), qwebcontext)
File "/Users/oalca/inst/vx/yoytec/odoo/openerp/addons/base/ir/ir_qweb.py", line 190, in get_template
xml_doc = qwebcontext.loader(name)
File "/Users/oalca/inst/vx/yoytec/odoo/openerp/addons/base/ir/ir_ui_view.py", line 1027, in loader
return self.read_template(cr, uid, name, context=context)
File "/Users/oalca/inst/vx/yoytec/odoo/openerp/api.py", line 241, in wrapper
return old_api(self, _args, *_kwargs)
File "", line 2, in read_template
File "/Users/oalca/inst/vx/yoytec/odoo/openerp/tools/cache.py", line 122, in lookup
value = d[key] = self.method(_args, *_kwargs)
File "/Users/oalca/inst/vx/yoytec/odoo/openerp/addons/base/ir/ir_ui_view.py", line 859, in read_template
arch = self.read_combined(cr, uid, view_id, fields=['arch'], context=context)['arch']
File "/Users/oalca/inst/vx/yoytec/odoo/openerp/api.py", line 241, in wrapper
return old_api(self, _args, *_kwargs)
File "/Users/oalca/inst/vx/yoytec/odoo/openerp/addons/base/ir/ir_ui_view.py", line 553, in read_combined
cr, uid, arch_tree, root_id, base.model, context=context)
File "/Users/oalca/inst/vx/yoytec/odoo/openerp/api.py", line 241, in wrapper
return old_api(self, _args, *_kwargs)
File "/Users/oalca/inst/vx/yoytec/odoo/openerp/addons/base/ir/ir_ui_view.py", line 506, in apply_view_inheritance
source = self.apply_inheritance_specs(cr, uid, source, specs_tree, view_id, context=context)
File "/Users/oalca/inst/vx/yoytec/odoo/openerp/api.py", line 241, in wrapper
return old_api(self, _args, *_kwargs)
File "/Users/oalca/inst/vx/yoytec/odoo/openerp/addons/base/ir/ir_ui_view.py", line 484, in apply_inheritance_specs
self.raise_view_error(cr, uid, _("Element '%s' cannot be located in parent view") % tag, inherit_id, context=context)
File "/Users/oalca/inst/vx/yoytec/odoo/openerp/api.py", line 241, in wrapper
return old_api(self, _args, *_kwargs)
File "/Users/oalca/inst/vx/yoytec/odoo/openerp/addons/base/ir/ir_ui_view.py", line 369, in raise_view_error
raise AttributeError(message)
AttributeError: Element '' cannot be located in parent view

Error context:
View Variants with description
[view_id: 1630, xml_id: website_variants_extra.product_variants_description, model: n/a, parent_id: 1495]

its ok to install it or not?

Short dump when creating the payment with advance payment module installed

Hi,

I was testing this module that adds the possibility to add another account for advance deposit when creating a supplier payment. This part works fine.

The problem comes when I try to pay the invoice. I went to the menu supplier invoice, created the invoice and pressed the button pay. I had the short dump as below.

Regards
eva P.

Traceback (most recent call last):
File "/opt/openerp/odoo/openerp/http.py", line 530, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/opt/openerp/odoo/openerp/http.py", line 567, in dispatch
result = self._call_function(*_self.params)
File "/opt/openerp/odoo/openerp/http.py", line 303, in _call_function
return checked_call(self.db, *args, *_kwargs)
File "/opt/openerp/odoo/openerp/service/model.py", line 113, in wrapper
return f(dbname, _args, *_kwargs)
File "/opt/openerp/odoo/openerp/http.py", line 300, in checked_call
return self.endpoint(_a, *_kw)
File "/opt/openerp/odoo/openerp/http.py", line 796, in call
return self.method(_args, *_kw)
File "/opt/openerp/odoo/openerp/http.py", line 396, in response_wrap
response = f(_args, *_kw)
File "/opt/openerp/odoo/addons/web/controllers/main.py", line 949, in call_kw
return self._call_kw(model, method, args, kwargs)
File "/opt/openerp/odoo/addons/web/controllers/main.py", line 941, in _call_kw
return getattr(request.registry.get(model), method)(request.cr, request.uid, _args, *_kwargs)
File "/opt/openerp/odoo/openerp/api.py", line 241, in wrapper
return old_api(self, _args, *_kwargs)
File "/opt/openerp/odoo/openerp/api.py", line 363, in old_api
result = method(recs, _args, *_kwargs)
File "/opt/openerp/odoo/openerp/models.py", line 5844, in onchange
record._onchange_eval(name, field_onchange[name], result)
File "/opt/openerp/odoo/openerp/models.py", line 5762, in _onchange_eval
method_res = getattr(self._model, method)(_args)
File "/opt/openerp/odoo/openerp/api.py", line 241, in wrapper
return old_api(self, *args, *_kwargs)
File "/opt/openerp/xpn-addons/vauxoo/account_advance_payment/model/account_voucher.py", line 62, in onchange_partner_id
res['value']['advance_account_id'] = advance_account_id
KeyError: 'value'

[8.0] hr_timesheet_reports: "WARNING email.template.create() with unknown fields: email_recipients"

2015-11-18 20:17:05,988 117 INFO openerp_test openerp.modules.module: module hr_timesheet_reports: creating or updating database tables
2015-11-18 20:17:06,195 117 INFO openerp_test openerp.modules.loading: loading hr_timesheet_reports/report/layout.xml
2015-11-18 20:17:06,589 117 INFO openerp_test openerp.modules.loading: loading hr_timesheet_reports/report/timesheet_template.xml
2015-11-18 20:17:06,889 117 INFO openerp_test openerp.modules.loading: loading hr_timesheet_reports/model/hr_timesheet_reports_view.xml
2015-11-18 20:17:07,095 117 INFO openerp_test openerp.modules.loading: loading hr_timesheet_reports/model/hr_timesheet_reports_email.xml
2015-11-18 20:17:07,105 117 WARNING openerp_test openerp.models: email.template.create() with unknown fields: email_recipients

Set the right user group to this button in stock inventory

We need to create a new module called stock_dont_fuck_inventory which will make the job shown bellow.

The original view for stock.inventory view has this line.

<button name="reset_real_qty" states="confirm" string="⇒ Set quantities to 0" type="object" class="oe_link oe_right" groups="stock.group_stock_user"/>

Should say

<button name="reset_real_qty" confirm='URGENT ALERT:  You will set all your lines to 0, It can not be undone. Are you sure ' states="confirm" string="⇒ Set quantities to 0" type="object" class="oe_link oe_right" groups="stock_dont_fuck_inventory.master_user"/>

where stock_dont_fuck_inventory will be a new module.

Rename module account_invoice_number

As part of this repo refactor we found account_invoice_number

{
    "name": "Account Invoice Number v7", 
    "version": "1.5", 
    "author": "Vauxoo",

source here

This module human redeable namw indicae is a v7 module. After a consult with vauxoo team we found out this module is used in v7 and also v8.

The task is to rename this module to prevent confusion in the odoo apps and our regular users

website_product_availability License issue

when present in Odoo 8 instance, causes:
"ValueError: Wrong value for ir.module.module.license: 'LGPL-3'"

Should this be just for Odoo 9?.
Should I remove it from Odoo 8?

Unable to install stock_shipping_packaging on V8

Hi Nomar,

We have an issue when trying to install the stock_shipping_packaging on V8 :

Traceback (most recent call last):
File "/home/mboldireff/odoo/test/git/odoo/openerp/http.py", line 508, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/home/mboldireff/odoo/test/git/odoo/openerp/http.py", line 526, in dispatch
result = self._call_function(*_self.params)
File "/home/mboldireff/odoo/test/git/odoo/openerp/http.py", line 285, in _call_function
return checked_call(self.db, *args, *_kwargs)
File "/home/mboldireff/odoo/test/git/odoo/openerp/service/model.py", line 113, in wrapper
return f(dbname, _args, *_kwargs)
File "/home/mboldireff/odoo/test/git/odoo/openerp/http.py", line 282, in checked_call
return self.endpoint(_a, *_kw)
File "/home/mboldireff/odoo/test/git/odoo/openerp/http.py", line 742, in call
return self.method(_args, *_kw)
File "/home/mboldireff/odoo/test/git/odoo/openerp/http.py", line 378, in response_wrap
response = f(_args, *_kw)
File "/home/mboldireff/odoo/test/git/odoo/addons/web/controllers/main.py", line 949, in call_kw
return self._call_kw(model, method, args, kwargs)
File "/home/mboldireff/odoo/test/git/odoo/addons/web/controllers/main.py", line 932, in _call_kw
records = getattr(request.session.model(model), method)(_args, *_kwargs)
File "/home/mboldireff/odoo/test/git/odoo/openerp/http.py", line 844, in proxy
result = meth(cr, request.uid, _args, *_kw)
File "/home/mboldireff/odoo/test/git/odoo/openerp/api.py", line 237, in wrapper
return old_api(self, _args, *_kwargs)
File "/home/mboldireff/odoo/test/git/odoo/openerp/models.py", line 3078, in read
result = BaseModel.read(records, fields, load=load)
File "/home/mboldireff/odoo/test/git/odoo/openerp/api.py", line 235, in wrapper
return new_api(self, _args, *_kwargs)
File "/home/mboldireff/odoo/test/git/odoo/openerp/models.py", line 3110, in read
self._read_from_database(stored)
File "/home/mboldireff/odoo/test/git/odoo/openerp/api.py", line 235, in wrapper
return new_api(self, _args, *_kwargs)
File "/home/mboldireff/odoo/test/git/odoo/openerp/models.py", line 3274, in _read_from_database
res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result)
File "/home/mboldireff/odoo/test/git/odoo/openerp/osv/fields.py", line 1356, in get
result = self._fnct(obj, cr, uid, ids, name, self._arg, context)
File "/home/mboldireff/odoo/test/git/odoo/openerp/addons/base/module/module.py", line 174, in _get_desc
html = lxml.html.document_fromstring(doc)
File "/home/mboldireff/odoo/test/git/sfl/tools/eggs/lxml-3.4.2-py2.7-linux-x86_64.egg/lxml/html/init.py", line 613, in document_fromstring
value = etree.fromstring(html, parser, **kw)
File "lxml.etree.pyx", line 3094, in lxml.etree.fromstring (src/lxml/lxml.etree.c:70505)
File "parser.pxi", line 1828, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:106339)
File "parser.pxi", line 1716, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:105130)
File "parser.pxi", line 1086, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:99812)
File "parser.pxi", line 580, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:94286)
File "parser.pxi", line 690, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:95722)
File "parser.pxi", line 631, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:95001)
XMLSyntaxError: None

Thanks in advance for your help.

Regards,

Mat (Savoir-faire Linux)

[8.0] user_story: "AssertionError: [] is not True : The message was not created"

In build 8.0 of instance of runbot show next traceback

2015-11-18 15:46:21,479 117 ERROR openerp_test openerp.addons.user_story.tests.test_user_story: FAIL
2015-11-18 15:46:21,480 117 INFO openerp_test openerp.addons.user_story.tests.test_user_story: test_approve_button (openerp.addons.user_story.tests.test_user_story.TestUserStory)
2015-11-18 15:46:22,672 117 INFO openerp_test openerp.addons.user_story.tests.test_user_story: test_copy_method (openerp.addons.user_story.tests.test_user_story.TestUserStory)
2015-11-18 15:46:23,667 117 INFO openerp_test openerp.addons.user_story.tests.test_user_story: test_create_method (openerp.addons.user_story.tests.test_user_story.TestUserStory)
2015-11-18 15:46:24,509 117 INFO openerp_test openerp.addons.user_story.tests.test_user_story: test_unlink_method (openerp.addons.user_story.tests.test_user_story.TestUserStory)
2015-11-18 15:46:25,524 117 INFO openerp_test openerp.addons.user_story.tests.test_user_story: test_write_method (openerp.addons.user_story.tests.test_user_story.TestUserStory)
2015-11-18 15:46:26,517 117 INFO openerp_test openerp.addons.user_story.tests.test_user_story: ======================================================================
2015-11-18 15:46:26,518 117 ERROR openerp_test openerp.addons.user_story.tests.test_user_story: FAIL: test_acceptability_criterial_buttons (openerp.addons.user_story.tests.test_user_story.TestUserStory)
2015-11-18 15:46:26,518 117 ERROR openerp_test openerp.addons.user_story.tests.test_user_story: Traceback (most recent call last):
2015-11-18 15:46:26,518 117 ERROR openerp_test openerp.addons.user_story.tests.test_user_story: `   File "/root/odoo-8.0/openerp/tools/misc.py", line 1139, in deco
2015-11-18 15:46:26,518 117 ERROR openerp_test openerp.addons.user_story.tests.test_user_story: `     return func(*args, **kwargs)
2015-11-18 15:46:26,518 117 ERROR openerp_test openerp.addons.user_story.tests.test_user_story: `   File "/root/addons-vauxoo/user_story/tests/test_user_story.py", line 251, in test_acceptability_criterial_buttons
2015-11-18 15:46:26,518 117 ERROR openerp_test openerp.addons.user_story.tests.test_user_story: `     self.assertTrue(m_id, "The message was not created")
2015-11-18 15:46:26,518 117 ERROR openerp_test openerp.addons.user_story.tests.test_user_story: ` AssertionError: [] is not True : The message was not created
2015-11-18 15:46:26,518 117 INFO openerp_test openerp.addons.user_story.tests.test_user_story: Ran 6 tests in 6.949s
2015-11-18 15:46:26,519 117 ERROR openerp_test openerp.addons.user_story.tests.test_user_story: FAILED
2015-11-18 15:46:26,519 117 INFO openerp_test openerp.addons.user_story.tests.test_user_story:  (failures=1)
2015-11-18 15:46:26,519 117 INFO openerp_test openerp.modules.module: openerp.addons.user_story.tests.test_user_story tested in 6.95s, 5221 queries
2015-11-18 15:46:26,519 117 ERROR openerp_test openerp.modules.module: Module user_story: 1 failures, 0 errors

Unable to uninstall, get an error

Odoo 8.0, trying to install stock_picking_cancel

Odoo Server Error

Traceback (most recent call last):
File "/home/odoo/openerp/http.py", line 525, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/home/odoo/openerp/http.py", line 562, in dispatch
result = self._call_function(*_self.params)
File "/home/odoo/openerp/http.py", line 302, in _call_function
return checked_call(self.db, *args, *_kwargs)
File "/home/odoo/openerp/service/model.py", line 113, in wrapper
return f(dbname, _args, *_kwargs)
File "/home/odoo/openerp/http.py", line 299, in checked_call
return self.endpoint(_a, *_kw)
File "/home/odoo/openerp/http.py", line 791, in call
return self.method(_args, *_kw)
File "/home/odoo/openerp/http.py", line 395, in response_wrap
response = f(_args, *_kw)
File "/home/odoo/addons/web/controllers/main.py", line 953, in call_button
action = self._call_kw(model, method, args, {})
File "/home/odoo/addons/web/controllers/main.py", line 941, in _call_kw
return getattr(request.registry.get(model), method)(request.cr, request.uid, _args, *_kwargs)
File "/home/odoo/openerp/api.py", line 241, in wrapper
return old_api(self, _args, *_kwargs)
File "/home/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 "/home/odoo/openerp/api.py", line 241, in wrapper
return old_api(self, _args, *_kwargs)
File "/home/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 "/home/odoo/openerp/modules/registry.py", line 346, in new
openerp.modules.load_modules(registry._db, force_demo, status, update_module)
File "/home/odoo/openerp/modules/loading.py", line 363, in load_modules
loaded_modules, update_module)
File "/home/odoo/openerp/modules/loading.py", line 263, in load_marked_modules
loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
File "/home/odoo/openerp/modules/loading.py", line 158, in load_module_graph
models = registry.load(cr, package)
File "/home/odoo/openerp/modules/registry.py", line 148, in load
model = cls._build_model(self, cr)
File "/home/odoo/openerp/models.py", line 595, in _build_model
original_module = pool[name]._original_module if name in parents else cls._module
File "/home/odoo/openerp/modules/registry.py", line 101, in getitem
return self.models[model_name]
KeyError: 'stock.picking.in'

Your module Stock_view_product does'nt work

Just after click on INSTALL getting an error:
Odoo Server Error
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 530, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 567, in dispatch
result = self._call_function(*_self.params)
File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 303, in _call_function
return checked_call(self.db, *args, *_kwargs)
File "/usr/lib/python2.7/dist-packages/openerp/service/model.py", line 113, in wrapper
return f(dbname, _args, *_kwargs)
File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 300, in checked_call
return self.endpoint(_a, *_kw)
File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 796, in call
return self.method(_args, *_kw)
File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 396, in response_wrap
response = f(_args, *_kw)
File "/usr/lib/python2.7/dist-packages/openerp/addons/web/controllers/main.py", line 953, in call_button
action = self._call_kw(model, method, args, {})
File "/usr/lib/python2.7/dist-packages/openerp/addons/web/controllers/main.py", line 941, in _call_kw
return getattr(request.registry.get(model), method)(request.cr, request.uid, _args, *_kwargs)
File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 241, in wrapper
return old_api(self, _args, *_kwargs)
File "/usr/lib/python2.7/dist-packages/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 "/usr/lib/python2.7/dist-packages/openerp/api.py", line 241, in wrapper
return old_api(self, _args, *_kwargs)
File "/usr/lib/python2.7/dist-packages/openerp/addons/base/module/module.py", line 498, in _button_immediate_function
registry = openerp.modules.registry.RegistryManager.new(cr.dbname, update_module=True)
File "/usr/lib/python2.7/dist-packages/openerp/modules/registry.py", line 366, in new
openerp.modules.load_modules(registry._db, force_demo, status, update_module)
File "/usr/lib/python2.7/dist-packages/openerp/modules/loading.py", line 355, in load_modules
loaded_modules, update_module)
File "/usr/lib/python2.7/dist-packages/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 "/usr/lib/python2.7/dist-packages/openerp/modules/loading.py", line 176, in load_module_graph
_load_data(cr, module_name, idref, mode, kind='data')
File "/usr/lib/python2.7/dist-packages/openerp/modules/loading.py", line 118, in _load_data
tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report)
File "/usr/lib/python2.7/dist-packages/openerp/tools/convert.py", line 901, in convert_file
convert_xml_import(cr, module, fp, idref, mode, noupdate, report)
File "/usr/lib/python2.7/dist-packages/openerp/tools/convert.py", line 987, in convert_xml_import
obj.parse(doc.getroot(), mode=mode)
File "/usr/lib/python2.7/dist-packages/openerp/tools/convert.py", line 853, in parse
self._tags[rec.tag](self.cr, rec, n, mode=mode)
File "/usr/lib/python2.7/dist-packages/openerp/tools/convert.py", line 755, in _tag_record
f_val = self.id_get(cr, f_ref)
File "/usr/lib/python2.7/dist-packages/openerp/tools/convert.py", line 832, in id_get
res = self.model_id_get(cr, id_str, raise_if_not_found)
File "/usr/lib/python2.7/dist-packages/openerp/tools/convert.py", line 843, in model_id_get
raise_if_not_found=raise_if_not_found)
File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 241, in wrapper
return old_api(self, _args, *_kwargs)
File "/usr/lib/python2.7/dist-packages/openerp/addons/base/ir/ir_model.py", line 932, in xmlid_to_res_model_res_id
return self.xmlid_lookup(cr, uid, xmlid)[1:3]
File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 241, in wrapper
return old_api(self, _args, *_kwargs)
File "", line 2, in xmlid_lookup
File "/usr/lib/python2.7/dist-packages/openerp/tools/cache.py", line 71, in lookup
value = d[key] = self.method(_args, *_kwargs)
File "/usr/lib/python2.7/dist-packages/openerp/addons/base/ir/ir_model.py", line 922, in xmlid_lookup
raise ValueError('External ID not found in the system: %s' % (xmlid))
ParseError: "External ID not found in the system: stock.view_move_tree_reception_picking_board" while parsing /usr/lib/python2.7/dist-packages/openerp/addons/stock_view_product/stock_product.xml:5, near

view.stock.move.tree.inherit
stock.move










Any suggestions ?

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.