Thursday, July 13, 2023
2 changes · master
New functionality added to Odoo
Odoo now includes balance sheet and profit and loss reports for the Greece localization. These reports follow Greek Accounting Standards, helping Greek businesses prepare key financial statements more easily and consistently.
Original PR description
Add a balance sheet and profit and loss reports for the new rework of the Greece localization. These documents are based on Greek Accounting Standards (Law 4308/2014) task-2744373
Avalara tax calculations now account for the actual shipping origin of each sale or invoice line when products ship from different locations. This helps businesses calculate taxes more accurately and reduces the risk of incorrect tax amounts on orders involving multiple warehouses or delivery points.
Original PR description
Before this commit: When computing the tax using the avatax service, one document level 'addresses' parameter was sent with the company's location as a 'shipFrom' value and the partner's location as a 'shipTo'. When some products are shipped from different locations, this may impact the calculated tax. After this commit: When computing the taxes using avatax in a sale order or an invoice created from a sale order with sale and stock installed, we check where each line is delivered from and if delivered from a different address than the company's, we add line level 'addresses' parameter to the line with the correct 'shipFrom' address. Even though the 'shipTo' is the same since the customer's address won't change, it still has to be added to the line level 'addresses' as per the Avatax docs as it no longer inherits the document level 'addresses'. task-3279421