Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • YAML in Odoo

    • 0
    • 0
    • 0
    • 1
    • 0
    • 0
    • 0
    • 0
    • 428
    Comment on it

    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)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: