In YAML first we have to check all xml file in addons then after get access to the new API in Python YAML tag. .
For example you can see below code.
!python {model: account.invoice, id: account_invoice_customer0}: |
self # is now a new api record
assert (self.move_id), "Move falsely created at pro-forma"
Note- With the help of this code we can get new api for yml tag.
0 Comment(s)