If you were looking for something specific you probably got redirected here from an old link to my (now gone) drupal blog. I migrated all the pages & blog entries to this blog, so just use the search here to find what you were looking for.
To optimize workflow (and avoid mistakes) I wanted to set a default account(ing) category so that tax,.. is set by default. Took a little bit of experimenting, but I got it:
Since Tryton 6.0 had the awesome product kit module added I saved a lot of time and only had to add some custom logic for my extra fields.
This is more of a test post, but also keep in mind when upgrading python versions to also remove version numbers on some of the requirements.txt stuff ..
Upgrading Tryton from 5.8 to 6.0 was nearly completely painless - in part due to the fact I am only using a few modules so far (and my custom module is not too big either).
I added a Boolean field to SaleLine - one that is not shown to the user but only set in the code as a flag. As the readonly state of just about all my custom fields should depend on that I added: