Closed CarlosRoca13 closed 1 month ago
Tested an working. The only comment is about the commit message. It's a FIX instead of an IMP, as there's something not working, and the first line should express what is fixing:
[FIX] spreadsheet_oca: Show the "Add" button in invoice list
If any module males a primary template from the ones where the button is added, the button wasn't be shown previously.
That's because the inheritance and load order works in OWL. The way to fix this is to make this load order deterministic specifying to be loaded after the corresponding template for being taken into account for primary views. This also required to split the templates file into several ones.
Change done @pedrobaeza
/ocabot merge minor
What a great day to merge this nice PR. Let's do it! Prepared branch 16.0-ocabot-merge-pr-46-by-pedrobaeza-bump-minor, awaiting test results.
Congratulations, your PR was merged at ac4980b7eceaa694d5f833d9939ae0a3b787747a. Thanks a lot for contributing to OCA. ❤️
If this files aren't charged just after the main file if some module that is charged before spreadsheet_oca makes a primary template, the button will not be shown.
Exmple:
cc @Tecnativa TT50815
ping @pedrobaeza @chienandalu