← Back to team overview

openerp-canada team mailing list archive

Re: hello openerp-canada, my work

 

I am trying to install the modules from openerp-canada. I used bzr
branch lp:openerp-canada
to download them locally. Then I copied and pasted them to the addons
folder. When I issue the update modules list function, I get this error
message:

 OpenERP Server Error

------------------------------

Client Traceback (most recent call last):
  File "/home/fred/openerp-7.02/openerp/addons/web/http.py", line 204,
in dispatch
    response["result"] = method(self, **self.params)
  File "/home/fred/openerp-7.02/openerp/addons/web/controllers/main.py",
line 1133, in call_button
    action = self._call_kw(req, model, method, args, {})
  File "/home/fred/openerp-7.02/openerp/addons/web/controllers/main.py",
line 1121, in _call_kw
    return getattr(req.session.model(model), method)(*args, **kwargs)
  File "/home/fred/openerp-7.02/openerp/addons/web/session.py", line
43, in proxy
    result = self.proxy.execute_kw(self.session._db,
self.session._uid, self.session._password, self.model, method, args,
kw)
  File "/home/fred/openerp-7.02/openerp/addons/web/session.py", line
31, in proxy_method
    result = self.session.send(self.service_name, method, *args)
  File "/home/fred/openerp-7.02/openerp/addons/web/session.py", line
104, in send
    raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)


Server Traceback (most recent call last):
  File "/home/fred/openerp-7.02/openerp/addons/web/session.py", line 90, in send
    return openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/home/fred/openerp-7.02/openerp/netsvc.py", line 293, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/home/fred/openerp-7.02/openerp/service/web_services.py", line
626, in dispatch
    res = fn(db, uid, *params)
  File "/home/fred/openerp-7.02/openerp/osv/osv.py", line 188, in execute_kw
    return self.execute(db, uid, obj, method, *args, **kw or {})
  File "/home/fred/openerp-7.02/openerp/osv/osv.py", line 131, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/fred/openerp-7.02/openerp/osv/osv.py", line 197, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/fred/openerp-7.02/openerp/osv/osv.py", line 185, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/fred/openerp-7.02/openerp/addons/base/module/wizard/base_module_update.py",
line 42, in update_module
    update, add = module_obj.update_list(cr, uid,)
  File "/home/fred/openerp-7.02/openerp/addons/base/module/module.py",
line 617, in update_list
    handler.load_addons()
  File "/home/fred/openerp-7.02/openerp/addons/web/http.py", line 576,
in load_addons
    m = __import__('openerp.addons.' + module)
  File "/home/fred/openerp-7.02/openerp/modules/module.py", line 133,
in load_module

 mod = imp.load_module('openerp.addons.' + module_part, f, path, descr)
  File "/home/fred/openerp-7.02/openerp/addons/l10n_ca_account_check_writing/__init__.py",
line 23, in <module>
    import account_voucher
  File "/home/fred/openerp-7.02/openerp/addons/l10n_ca_account_check_writing/account_voucher.py",
line 27, in <module>
    from num2words import num2words
ImportError: No module named num2words



On Thu, Jul 18, 2013 at 2:53 PM, Maxime Chambreuil <
maxime.chambreuil@xxxxxxxxxxxxxxxxxxxx> wrote:

> Hello Patrick,
>
> Welcome in the OpenERP Canada team. Thank you very much for your
> contribution effort.
>
> Your bug has already been fixed by OpenERP. Try with latest revisions of
> server, addons and web branches. The tax percentage for QST is correctly
> set to 0.09975.
>
> Regarding your branch, there is no chance to get it merged in any project
> if you don't base your branch on the official branch. Please read the
> developer documentation:
> https://doc.openerp.com/contribute/04_using_bazaar/#how-to-commit-your-work
>
> You should base your branch on lp:openobject-addons/7.0 and add your
> report to the current l10n_ca module. This way you don't need to redefine
> the chart of accounts, taxes, chart template, etc. Can you please explain
> us which financial report you plan to provide ? Is it a report for Revenu
> Québec ?
>
> Regards,
> --
> Maxime Chambreuil
> 1-514-276-5468 #126
>
> ------------------------------
> First, thanks to Maxime for adding me to the team.
>
> I'm working mainly on Quebec's taxes, charts and report.
> I'm trying to pre-configure the wizard so that no questions are
> asked during the installation.
>
> Also, I'm trying to fix this bug:
>
> https://bugs.launchpad.net/openobject-addons/+bug/1126338
>
> You can see my branch here:
>
> http://bazaar.launchpad.net/~patrick-hetu/openerp-canada/l10n_qc_ca/changes
>
> I hope it will get merged in the lp:openerp-canada<https://code.launchpad.net/~openerp-community-reviewer/openerp-canada/7.0>
> or in openobject-addons someday.
>
> Cheers,
>
> Patrick
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openerp-canada
> Post to     : openerp-canada@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openerp-canada
> More help   : https://help.launchpad.net/ListHelp
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openerp-canada
> Post to     : openerp-canada@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openerp-canada
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Fred Blauer CA, CA.IT, CISA
http://openacct.ca
fred@xxxxxxxxxxx
514-667-1555

Follow ups

References