How to add new state in invoice form view in odoo 13
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- ลูกค้าสัมพันธ์
- e-Commerce
- ระบบบัญชี
- สินค้าคงคลัง
- PoS
- Project
- MRP
คำถามนี้ถูกตั้งค่าสถานะ
1
ตอบกลับ
3849
มุมมอง
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 |