[FIX] pos_restaurant: validate number of guest put by user
Description of the issue/feature this PR addresses:
The user could make the mistake to put a large number in the Guests number in the order of POS and this is not validated, this MR is adding a validation error in order to limit the number of Guests.
Current behavior before PR:
Error in the confirmation page in POS related to the number of guests is so large to save in the field in DB.
psycopg2.errors.NumericValueOutOfRange: integer out of range
Desired behavior after PR is merged:
Validation error with a friendly message to the user at the time of put the number of guests large:

Fix https://github.com/odoo/odoo/issues/105389
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
@hugho-ad
Could you review this, please?
Hello @trj-odoo @pimodoo
could you please review this?
Also, please add a commit message description, see https://www.odoo.com/documentation/master/contributing/development/coding_guidelines.html?highlight=github%20guideline#commit-message-full-description
@trj-odoo
The commit message description was updated.
cc @hugho-ad
@robodoo r+
@fernandahf @trj-odoo we apparently missed an update to this PR and tried to stage it in a state which might not have been approved. PR has been updated to 45b55cc9a9a29783836fe28b38aff3d4b3259ac3, please check and approve or re-approve.
@trj-odoo
could please retry the merge?
@robodoo r+
@fernandahf @trj-odoo this pull request has forward-port PRs awaiting action (not merged or closed): odoo/odoo#106523
