Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

1

when i confire the invoice, has issue

By
cialuo
on 9/24/14, 12:22 AM 1,030 views

when i confire the invoice, has issue .

File "/home/jeafea/GreenOdoo-8.0-linux64/source/addons/account_analytic_plans/account_analytic_plans.py", line 395, in _get_analytic_lines ref = self._convert_ref(inv.number) ValueError: "'account.invoice' object has no attribute '_convert_ref'" while evaluating u'action_move_create()'

1

Atchuthan - Technical Consultant, Sodexis Inc

--Atchuthan - Technical Consultant, Sodexis Inc--
3918
| 5 3 8
Puducherry, India
--Atchuthan - Technical Consultant, Sodexis Inc--
Passionate coder in Python/Odoo(formerly known as OpenERP).

Contact me via GMail: atchuthantu@gmail.com via Skype: atchuthan_skype
via Linkedin: http://in.linkedin.com/in/atchuthantu
Atchuthan - Technical Consultant, Sodexis Inc
On 9/24/14, 2:57 AM

Check whether def _convert_ref(self, cr, uid, ref) method is available at Account Module.  

thx,i I'll give it a try

cialuo
on 9/24/14, 10:07 PM
1
Jaime Vasquez
On 9/26/14, 12:19 AM

Inside account_invoice class in account_invoice.py add this:

def _convert_ref(self, ref):
        return (ref or '').replace('/','')

 

thanks, i had successfully comfirmed the voice as u told me

cialuo
on 9/26/14, 10:09 AM
0
leangjia
On 9/26/14, 10:36 AM

好好的中文不说,偏写鸡肠!批评批评。嘿嘿~

 

怕他们看不懂

cialuo
on 9/27/14, 8:03 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 9/24/14, 12:22 AM
Seen: 1030 times
Last updated: 3/16/15, 8:10 AM