oca-ocb-core/odoo-bringout-oca-ocb-base_geolocalize/base_geolocalize
Ernad Husremovic ccb7625273 Fix hr_payroll_clone: AttributeError, add journal/work_type support, use standard wizard
- Fix AttributeError: hr.payslip.run has no company_id field
- Change batch name format from MM/YYYY to YYYY-MM (remove 'Payslips' prefix)
- Add journal_id field and copy from previous batch
- Add work_type_id support (Redovni rad/Regular work) in timesheet generation
- Add duplicate check for existing timesheets to prevent duplication
- Use standard Odoo hr.payslip.employees wizard for payslip generation
- Update version to 16.0.1.1.0

🤖 assisted by claude

🤖 assisted by claude
2025-11-04 22:43:28 +01:00
..
data Initial commit: Core packages 2025-08-29 15:20:45 +02:00
i18n Fix hr_payroll_clone: AttributeError, add journal/work_type support, use standard wizard 2025-11-04 22:43:28 +01:00
models Initial commit: Core packages 2025-08-29 15:20:45 +02:00
security Initial commit: Core packages 2025-08-29 15:20:45 +02:00
tests Initial commit: Core packages 2025-08-29 15:20:45 +02:00
views Initial commit: Core packages 2025-08-29 15:20:45 +02:00
__init__.py Initial commit: Core packages 2025-08-29 15:20:45 +02:00
__manifest__.py Initial commit: Core packages 2025-08-29 15:20:45 +02:00
README.md Initial commit: Core packages 2025-08-29 15:20:45 +02:00

Partner geolocalize

Contacts geolocation API to convert partner addresses into GPS coordinates.

Configure

You can configure in General Settings the default provider of the geolocation API service.

A method _call_<service> should be implemented in object base.geocoder that accepts an address string as parameter and return (latitude, longitude) tuple for this to work. If no default provider is set, the first one will be used by default.

An optional method _geo_query_address_<service> which takes address fields as parameters can be defined to encode the query string for the provider.