콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
5274 화면

Hi

I have set multi-company and created a demo company in odoo 9. Then I created a demo user who has privilege in demo company only.

Demo user can validate invoice.

But he can't click validate button of register payment

Odoo Warning - Validation Error

The operation cannot be completed, probably due to the following:
- deletion: you may be trying to delete a record while other records still reference it
- creation/update: a mandatory field is not correctly set

[object with reference: name - name]

Did I skipped anything ?

Plz help me.

아바타
취소
작성자

In odoo-9.0c-20160806/openerp/addons/account/models/account_payment.py

The code execute until following line

self.invoice_ids.register_payment(counterpart_aml)

Have you any hints?

베스트 답변

I had the same problem. I had to manually create an "Account Reconcile Sequence" record for the 2nd company... just duplicated and changed Company. From Technical -- sequences -- Account reconcile sequence.

아바타
취소
관련 게시물 답글 화면 활동
1
3월 25
1834
1
3월 23
5569
1
10월 22
11674
7
1월 22
19247
2
3월 21
5365