This changes some things to make them compatible with Odoo 14:
Pass context to write() as a keyword argument instead of positional
Pass 'undef' to Odoo as XML-RPC false - Odoo has become more fussy about this and won't accept an XML-RPC nil any more.
I've mounted this into my other BCA environment and run all the automated tests to check it still works with Odoo 8 and it all looks OK.
See the individual commit messages for a list of what was necessary.
I've also changed a couple of things from postfix if and early return to a more structured if..elsif..else structure, in which it's easier to see the branching logic. Please read the code carefully where I've done this to convince yourself the new code is semantically the same.
This changes some things to make them compatible with Odoo 14:
I've mounted this into my other BCA environment and run all the automated tests to check it still works with Odoo 8 and it all looks OK.
See the individual commit messages for a list of what was necessary.
I've also changed a couple of things from postfix if and early return to a more structured if..elsif..else structure, in which it's easier to see the branching logic. Please read the code carefully where I've done this to convince yourself the new code is semantically the same.