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
ตอบกลับ
3977
มุมมอง
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
|
2508 | ||
|
0
เม.ย. 21
|
2456 | ||
|
1
มิ.ย. 23
|
3288 | ||
|
1
ม.ค. 23
|
3095 | ||
|
0
ก.ย. 22
|
2788 |