Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
3652 Lượt xem

I open the Customers Invoices in Calendar View, I move a invoice to other day, I return to the Tree View and the invoice date has changed.
I think is a error.
Thanks.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Yes its a bug, when we drag and drop the invoice to a new date the invoice date will change.

There is a validation needed.

Override the write method and check date_invoice in the data dictionary if it is present then check the state of the invoice it is not in draft state raise an exception

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
4
thg 4 25
1202
2
thg 1 23
4765
12
thg 1 17
14295
2
thg 4 16
4148
1
thg 3 15
9242