콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
3905 화면

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

관련 게시물 답글 화면 활동
1
8월 21
2435
0
4월 21
2383
1
6월 23
3236
1
1월 23
3010
0
9월 22
2709