cea588b1ed6aa32a9f39cc43a28942dd21120a37
Before this commit, the string with the phone number sent to Stripe for the request is not checked and we got this error on the checkout page --------------------- We are not able to process your payment. Stripe: The communication with the API failed. Stripe gave us the following info about the problem: 'Invalid string: +1 555-555...5678456789; must be at most 20 characters' ----------------------- The stripe API does not accept phone numbers with more than 20 characters The problematic phone number are mostly the one with extention: +1 780-459-5656 ext. 725 But the customer can put anything in the phone field when he buys some product via eCommerce Now I just limit the phone string to 20 characters, this doesn't affect the res.partner If the customer had a phone with more than 20 characaters in the res.partner form, it will stay that way. It's only for the stripe request closes odoo/odoo#109834 X-original-commit: d24cc320854f180989949328396dbbd8ac69bdc9 Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
…
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%