Monday, July 13, 2020
1 change · master
Enhancements to existing features
Odoo can now require a state or region when entering customer addresses for countries that need it, such as the United States. This helps businesses collect the location details needed for tax filing and compliance while keeping the existing optional behavior for other countries.
Original PR description
Before this commit state field was not mandatory in any condition. but, for fiscal reasons, we need to know the state of united-state's customers.so there is need to make it mandatory for usa-based customers. we have added one boolean field in country form. if is true then state field will be mandatory in partner form. Task-ID: 2232229