Files
odoo_source/addons/pos_restaurant
Joseph Caburnay 06e0a005a3 [FIX] pos_restaurant: US tipping should not be set by default
In SaaS, the DB is pre-prepared with the generic chart of accounts before the
new user finishes the form. Since the default country of the generic chart of
accounts is the US, then `set_tip_after_payment` option in the pre-created
pos.config is set to True. Now, when the form is submitted, the country is
identified but the said option remains to be True. This is a problem because not
all customers are creating an odoo instance for a US company. So customers from
other countries will have the option activated by default which is not a good
default for them.

We introduced this behavior in aa1c5b53bf131c6df96ad621e00bd2ee3d44c6c0 and in
this commit we won't set the option by default anymore.

closes odoo/odoo#149542

Task-id: 3635635
Signed-off-by: Vlad Stroia (vlst) <vlst@odoo.com>
2024-03-18 13:28:05 +00:00
..
…