Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
3 Odpowiedzi
3227 Widoki

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()'

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Autor

thx,i I'll give it a try

Najlepsza odpowiedź

Inside account_invoice class in account_invoice.py add this:

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

 

Awatar
Odrzuć
Autor

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

Najlepsza odpowiedź

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

 

Awatar
Odrzuć
Autor

怕他们看不懂