Skip to content

Commit

Permalink
Remove form option to Action type as no long exists
Browse files Browse the repository at this point in the history
  • Loading branch information
JMSoler7 committed Jun 19, 2023
1 parent 44ec267 commit 12bb30d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/trytond_factories/action.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@ class Meta:
model = 'ir.action'

name = factory.Faker('word')
type = factory.Faker('word', ext_word_list=['tree', 'form'])
type = factory.Faker('word', ext_word_list=[
'ir.action.url',
'ir.action.act_window',
'ir.action.wizard',
'ir.action.report',
])
records = 'selected'
usage = factory.Faker('word')
keywords = factory.RelatedFactoryList(
Expand Down

0 comments on commit 12bb30d

Please sign in to comment.