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

How to add new state in invoice form view in odoo 13

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

You can add as following


class AccountInvoiceInherit(models.Model):
_inherit = 'account.move'

state = fields.Selection(selection_add=[
('new_state', 'New Satate'), ('done',)
])
อวตาร
ละทิ้ง
ผู้เขียน

Thank you..But i want to add statein between draft and open.how can i do that?

Hi,

Updated in my answer

Thanks

Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ส.ค. 21
2381
0
เม.ย. 21
2345
1
มิ.ย. 23
3149
1
ม.ค. 23
2948
0
ก.ย. 22
2666