point_of_sale: Add _prepare_analytic_account method

The goal is to easily set the analytic account in the account move lines generated during the validation/closing of a POS session from a custom module.