Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
5253 มุมมอง

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.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
มี.ค. 25
1817
1
มี.ค. 23
5560
1
ต.ค. 22
11664
7
ม.ค. 22
19237
2
มี.ค. 21
5358