Last active
October 31, 2022 14:31
-
-
Save ofelix03/1bfa0ac00aabb8a4abe9893efe6751fc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def action_add_bank(self): | |
action = self.env.ref("kyc.add_bank_action").read()[0] | |
action['target'] = 'new' | |
action['context'] = { | |
'default_bank_reference': self.bank_reference | |
} | |
return action |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment