Thursday, May 30, 2024
3 changes · master
New functionality added to Odoo
Adds a new Colombian eInvoicing module that lets companies send invoices, credit notes, and debit notes directly to DIAN instead of using the paid Carvajal intermediary. This reduces external service dependency and cost while supporting both testing and production DIAN flows.
Original PR description
Community: https://github.com/odoo/odoo/pull/156094 -- Context -- In Colombia, it's mandatory to send every invoice, credit note, debit note to the authorities. It's currently possible using…
Community: https://github.com/odoo/odoo/pull/156094 -- Context -- In Colombia, it's mandatory to send every invoice, credit note, debit note to the authorities. It's currently possible using "Carvajal", an intermediate that defines a custom format of xml and translates it into UBL to send it to the DIAN (the National Tax and Customs Directorate). Unfortunately, Carvajal is very expensive (at the user's expense) and maintenance is complex since we depends on Carjaval's documentation rather than the DIAN's documentation. In addition, testing is complex as they blocked IPs from France and Belgium, and they also switch off their servers at night (!). We can do without Carvajal, by communicating directly with DIAN's webservices which uses standard UBL... and it's free ! This is what is done in this PR. In addition, `l10n_co_dian` dos not require `account_edi`, as it relies on the Send & Print wizard. -- How to use ? -- To use DIAN's service, a user needs to request a public and private key to the DIAN (used to authenticate the xml sent). There are 2 modes: * The habilitation mode endpoint: https://vpfe-hab.dian.gov.co/WcfDianCustomerServices.svc?wsdl 1. used to test the flow (using "SendBillSync") 2. used to be authorized to switch to the production mode (using "SendTestSetAsync") * The production mode: used to send real invoices (using "SendBillSync") endpoint: https://vpfe.dian.gov.co/WcfDianCustomerServices.svc?wsdl The testing class `TestDianFlows` contains several examples of typical flows. -- To be done later -- We cannot remove Carvajal to soon as customers have contracts with them. The plan is to keep Carvajal until 18.0. So in 18.0, we will merge `l10n_co_dian` with `l10n_co_edi`, such that only `l10n_co_edi` remains (containing the DIAN implementation). task-3141517
Adds United Kingdom payroll support so businesses can generate payslips from employee contracts and produce yearly P60 substitutes. It also supports statutory payments, student loan repayments, pension contributions, benefits in kind, and employee National Insurance letters.
Enhancements to existing features
Project budgets are now calculated using analytic accounts instead of budget positions, simplifying how budget lines are configured and tracked. The update also adds committed amount tracking from purchase orders and introduces a new budget report view for clearer budget monitoring.
Original PR description
Before this commit: The Budget was counted using budget position and analytical account After this commit: Removed Budget position from the budget line. Model renamed `crossovered.budget` to `budget.analytic` and `crossovered.budget.line` to `budget.line` Removed/Renamed some fields of these models. Now the budget will be counted using a combination of analytical accounts only. Also created a new field in a budget line called committed amount which will be calculated from the analytical distribution of the purchase order line A new budget report view is created. task - 3623445