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

Hey everyone! I can't validate the invoice

I found the method somewhere but it doesn't work...

This method twice changes Status: Draft -> PAID :(
I need to change the status to "open". In other words I need to validate invoice.

Help me please and tell me where Where can I get information about those methods?

$res = $model->execute_kw(
$db,
$uid,
$password,
'account.invoice',
'invoice_validate',
[5244]
);
อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Refer def action_invoice_open in account/models/account_invoice.py

อวตาร
ละทิ้ง
ผู้เขียน

Thanks! But Where can I find this method? How do you know about it?

Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ก.ย. 21
3637
1
มิ.ย. 19
4283
1
ต.ค. 15
4907
change between 2 Invoice formats แก้ไขแล้ว
1
ก.ค. 25
834
2
ก.ค. 25
975