odoo / odoo Goto Github PK
View Code? Open in Web Editor NEWOdoo. Open Source Apps To Grow Your Business.
Home Page: https://www.odoo.com
License: Other
Odoo. Open Source Apps To Grow Your Business.
Home Page: https://www.odoo.com
License: Other
Easy-Fix-Hint
Trunk
n/a
In many urisdictions some tax items refer to the invoice total either for aplicability or for calculation.
Try to code python type taxes refering to any sort of invoice items
&
Can code python taxes depending on the base amount as a barrier for a certain tax to apply.
items of the invoice ar not accessible. Would have to change sourcecode locally. Might be related to the fact, that taxes can be included in the base amount of another tax and therefore would such funcionality be autoreferring.
In version 8.0alpha it's no module Project Long Term.
In version 8.0dev-20140416 this module exist.
why not quickcopy something like
https://github.com/ansible/ansible/blob/devel/CONTRIBUTING.md
to give people like me better orientation
Remarks: It shows automatically on top when entering a new issue. Would be a valuable hint!
I also like the issue template to copy: https://raw2.github.com/ansible/ansible/devel/examples/issues/ISSUE_TEMPLATE.md
I like the idea, to provide an entire ecosystem. That's great reducing management costs.
I hope the goal is to compete with industry standards. Askbot still might be the better choice. It is hard to copy years of experience.
Feature badly missing:
Traceback (most recent call last):
File "/home/aa/odoo/odoo/openerp/http.py", line 478, in dispatch
result = self._call_function(*_self.params)
File "/home/aa/odoo/odoo/openerp/http.py", line 296, in _call_function
return checked_call(self.db, *args, *_kwargs)
File "/home/aa/odoo/odoo/openerp/service/model.py", line 113, in wrapper
return f(dbname, _args, *_kwargs)
File "/home/aa/odoo/odoo/openerp/http.py", line 293, in checked_call
return self.endpoint(_a, *_kw)
File "/home/aa/odoo/odoo/openerp/http.py", line 659, in call
return self.method(_args, *_kw)
File "/home/aa/odoo/odoo/openerp/http.py", line 345, in response_wrap
response = f(_args, *_kw)
File "/home/aa/odoo/odoo/addons/web/controllers/main.py", line 1347, in load
action = request.session.model(action_type).read([action_id], False, ctx)
File "/home/aa/odoo/odoo/openerp/http.py", line 747, in proxy
result = meth(cr, request.uid, _args, *_kw)
File "/home/aa/odoo/odoo/openerp/addons/base/ir/ir_actions.py", line 307, in read
results = super(ir_actions_act_window, self).read(cr, uid, ids, fields=fields, context=context, load=load)
File "/home/aa/odoo/odoo/openerp/osv/orm.py", line 3347, in read
result = self._read_flat(cr, user, select, fields, context, load)
File "/home/aa/odoo/odoo/openerp/osv/orm.py", line 3463, in _read_flat
res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res)
File "/home/aa/odoo/odoo/openerp/osv/fields.py", line 1264, in get
result = self._fnct(obj, cr, uid, ids, name, self._arg, context)
File "/home/aa/odoo/odoo/openerp/addons/base/ir/ir_actions.py", line 246, in _search_view
field_get = self.pool[act.res_model].fields_view_get(cr, uid,
File "/home/aa/odoo/odoo/openerp/modules/registry.py", line 106, in getitem
return self.models[model_name]
KeyError: u'sale.order'
Usability Bug
Version 7.0-20130922-231028
N/A.
Searching for an account from the dropdown "Search more..." entry expects you to know all your accounts and their structure. This is not sane. Routing would be required.
Visual routing by the account structure, which usually is defind by VIEW-Account-Types.
Optional recommended: Make a future corresponding filter a default.
Optional 2: Add functionality to get such a structure in beautifully leightweight flavor already on dropdown.
Rephrased: When clicking on filter parent account: include view-type accounts.
Only can filter for:
2014-05-17 19:34:24,272 13169 INFO ? openerp: database hostname: localhost
2014-05-17 19:34:24,272 13169 INFO ? openerp: database port: 5432
2014-05-17 19:34:24,272 13169 INFO ? openerp: database user: aa
2014-05-17 19:34:24,273 13169 WARNING ? openerp.modules.module: module web: module not found
2014-05-17 19:34:24,273 13169 CRITICAL ? openerp.modules.module: Couldn't load module web
2014-05-17 19:34:24,273 13169 CRITICAL ? openerp.modules.module: No module named web
2014-05-17 19:34:24,274 13169 ERROR ? openerp.service.server: Failed to load server-wide module web
.
The web
module is provided by the addons found in the openerp-web
project.
Maybe you forgot to add those addons in your addons_path configuration.
Traceback (most recent call last):
File "/home/aa/odoo/odoo/openerp/service/server.py", line 835, in load_server_wide_modules
openerp.modules.module.load_openerp_module(m)
File "/home/aa/odoo/odoo/openerp/modules/module.py", line 266, in load_openerp_module
import('openerp.addons.' + module_name)
File "/home/aa/odoo/odoo/openerp/modules/module.py", line 71, in load_module
f, path, descr = imp.find_module(module_part, ad_paths)
ImportError: No module named web
2014-05-17 19:34:24,275 13169 WARNING ? openerp.modules.module: module web_kanban: module not found
2014-05-17 19:34:24,275 13169 CRITICAL ? openerp.modules.module: Couldn't load module web_kanban
2014-05-17 19:34:24,275 13169 CRITICAL ? openerp.modules.module: No module named web_kanban
2014-05-17 19:34:24,276 13169 ERROR ? openerp.service.server: Failed to load server-wide module web_kanban
.
Traceback (most recent call last):
File "/home/aa/odoo/odoo/openerp/service/server.py", line 835, in load_server_wide_modules
openerp.modules.module.load_openerp_module(m)
File "/home/aa/odoo/odoo/openerp/modules/module.py", line 266, in load_openerp_module
import('openerp.addons.' + module_name)
File "/home/aa/odoo/odoo/openerp/modules/module.py", line 71, in load_module
f, path, descr = imp.find_module(module_part, ad_paths)
ImportError: No module named web_kanban
Traceback (most recent call last):
File "/home/aa/odoo/odoo/openerp/http.py", line 478, in dispatch
result = self._call_function(*_self.params)
File "/home/aa/odoo/odoo/openerp/http.py", line 296, in _call_function
return checked_call(self.db, *args, *_kwargs)
File "/home/aa/odoo/odoo/openerp/service/model.py", line 113, in wrapper
return f(dbname, _args, *_kwargs)
File "/home/aa/odoo/odoo/openerp/http.py", line 293, in checked_call
return self.endpoint(_a, *_kw)
File "/home/aa/odoo/odoo/openerp/http.py", line 659, in call
return self.method(_args, *_kw)
File "/home/aa/odoo/odoo/openerp/http.py", line 345, in response_wrap
response = f(_args, *_kw)
File "/home/aa/odoo/odoo/addons/web/controllers/main.py", line 1046, in call_kw
return self._call_kw(model, method, args, kwargs)
File "/home/aa/odoo/odoo/addons/web/controllers/main.py", line 1038, in _call_kw
return getattr(request.registry.get(model), method)(request.cr, request.uid, _args, *_kwargs)
File "/home/aa/odoo/odoo/openerp/addons/base/res/res_partner.py", line 329, in fields_view_get
res = super(res_partner,self).fields_view_get(cr, user, view_id, view_type, context, toolbar=toolbar, submenu=submenu)
File "/home/aa/odoo/odoo/addons/mail/mail_thread.py", line 340, in fields_view_get
res = super(mail_thread, self).fields_view_get(cr, uid, view_id=view_id, view_type=view_type, context=context, toolbar=toolbar, submenu=submenu)
File "/home/aa/odoo/odoo/openerp/osv/orm.py", line 1886, in fields_view_get
xarch, xfields = View.postprocess_and_fields(cr, uid, self._name, etree.fromstring(result['arch']), view_id, context=ctx)
File "/home/aa/odoo/odoo/openerp/addons/base/ir/ir_ui_view.py", line 746, in postprocess_and_fields
self.raise_view_error(cr, user, message, view_id, context)
File "/home/aa/odoo/odoo/openerp/addons/base/ir/ir_ui_view.py", line 313, in raise_view_error
raise AttributeError(message)
AttributeError: Field sale_order_count
does not exist
Error context:
View res.partner.kanban
[view_id: 129, xml_id: base.res_partner_kanban_view, model: res.partner, parent_id: n/a]
Are there known issues? I can't import any existing users from a csv file, employees aren't working too. After adding the .csv File nothing happens...tried other browsers, but won't work.
I can import this csv to an older v7.0 installation. So the format should be ok.
Let me drop a feature request
Adopt a global reach / performance strategy
... for significant performance improvments in continents other than Europe or North America.
Issues:
...currently faced out of Bogotá, Colombia.
Final remarks:
I think there is a strategic fit to page 53 in http://www.slideshare.net/openobject/the-future-of-openerp-open-days-2013-keynote-presentation-fabien-pinckaers-ceo-openerp
Maybe this ideas could lead to a new local caching mechnism for the webapp to lower traffic and add (limited) offline capacities (backlogging?) - i think connectivity as a whole is a huge topic in dev countries. (Regular Outages with local generators, Internet breakdowns, etc.)
@nhomar, any similar experience in mx, vz, pe, cl?
When trying to import the same previously exported csv in Version 8.0dev-20140416-230101
I get this stderr:
File "/usr/share/pyshared/openerp/addons/base/ir/ir_http.py", line 89, in _han
dle_exception
return request._handle_exception(exception)
File "/usr/share/pyshared/openerp/addons/base/ir/ir_http.py", line 116, in _di
spatch
result = request.dispatch()
File "/usr/share/pyshared/openerp/http.py", line 537, in dispatch
r = self._call_function(**self.params)
File "/usr/share/pyshared/openerp/http.py", line 294, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/usr/share/pyshared/openerp/service/model.py", line 113, in wrapper
return f(dbname, *args, **kwargs)
File "/usr/share/pyshared/openerp/http.py", line 291, in checked_call
return self.endpoint(*a, **kw)
File "/usr/share/pyshared/openerp/http.py", line 638, in __call__
return self.method(*args, **kw)
File "/usr/share/pyshared/openerp/http.py", line 337, in response_wrap
response = f(*args, **kw)
TypeError: set_file() takes at least 4 arguments (4 given)
The same happens with other import attemps (eg. from V7)
Debian/Ubuntu
Add the the apt repository
Bug on tax config
Trunk
WHen tax type "none", then an error occurs when calculating an invocie with this tax.
Define a tax with "none", define children on that tax as for example percentage"
Set up an invoce which contains this tax and calculate.
Would leave out calculation of the parent tax and directly aply chicld taxes.
File "/opt/odoo/odoo-server/addons/account/account.py", line 2072, in _unit_compute
r['amount'] = data['amount']
KeyError: 'amount'
Hi all,
I recently tested point_of_sale + pos_box solution that is very good. But recently, it doesn't work, due to the removal of shop concept in odoo.
The file addons/point_of_sale/static/src/xml/pos.xml make reference to the shop.name, and so there is an unmanaged error.
We have to remove the obsolete shop reference in this file.
Let me drop a feature request
Out-of-the-Box VMs & Docker-VEs
... for newcomer-developers to kick in and start developing.
Layout suggestion:
...available as VMs or Docker-VEs, each.
- An optional no-trace-guest
- A Odoo-Server-guest
- A DB-Server-guest
Suggested Technologies:
The provision of all these should be done by well commented ansible playbooks, which are easy to grasp, leave absolutely no trace on provisioned machine, can be used for custom rebuilds and help in a roll-out scenario as the upcoming industry standard for provisioning and config / CI management http://www.ansible.com/home
As best practice, those VM / VE environments could be setup and configured by vagrant scrips using vagrantup as an upcoming standard. http://www.vagrantup.com/
Final remarks:
So a good thing would be, that a developer could be working on a virgin computer after installing vagrant, maybe a VM provider, if VM capacity is not yet implemented on the host, downlowding a vagarntfile (recipt) and hack int vagrant up
, wait some minutes and go.
If all that is accomplished and works also with Hyper-V VMs there is the reward:
Get rid of W32 support. I can not imagine that anyone considers seriously running this in an windows environment for production.
I think a best practice approach on provisionning (ansible) would greatly benefit the community. Also I think to heavily leverage virtualization would greatly fit the new strategy/image. Congrats to that one by the way!
Here is my own pilgrimage on this issue:
https://github.com/blaggacao/Odoo-VagrantUp
Using IE 11, not able to edit pages. Also the test site I created using Chrome is returning a 500 error when I load the same site using IE 11. http://inlinets.odoo.com
Feature Idea
When selecting account charts, one can set start and ending period. When selecting tax chart, one can only select one period. This is bad for countries whiche have non-harmonized deadlines for different tax reports.
Trying to open a tax statment fo any kind of individualized timespan.
Odoo has a high level and generic approach. It is expected, that every flexiblitiy would be impe^lemented if the cost of complicating thing is near to zero (as in this case).
Should at least work like account chart. Preferably with a (hidden or camouflaged) single date option
Hello.
I tried fa-file-image-o and fa-database and they are not rendered, may be it is time of update the icons lib ;-).
Others are rendered without any problem.
Regards.
Traceback (most recent call last):
File "/home/aa/odoo/odoo/openerp/http.py", line 478, in dispatch
result = self._call_function(*_self.params)
File "/home/aa/odoo/odoo/openerp/http.py", line 296, in _call_function
return checked_call(self.db, *args, *_kwargs)
File "/home/aa/odoo/odoo/openerp/service/model.py", line 113, in wrapper
return f(dbname, _args, *_kwargs)
File "/home/aa/odoo/odoo/openerp/http.py", line 293, in checked_call
return self.endpoint(_a, *_kw)
File "/home/aa/odoo/odoo/openerp/http.py", line 659, in call
return self.method(_args, *_kw)
File "/home/aa/odoo/odoo/openerp/http.py", line 345, in response_wrap
response = f(_args, *_kw)
File "/home/aa/odoo/odoo/addons/web/controllers/main.py", line 1046, in call_kw
return self._call_kw(model, method, args, kwargs)
File "/home/aa/odoo/odoo/addons/web/controllers/main.py", line 1038, in _call_kw
return getattr(request.registry.get(model), method)(request.cr, request.uid, _args, *_kwargs)
File "/home/aa/odoo/odoo/openerp/osv/orm.py", line 1886, in fields_view_get
xarch, xfields = View.postprocess_and_fields(cr, uid, self._name, etree.fromstring(result['arch']), view_id, context=ctx)
File "/home/aa/odoo/odoo/openerp/addons/base/ir/ir_ui_view.py", line 746, in postprocess_and_fields
self.raise_view_error(cr, user, message, view_id, context)
File "/home/aa/odoo/odoo/openerp/addons/base/ir/ir_ui_view.py", line 313, in raise_view_error
raise AttributeError(message)
AttributeError: Field group_analytic_account_for_sales
does not exist
Error context:
View account settings
[view_id: 487, xml_id: account.view_account_config_settings, model: account.config.settings, parent_id: n/a]
Happy to see that Launchpad is still kept up to date. I did notice a glitch in this process: lp:openobject-server/7.0 is still missing git revision c088287 which was included in the 7.0 git branch on the 18th of May.
No matter what I did this is not being able to lauch fine, always get the same error
Traceback (most recent call last):
File "werkzeug/serving.py", line 177, in run_wsgi
execute(self.server.app)
File "werkzeug/serving.py", line 165, in execute
application_iter = app(environ, start_response)
File "openerp/service/server.py", line 273, in app
return self.app(e, s)
File "openerp/service/wsgi_server.py", line 215, in application
return application_unproxied(environ, start_response)
File "openerp/service/wsgi_server.py", line 201, in application_unproxied
result = handler(environ, start_response)
File "openerp/http.py", line 1097, in __call__
return self.dispatch(environ, start_response)
File "openerp/http.py", line 1074, in __call__
return self.app(environ, start_wrapped)
File "werkzeug/wsgi.py", line 579, in __call__
return self.app(environ, start_response)
File "openerp/http.py", line 1226, in dispatch
ir_http = request.registry['ir.http']
File "openerp/http.py", line 220, in registry
return openerp.modules.registry.RegistryManager.get(self.db) if self.db else None
File "openerp/modules/registry.py", line 269, in get
update_module)
File "openerp/modules/registry.py", line 299, in new
openerp.modules.load_modules(registry._db, force_demo, status, update_module)
File "openerp/modules/loading.py", line 335, in load_modules
force, status, report, loaded_modules, update_module)
File "openerp/modules/loading.py", line 241, in load_marked_modules
graph.add_modules(cr, module_list, force)
File "openerp/modules/graph.py", line 99, in add_modules
info = openerp.modules.module.load_information_from_description_file(module)
File "openerp/modules/module.py", line 180, in load_information_from_description_file
terp_file = opj(mod_path, '__openerp__.py')
File "/usr/local/lib/python2.7/posixpath.py", line 77, in join
elif path == '' or path.endswith('/'):
AttributeError: 'bool' object has no attribute 'endswith'
When working int he web client the visual behaviour of the client is quite distracting. This causes fatigue and inefficiency when working with it and most of all impatcs tacitly on the overall impression of the software.
Smoth visual running, no stressing visual unrest when comiling a page.
The main point here is, that when a page compiles, or a user action is registered, some recompiling is done changing the appearance of the display. generally this is very cool (for example when color changes, or additional buttons blend in), but it can get quite disturbing when block sizes reformat and makes the whole page jump arround.
The best example is, if you where about to click on a value, and suddenly it jumped 4 cm to the right.
Overall smotheness could also make a really cool effect (smooth, but fast blending in)
Version 8.0
(Build 35497)
server (5219)
addons (9463)
web (4019)
Chrome Version 23.0.1271.64
Firefox 29.0
To reproduce:
Go in Reporting -> Accounting -> Treasury Analysis
Click on + symbol -> nothing happen
Click on - symbol it collapse and change to +
Now click on new +, it stay collapsed
Line stay collapsed clicking on + button has no effect
Clicking on + should divid again the line
error: The requested URL returned error: 403 while accessing https://github.com/odoo-dev/odoo.git/info/refs
fatal: HTTP request failed
I would love to see Odoo Docs on http://read-the-docs.readthedocs.org/en/latest/getting_started.html
How documentation so far has been displayed is beyond the porjects dignity ;)
There is a duplication of the installed packages when installing with the setup.py script or with pip. Tested only in virtualenv. This is somewhat related to #81 and #394
Installing Odoo with pip a crucial step for testing OCA modules using travis-ci.org
Setup installs openerp both in environment root and in python site-packages. An entry point script is intalled in the usr/bin of the environment.
The file import_xml.rng
is in the environment root but not the site-packages. This causes an error when running the entry point.
Setup installs openerp in site-packages only. An entry point script is intalled in the usr/bin of the environment.
The file import_xml.rng
is the site-packages openerp folder. Running the entry point does not lead to an error related to that file.
virtualenv2 env
source env/bin/activate
pip install --no-deps https://github.com/odoo/odoo/archive/master.zip
ls -A env/openerp
ls -A env/lib/python2.7/site-packages/openerp
__ __ __ __
|__| |__| |__| |__| TOTAL: $22.000,-
___ __ __ __
| | |__| |__| |__|
|___| __ __ __
.---. |__| |__| |__|
| | __ __ __
'---' |__| |__| |__|
| | __ __ __
|___| |__| |__| |__|
Thanks for duely considering, I thing this might be small, but powerful changes.. ;)
continued:
__ __ __ ___
|__| |__| |__| | |
__ __ __ |<==|
|__| |__| |__| |___|
__ __ __ ___
|__| |__| |__| | |
__ __ __ |CAS|
|__| |__| |__| |___|
at file
odoo / addons / sale_stock / sale_stock_view.xml
we have:
<field name="company_id" position="replace">
<field name="company_id" readonly="True"/>
</field>
<field name="client_order_ref" position="after">
<field name="warehouse_id" on_change="onchange_warehouse_id(warehouse_id)" options="{'no_create': True}" groups="stock.group_locations"/>
</field>
where
def onchange_warehouse_id(self, cr, uid, ids, warehouse_id, context=None):
val = {}
if warehouse_id:
warehouse = self.pool.get('stock.warehouse').browse(cr, uid, warehouse_id, context=context)
if warehouse.company_id:
val['company_id'] = warehouse.company_id.id
return {'value': val}
So, after changing warehourse, company is changed.
But becase company_id field is readonly, after clicking "save" only warehourse is saved.
I think readonly="True" on company_id should be removed
Please elaborate this:
https://github.com/odoo/odoo/blame/master/addons/account/account.py#L1849-L1860
and include here:
https://github.com/odoo/odoo/blame/master/addons/account/account.py#L1877
This would help millions to better understand taxes...
Hello,
while using the new version of POS.
I try to call the show_popup function and passing to it two parameters (pop_name, messge).
For instance:
self.screen_selector.show_popup('error', 'Sorry, we could not create a user session');
The problem is the declared function (show_popup) in ScreenSelector only accepts one parameter.
show_popup: function(name){
if(this.current_popup){
this.close_popup();
}
this.current_popup = this.popup_set[name];
this.current_popup.show();
},
The fix is :
show_popup: function (name, message) {
if (this.current_popup) {
this.close_popup();
}
this.current_popup = this.popup_set[name];
if (message) {
this.current_popup.$el.find('.comment').html(message);
}
this.current_popup.show();
},
Another point is to add a close button to ErrorPopupWidget like so, otherwire we cannot close the popup
<t t-extend="ErrorPopupWidget">
<t t-jquery=".modal-dialog" t-operation="replace">
<div class="modal-dialog">
<div class="popup popup-help">
<p class="message"><t t-esc=" widget.message || 'Error' " /></p>
<p class="comment"><t t-esc=" widget.comment || '' "/></p>
<div class="footer">
<div class="button">
Ok
</div>
</div>
</div>
</div>
</t>
</t>
Thanks.
Hi ,
Please can you change account model name 👍
l10n_ma/l10n_ma_tax.xml:741: compta Kazacube
best regards
Traceback (most recent call last):
File "/home/aa/odoo/odoo/openerp/http.py", line 470, in dispatch
result = self._call_function(*_self.params)
File "/home/aa/odoo/odoo/openerp/http.py", line 294, in _call_function
return checked_call(self.db, *args, *_kwargs)
File "/home/aa/odoo/odoo/openerp/service/model.py", line 113, in wrapper
return f(dbname, _args, *_kwargs)
File "/home/aa/odoo/odoo/openerp/http.py", line 291, in checked_call
return self.endpoint(_a, *_kw)
File "/home/aa/odoo/odoo/openerp/http.py", line 652, in call
return self.method(_args, *_kw)
File "/home/aa/odoo/odoo/openerp/http.py", line 337, in response_wrap
response = f(_args, *_kw)
File "/home/aa/odoo/odoo/addons/web/controllers/main.py", line 1355, in run
[action_id], request.context)
File "/home/aa/odoo/odoo/openerp/http.py", line 740, in proxy
result = meth(cr, request.uid, _args, *_kw)
File "/home/aa/odoo/odoo/openerp/addons/base/ir/ir_actions.py", line 992, in run
res = func(cr, uid, action, eval_context=eval_context, context=run_context)
File "/home/aa/odoo/odoo/openerp/addons/base/ir/ir_actions.py", line 821, in run_action_code_multi
eval(action.code.strip(), eval_context, mode="exec", nocopy=True) # nocopy allows to return 'action'
File "/home/aa/odoo/odoo/openerp/tools/safe_eval.py", line 311, in safe_eval
return eval(c, globals_dict, locals_dict)
File "", line 1, in
File "/home/aa/odoo/odoo/openerp/addons/base/module/module.py", line 437, in button_immediate_install
return self._button_immediate_function(cr, uid, ids, self.button_install, context=context)
File "/home/aa/odoo/odoo/openerp/addons/base/module/module.py", line 488, in _button_immediate_function
registry = openerp.modules.registry.RegistryManager.new(cr.dbname, update_module=True)
File "/home/aa/odoo/odoo/openerp/modules/registry.py", line 299, in new
openerp.modules.load_modules(registry._db, force_demo, status, update_module)
File "/home/aa/odoo/odoo/openerp/modules/loading.py", line 343, in load_modules
loaded_modules, update_module)
File "/home/aa/odoo/odoo/openerp/modules/loading.py", line 247, in load_marked_modules
loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
File "/home/aa/odoo/odoo/openerp/modules/loading.py", line 155, in load_module_graph
init_module_models(cr, package.name, models)
File "/home/aa/odoo/odoo/openerp/modules/module.py", line 241, in init_module_models
obj.init(cr)
File "/home/aa/odoo/odoo/addons/report/models/report_paperformat.py", line 132, in init
company.write({'paperformat_id': paperformat_id})
File "/home/aa/odoo/odoo/openerp/osv/orm.py", line 378, in function_proxy
return attr(self._cr, self._uid, [self._id], _args, *_kwargs)
File "/home/aa/odoo/odoo/openerp/addons/base/res/res_company.py", line 287, in write
return super(res_company, self).write(cr, uid, ids, values, context=context)
File "/home/aa/odoo/odoo/openerp/osv/orm.py", line 4038, in write
self.pool[model_name]._store_set_values(cr, user, todo, fields_to_recompute, context)
File "/home/aa/odoo/odoo/openerp/osv/orm.py", line 4420, in _store_set_values
result = self._columns[f].get(cr, self, ids, f, SUPERUSER_ID, context=context)
File "/home/aa/odoo/odoo/openerp/osv/fields.py", line 1264, in get
result = self._fnct(obj, cr, uid, ids, name, self._arg, context)
File "/home/aa/odoo/odoo/openerp/osv/fields.py", line 1339, in _fnct_read
value = value[field] or False
File "/home/aa/odoo/odoo/openerp/osv/orm.py", line 408, in getitem
field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write")
File "/home/aa/odoo/odoo/openerp/osv/orm.py", line 3347, in read
result = self._read_flat(cr, user, select, fields, context, load)
File "/home/aa/odoo/odoo/openerp/osv/orm.py", line 3394, in _read_flat
cr.execute(query, [tuple(sub_ids)] + rule_params)
File "/home/aa/odoo/odoo/openerp/sql_db.py", line 156, in wrapper
return f(self, _args, *_kwargs)
File "/home/aa/odoo/odoo/openerp/sql_db.py", line 221, in execute
res = self._obj.execute(query, params)
ValueError: "column res_partner.vat_subjected does not exist
LINE 1: ...l",res_partner."is_company",res_partner."website",res_partne...
^
" while evaluating
u"self.button_immediate_install(cr, uid, context.get('active_ids', []), context=context)"
I have two form views for model account.analytic.account - the original (id="view_account_analytic_account_form") and simplified (id="portal_agreement_form_view") with low priority = 1000 used for Portal users.
The simplified form is loaded from another form m2o field defined as:
field name="user_agreement" context="{'form_view_ref' : helpdesk_currenda.portal_agreement_form_view', 'tree_view_ref' : 'helpdesk_currenda.portal_agreement_form_view'}"
When click on m2o field simplified form is loaded. But when I refresh the page in the browser system gets the original view, which is not desired. Is there a way to avoid this behaviour?
Traceback (most recent call last):
File "/home/aa/odoo/odoo/openerp/http.py", line 478, in dispatch
result = self._call_function(*_self.params)
File "/home/aa/odoo/odoo/openerp/http.py", line 296, in _call_function
return checked_call(self.db, *args, *_kwargs)
File "/home/aa/odoo/odoo/openerp/service/model.py", line 113, in wrapper
return f(dbname, _args, *_kwargs)
File "/home/aa/odoo/odoo/openerp/http.py", line 293, in checked_call
return self.endpoint(_a, *_kw)
File "/home/aa/odoo/odoo/openerp/http.py", line 659, in call
return self.method(_args, *_kw)
File "/home/aa/odoo/odoo/openerp/http.py", line 345, in response_wrap
response = f(_args, *_kw)
File "/home/aa/odoo/odoo/addons/web/controllers/main.py", line 1046, in call_kw
return self._call_kw(model, method, args, kwargs)
File "/home/aa/odoo/odoo/addons/web/controllers/main.py", line 1038, in _call_kw
return getattr(request.registry.get(model), method)(request.cr, request.uid, _args, *_kwargs)
File "/home/aa/odoo/odoo/openerp/osv/orm.py", line 1886, in fields_view_get
xarch, xfields = View.postprocess_and_fields(cr, uid, self._name, etree.fromstring(result['arch']), view_id, context=ctx)
File "/home/aa/odoo/odoo/openerp/addons/base/ir/ir_ui_view.py", line 746, in postprocess_and_fields
self.raise_view_error(cr, user, message, view_id, context)
File "/home/aa/odoo/odoo/openerp/addons/base/ir/ir_ui_view.py", line 313, in raise_view_error
raise AttributeError(message)
AttributeError: Field group_sale_pricelist
does not exist
Error context:
View sale settings
[view_id: 200, xml_id: base_setup.view_sale_config_settings, model: sale.config.settings, parent_id: n/a]
I noticed the github repo has not yet received (imported?) the latest revisions from some of the launchpad repositories !
Notice how the revision http://bazaar.launchpad.net/~openerp/openobject-addons/trunk/revision/9461 is not present in github.
This should be fixed asap to avoid confusion and possibly bad merging.
Created a new database with the latest version from git, created a new database and it fails with:
2014-05-16 08:53:05,083 20684 ERROR V8 openerp.http: Exception during JSON request handling.
Traceback (most recent call last):
File "/opt/odoo/server/openerp/http.py", line 470, in dispatch
result = self._call_function(**self.params)
File "/opt/odoo/server/openerp/http.py", line 294, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/opt/odoo/server/openerp/service/model.py", line 113, in wrapper
return f(dbname, *args, **kwargs)
File "/opt/odoo/server/openerp/http.py", line 291, in checked_call
return self.endpoint(*a, **kw)
File "/opt/odoo/server/openerp/http.py", line 652, in __call__
return self.method(*args, **kw)
File "/opt/odoo/server/openerp/http.py", line 337, in response_wrap
response = f(*args, **kw)
File "/opt/odoo/server/addons/web/controllers/main.py", line 1046, in call_kw
return self._call_kw(model, method, args, kwargs)
File "/opt/odoo/server/addons/web/controllers/main.py", line 1038, in _call_kw
return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
AttributeError: 'NoneType' object has no attribute 'has_share'
2014-05-16 08:53:05,084 20684 INFO V8 werkzeug: 127.0.0.1 - - [16/May/2014 08:53:05] "POST /web/dataset/call_kw/share.wizard/has_share HTTP/1.1" 200 -
2014-05-16 08:53:05,106 20684 INFO V8 werkzeug: 127.0.0.1 - - [16/May/2014 08:53:05] "POST /web/dataset/call_kw/ir.module.module/fields_view_get HTTP/1.1" 200 -
2014-05-16 08:53:05,125 20684 INFO V8 werkzeug: 127.0.0.1 - - [16/May/2014 08:53:05] "POST /web/dataset/call_kw/ir.module.module/fields_view_get HTTP/1.1" 200 -
2014-05-16 08:53:05,194 20684 INFO V8 werkzeug: 127.0.0.1 - - [16/May/2014 08:53:05] "POST /web/dataset/call_kw/ir.filters/get_filters HTTP/1.1" 200 -
2014-05-16 08:53:05,197 20684 ERROR V8 openerp.http: Exception during JSON request handling.
Traceback (most recent call last):
File "/opt/odoo/server/openerp/http.py", line 470, in dispatch
result = self._call_function(**self.params)
File "/opt/odoo/server/openerp/http.py", line 294, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/opt/odoo/server/openerp/service/model.py", line 113, in wrapper
return f(dbname, *args, **kwargs)
File "/opt/odoo/server/openerp/http.py", line 291, in checked_call
return self.endpoint(*a, **kw)
File "/opt/odoo/server/openerp/http.py", line 652, in __call__
return self.method(*args, **kw)
File "/opt/odoo/server/openerp/http.py", line 337, in response_wrap
response = f(*args, **kw)
File "/opt/odoo/server/addons/web/controllers/main.py", line 1046, in call_kw
return self._call_kw(model, method, args, kwargs)
File "/opt/odoo/server/addons/web/controllers/main.py", line 1038, in _call_kw
return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
AttributeError: 'NoneType' object has no attribute 'list'
I installed livechat for visitors, when I add the script livechat script link on my openerp 8 website, I got the bellow errors:
2014-05-24 16:54:25,021 20081 INFO openerp werkzeug: 127.0.0.1 - - [24/May/2014 16:54:25] "GET /web? HTTP/1.1" 404 -
2014-05-24 16:54:25,083 20081 INFO ? werkzeug: 127.0.0.1 - - [24/May/2014 16:54:25] "GET /im_livechat/static/ext/static/lib/requirejs/require.js HTTP/1.1" 200 -
2014-05-24 16:54:25,121 20081 WARNING openerp openerp.osv.orm: No field_values found for ids [2] in browse_record(im_livechat.channel, 2)
2014-05-24 16:54:25,257 20081 INFO openerp werkzeug: 127.0.0.1 - - [24/May/2014 16:54:25] "GET /im_livechat/loader?p=%7B%22db%22:%20%22openerp%22,%20%22channel%22:%202%7D HTTP/1.1" 500 -
2014-05-24 16:54:25,315 20081 ERROR openerp werkzeug: Error on request:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/werkzeug/serving.py", line 177, in run_wsgi
execute(self.server.app)
File "/usr/local/lib/python2.7/dist-packages/werkzeug/serving.py", line 165, in execute
application_iter = app(environ, start_response)
File "/backup/odoo/openerp/service/server.py", line 273, in app
return self.app(e, s)
File "/backup/odoo/openerp/service/wsgi_server.py", line 215, in application
return application_unproxied(environ, start_response)
File "/backup/odoo/openerp/service/wsgi_server.py", line 201, in application_unproxied
result = handler(environ, start_response)
File "/backup/odoo/openerp/http.py", line 1110, in call
return self.dispatch(environ, start_response)
File "/backup/odoo/openerp/http.py", line 1087, in call
return self.app(environ, start_wrapped)
File "/usr/local/lib/python2.7/dist-packages/werkzeug/wsgi.py", line 579, in call
return self.app(environ, start_response)
File "/backup/odoo/openerp/http.py", line 1248, in dispatch
result = ir_http._dispatch()
File "/backup/odoo/addons/website/models/ir_http.py", line 78, in _dispatch
return super(ir_http, self)._dispatch()
File "/backup/odoo/openerp/addons/base/ir/ir_http.py", line 125, in _dispatch
return self._handle_exception(e)
File "/backup/odoo/addons/website/models/ir_http.py", line 186, in _handle_exception
return super(ir_http, self)._handle_exception(exception)
File "/backup/odoo/openerp/addons/base/ir/ir_http.py", line 94, in _handle_exception
return request._handle_exception(exception)
File "/backup/odoo/openerp/addons/base/ir/ir_http.py", line 121, in _dispatch
result = request.dispatch()
File "/backup/odoo/openerp/http.py", line 544, in dispatch
r = self._call_function(*_self.params)
File "/backup/odoo/openerp/http.py", line 296, in _call_function
return checked_call(self.db, *args, *_kwargs)
File "/backup/odoo/openerp/service/model.py", line 113, in wrapper
return f(dbname, _args, *_kwargs)
File "/backup/odoo/openerp/http.py", line 293, in checked_call
return self.endpoint(_a, *_kw)
File "/backup/odoo/openerp/http.py", line 659, in call
return self.method(_args, *_kw)
File "/backup/odoo/openerp/http.py", line 345, in response_wrap
response = f(_args, *_kw)
File "/backup/odoo/addons/im_livechat/im_livechat.py", line 55, in loader
info = reg.get('im_livechat.channel').get_info_for_chat_src(cr, uid, channel)
File "/backup/odoo/addons/im_livechat/im_livechat.py", line 196, in get_info_for_chat_src
'buttonText': chan.button_text,
File "/backup/odoo/openerp/osv/orm.py", line 505, in getattr
return self[name]
File "/backup/odoo/openerp/osv/orm.py", line 435, in getitem
raise KeyError('Field %s not found in %s'%(name, self))
AttributeError: Got KeyError('Field button_text not found in browse_record(im_livechat.channel, 2)',) while trying to get attribute button_text on a im_livechat.channel record.
2014-05-24 16:54:25,684 20081 INFO openerp werkzeug: 127.0.0.1 - - [24/May/2014 16:54:25] "GET /web/css/web.assets_common HTTP/1.1" 200 -
2014-05-24 16:54:25,800 20081 INFO openerp werkzeug: 127.0.0.1 - - [24/May/2014 16:54:25] "GET /logo.png HTTP/1.1" 200 -
Traceback (most recent call last):
File "/home/aa/odoo/odoo/openerp/http.py", line 478, in dispatch
result = self._call_function(*_self.params)
File "/home/aa/odoo/odoo/openerp/http.py", line 296, in _call_function
return checked_call(self.db, *args, *_kwargs)
File "/home/aa/odoo/odoo/openerp/service/model.py", line 113, in wrapper
return f(dbname, _args, *_kwargs)
File "/home/aa/odoo/odoo/openerp/http.py", line 293, in checked_call
return self.endpoint(_a, *_kw)
File "/home/aa/odoo/odoo/openerp/http.py", line 659, in call
return self.method(_args, *_kw)
File "/home/aa/odoo/odoo/openerp/http.py", line 345, in response_wrap
response = f(_args, *_kw)
File "/home/aa/odoo/odoo/addons/web/controllers/main.py", line 1347, in load
action = request.session.model(action_type).read([action_id], False, ctx)
File "/home/aa/odoo/odoo/openerp/http.py", line 747, in proxy
result = meth(cr, request.uid, _args, *_kw)
File "/home/aa/odoo/odoo/openerp/addons/base/ir/ir_actions.py", line 307, in read
results = super(ir_actions_act_window, self).read(cr, uid, ids, fields=fields, context=context, load=load)
File "/home/aa/odoo/odoo/openerp/osv/orm.py", line 3347, in read
result = self._read_flat(cr, user, select, fields, context, load)
File "/home/aa/odoo/odoo/openerp/osv/orm.py", line 3463, in _read_flat
res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res)
File "/home/aa/odoo/odoo/openerp/osv/fields.py", line 1264, in get
result = self._fnct(obj, cr, uid, ids, name, self._arg, context)
File "/home/aa/odoo/odoo/openerp/addons/base/ir/ir_actions.py", line 246, in _search_view
field_get = self.pool[act.res_model].fields_view_get(cr, uid,
File "/home/aa/odoo/odoo/openerp/modules/registry.py", line 106, in getitem
return self.models[model_name]
KeyError: u'pos.session.opening'
Thank you for awesome software.
The interface of right-to-left languages should be right-to-left.
Version: Version 8.0alpha1
Browser: Chrome 34.0.1847.137
500: Internal Server Error
Error
Error message:
unknown locale u'en_US'
Traceback
Here's the log -
2014-05-19 11:51:47,228 7529 ERROR www openerp.addons.website.models.ir_http: 500 Internal Server Error:
Traceback (most recent call last):
File "/opt/odoo/openerp/addons/base/ir/ir_http.py", line 116, in _dispatch
result = request.dispatch()
File "/opt/odoo/openerp/http.py", line 545, in dispatch
r = self._call_function(*_self.params)
File "/opt/odoo/openerp/http.py", line 296, 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 293, in checked_call
return self.endpoint(_a, *_kw)
File "/opt/odoo/openerp/http.py", line 660, in call
return self.method(_args, *_kw)
File "/opt/odoo/openerp/http.py", line 346, in response_wrap
response = f(_args, *_kw)
File "/opt/odoo/addons/website_blog/controllers/main.py", line 222, in blog_post
'nav_list': self.nav_list(),
File "/opt/odoo/addons/website_blog/controllers/main.py", line 54, in nav_list
groupby="create_date", orderby="create_date asc", context=request.context)
File "/opt/odoo/openerp/osv/orm.py", line 2473, in read_group
result = [self._read_group_format_result(d, annotated_groupbys, groupby, groupby_dict, domain, context) for d in data]
File "/opt/odoo/openerp/osv/orm.py", line 2352, in _read_group_format_result
data[k] = babel.dates.format_date(v, format=gb['display_format'], locale=context.get('lang', 'en_US'))
File "/usr/lib/python2.7/dist-packages/babel/dates.py", line 564, in format_date
locale = Locale.parse(locale)
File "/usr/lib/python2.7/dist-packages/babel/core.py", line 313, in parse
raise UnknownLocaleError(input_id)
UnknownLocaleError: unknown locale u'en_US'
Steps to reproduce error:
As a result you will see Access Denied error - (Document type: Task, Operation: read). This is caused by rule 'Project/Task: employees: public, portal, employee or following or assigned' - whenever this rule is not active, you can create task without a problem, but you will also see task you should not see. What is more, when you create a task assigned to you and then change it to other user, it will work just fine.
This error can be reproduced on runbot - I've uploaded a movie on Youtube for your convenience. It is available at https://www.youtube.com/watch?v=2xl224cDyTM
There is some Schema.org markup on https://www.odoo.com/jobs/detail/Functional-Consultant-16, however, it'd be great to add www.schema.org/JobPosting
Hello,
In addons/account_budget/wizard/account_budget_crossovered_summary_report.py
s/crossovered.budge/crossovered.budget
Regards,
Romain
Odoo makes use of Hash indexes (for instance in ./openerp/addons/base/ir/ir_translation.py, I didn't check if there are other cases).
Hash Indexes are not compatible with Streaming Replication - cf http://www.postgresql.org/docs/9.1/static/indexes-types.html
Meaning that all attempts to create any kind of master - slave setup (either for easier failover in case of outage on the master server, or for load-balancing reasons in case external tools are using the same DB) are doomed.
I am not sure on the consequences for disaster recovery solutions based on WAL logs shipping (like http://www.pgbarman.org/ for instance).
Some possible options are:
Hello,
Birthdate and gender fields are commonly use information on partner/contact management.
It would be great to add those fields by default on contact form
Regards
Nicolas
There are constraints between the Configuration of Sales, Purchase, Warehouse, ... and the Access Rights of a user. But for some reasons this constraints behave very strange and illogical.
For example:
• I have all the Access Rights for the Admin activated
• I go to Configuration, Sales
• I activate "Generate invoices based on the sales order lines" and save.
Now the system deactivates following Access Rights for the Admin:
• Sales Pricelists
• Manage Multiple Units of Measure
• Discount on lines
The same happen when I activate/deactivate other features!
So let me get that straight.
• If I activate features, I expect that hidden Access Right would appear. But what happens is that I lose some of my Access Rights.
• If I deactivate features, I expect that the Access Right belonging to that feature would be inactive or hidden!
The current system behavior is very strange. That confuses customer and potential customer and it makes the customizing process more time consuming!
My system Setting: Version 7.0-20130226-002110 with sample data.
After running
python setup.py install
The installed version of odoo (in pythonpath site-packages) does not contain the full list of addons shown here: https://github.com/odoo/odoo/tree/master/addons
This prevents any install from using the full list of addons (unless you manually start specifiying an addons path via config or command line argument)
The project's name change ought be impacted on the project content (collecting, may not be correct):
openerp
(and openerp.addons
) modules
odoo
class next to the openerp
one and leave openerp
in for partners &al?oe_
-prefixed classes?
openerp_mailgate
, duplicate? (symlinks not an option because windows)__openerp__.py
)
__manifest__.py
) ?Not sure?
*.my.openerp.com
) don't seem to work on odoo.com
openerp.tools.config
-> env['OPENERP_SERVER']
; mailgate OPENERP_*
)things to not rename (collecting, may not be correct)
Last-Translator
tags in PO files)(ignoring PO files, there are 25530 instances of /open\s?erp/i
in the working copy it seems)
Hello.
If you define _track in an object for example:
_track={
{'field': 'id.message': lambda xyzw}
}
All is ok.
But if we define something else it raises a difficult error to trace, IMHO the raise should be something more explícit intead an ugly traceback without any validation:
check the type, and propose a WARNING with a clear message.
For example if we define:
_track = {}
Then a traceback like this appear "Just when save the record.":
File "/home/nhomar/Trabajo/odoo/addons/web/controllers/main.py", line 1038, in _call_kw
return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
File "/home/nhomar/Trabajo/odoo/addons/mail/mail_thread.py", line 424, in write
self.message_track(cr, uid, ids, tracked_fields, initial_values, context=track_ctx)
File "/home/nhomar/Trabajo/odoo/addons/mail/mail_thread.py", line 524, in message_track
for field, track_info in self._track.items():
AttributeError: 'set' object has no attribute 'items'
If you think the feature is feasibe, I can make a PR.
Regards.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.