Skip to Content
Menu
This question has been flagged
2 Replies
3039 Views

hi everyone, I havea problem in my odoo v10 community . I have installed 'account' and 'sale' 'crm' modules.. but when I go to accounting application and trying to edit journal. (i want to allow 'cancel invoice') i cant find it. 
this is my path. accounting=>configuration=>accounting=> and I only find 3 options: 'Taxes' 'Positions fiscales'  and 'Account labels'..
and when I look in views I find this view 'account.journal.form'  and its related with the model 'account.journal' and my user has all rights on this module
so What I missed??
is there anything to show it up?
or just to allow cenceling from another way

Avatar
Discard
Best Answer

Hi khalid,

Install account_cancel module & enable debug mode then tab Advance setting, field called Allow Cancelling Entries .

Thanks

Avatar
Discard
Author Best Answer

hi Sushma,

I get a preblem while installing account_cancel  module.

Traceback (most recent call last):

  File "/opt/odoo/odoo-10.0/odoo/odoo/http.py", line 642, in _handle_exception

    return super(JsonRequest, self)._handle_exception(exception)

  File "/opt/odoo/odoo-10.0/odoo/odoo/http.py", line 684, in dispatch

    result = self._call_function(**self.params)

  File "/opt/odoo/odoo-10.0/odoo/odoo/http.py", line 334, in _call_function

    return checked_call(self.db, *args, **kwargs)

  File "/opt/odoo/odoo-10.0/odoo/odoo/service/model.py", line 101, in wrapper

    return f(dbname, *args, **kwargs)

  File "/opt/odoo/odoo-10.0/odoo/odoo/http.py", line 327, in checked_call

    result = self.endpoint(*a, **kw)

  File "/opt/odoo/odoo-10.0/odoo/odoo/http.py", line 942, in __call__

    return self.method(*args, **kw)

  File "/opt/odoo/odoo-10.0/odoo/odoo/http.py", line 507, in response_wrap

    response = f(*args, **kw)

  File "/opt/odoo/odoo-10.0/odoo/addons/web/controllers/main.py", line 895, in call_kw

    return self._call_kw(model, method, args, kwargs)

  File "/opt/odoo/odoo-10.0/odoo/addons/web/controllers/main.py", line 887, in _call_kw

    return call_kw(request.env[model], method, args, kwargs)

  File "/opt/odoo/odoo-10.0/odoo/odoo/api.py", line 689, in call_kw

    return call_kw_multi(method, model, args, kwargs)

  File "/opt/odoo/odoo-10.0/odoo/odoo/api.py", line 680, in call_kw_multi

    result = method(recs, *args, **kwargs)

  File "/opt/odoo/odoo-10.0/odoo/odoo/models.py", line 3033, in read

    data[record][name] = convert(record[name], record, use_name_get)

  File "/opt/odoo/odoo-10.0/odoo/odoo/models.py", line 5241, in __getitem__

    return self._fields[key].__get__(self, type(self))

  File "/opt/odoo/odoo-10.0/odoo/odoo/fields.py", line 915, in __get__

    self.determine_value(record)

  File "/opt/odoo/odoo-10.0/odoo/odoo/fields.py", line 1027, in determine_value

    self.compute_value(recs)

  File "/opt/odoo/odoo-10.0/odoo/odoo/fields.py", line 981, in compute_value

    self._compute_value(records)

  File "/opt/odoo/odoo-10.0/odoo/odoo/fields.py", line 972, in _compute_value

    getattr(records, self.compute)()

  File "/opt/odoo/odoo-10.0/odoo/odoo/addons/base/module/module.py", line 174, in _get_desc

    output = publish_string(source=module.description or '', settings_overrides=overrides, writer=MyWriter())

  File "/usr/local/lib/python2.7/dist-packages/docutils/core.py", line 414, in publish_string

    enable_exit_status=enable_exit_status)

  File "/usr/local/lib/python2.7/dist-packages/docutils/core.py", line 662, in publish_programmatically

    output = pub.publish(enable_exit_status=enable_exit_status)

  File "/usr/local/lib/python2.7/dist-packages/docutils/core.py", line 217, in publish

    self.settings)

  File "/usr/local/lib/python2.7/dist-packages/docutils/readers/__init__.py", line 72, in read

    self.parse()

  File "/usr/local/lib/python2.7/dist-packages/docutils/readers/__init__.py", line 78, in parse

    self.parser.parse(self.input, document)

  File "/usr/local/lib/python2.7/dist-packages/docutils/parsers/rst/__init__.py", line 172, in parse

    self.statemachine.run(inputlines, document, inliner=self.inliner)

  File "/usr/local/lib/python2.7/dist-packages/docutils/parsers/rst/states.py", line 170, in run

    input_source=document['source'])

  File "/usr/local/lib/python2.7/dist-packages/docutils/statemachine.py", line 239, in run

    context, state, transitions)

  File "/usr/local/lib/python2.7/dist-packages/docutils/statemachine.py", line 460, in check_line

    return method(match, context, next_state)

  File "/usr/local/lib/python2.7/dist-packages/docutils/parsers/rst/states.py", line 2708, in underline

    nodes.literal_block(blocktext, blocktext), line=lineno)

  File "/usr/local/lib/python2.7/dist-packages/docutils/utils/__init__.py", line 220, in warning

    return self.system_message(self.WARNING_LEVEL, *args, **kwargs)

  File "/usr/local/lib/python2.7/dist-packages/docutils/utils/__init__.py", line 191, in system_message

    self.stream.write(msg.astext() + '\n')

  File "/usr/local/lib/python2.7/dist-packages/docutils/utils/error_reporting.py", line 191, in write

    self.stream.write(data.encode(self.encoding, self.encoding_errors))

IOError: [Errno 5] Input/output error

Avatar
Discard
Author

I solved this problem by: updating my addons_path , in the odoo.conf file

Related Posts Replies Views Activity
2
Jan 19
2942
0
Jun 15
2422
5
Dec 24
1021
0
Sep 23
572
1
Aug 24
1246