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

When I try to create invoice from an order, an error pop up  :

"""

L'opération n'a pas pu être complétée, probablement à la suite d'une :

- suppression : vous essayez de supprimer un enregistrement auquel d'autres enregistrements font référence

- création/modification : un champ requis n'est pas correctement rempli

[objet référencé : Product - product.product]

"""

And this appears in log :

openerp.sql_db: bad query: INSERT INTO "sale_advance_payment_inv" ("id", "count", "product_id", "advance_payment_method", "amount", "deposit_account_id", "create_uid", "write_uid", "create_date", "write_date") VALUES(nextval('sale_advance_payment_inv_id_seq'), 1, 11, 'delivered', '0.00', NULL, 1, 1, (now() at time zone 'UTC'), (now() at time zone 'UTC')) RETURNING id

There's no product with id 11 in DB but there's no reference to this ID i order too... Where does it come from ?


Thx.

아바타
취소
작성자 베스트 답변

Yes, it was deleted. I wasn't able to find the reference to that object. I ended by recreate a fake product with that id. Dirty, but working...

아바타
취소
베스트 답변

Hello,

I think product was delete or you not access right see product or product different company.

아바타
취소
관련 게시물 답글 화면 활동
1
1월 24
2274
1
12월 22
3425
2
8월 21
3096
1
8월 21
2667
1
3월 15
6415