Thursday, July 13, 2023
3 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
Knowledge users can embed a calendar inside an article to show and manage that article’s items by date. The setup dialog lets users choose or create date and color properties, making article item planning easier, while the older Appointment calendar command is removed to avoid confusion.
Original PR description
Purpose -------- Add a new editor command "/item calendar", that allows users to embed a calendar view showing the items of the current article, using the properties of these items to display them in…
Purpose -------- Add a new editor command "/item calendar", that allows users to embed a calendar view showing the items of the current article, using the properties of these items to display them in the calendar. Usual calendar features such as creation, edition of "events" (article items in this case) are working and sets/edits the corresponding item properties. Since the properties are stored in the behaviorProps, these are not available when opening an items list or kanban. Therefore, the calendar view switch button is hidden in this case. The properties are thus also not available when reloading the page. In that case, we show an empty calendar with a warning. When inserting the item calendar, a dialog allows the user to select the properties to use in the item calendar view: - name (string - name of the view) - start date (date/datetime property - mandatory) - end date (date/datetime property - same type as start date property) - color (boolean/selection/many2one property - used to show the items in different colors, randomly) - default scale (calendar scales) The creation of new date or datetime properties is possible from this dialog. If no date/datetime property exists, two default start and stop dates will be created. This dialog can also be used to edit an existing embedded view, by clicking on the edit button of the embedded view manager. The "/calendar" command from Appointment has been removed as it has a similar name and is less convenient than this new command anyways. Task-3239985