I have added new value for the payment acquirer provider.
provider = fields.Selection(selection_add=[('test', 'Test')])
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
I have added new value for the payment acquirer provider.
provider = fields.Selection(selection_add=[('test', 'Test')])
I got the solution with add ondelete option.
provider = fields.Selection ( selection_add = [( 'test' , 'TEST' )], ondelete = { 'test' : 'set default' })
相关帖文 | 回复 | 查看 | 活动 | |
---|---|---|---|---|
|
0
7月 16
|
3303 | ||
|
3
1月 25
|
3560 | ||
|
2
6月 25
|
2139 | ||
|
2
6月 25
|
6064 | ||
|
0
11月 23
|
1531 |