<commit_before># Changelog

##[Unreleased 5.1.8]
##Features
- USER MANAGEMENT : add traking on all fields of user-form, group-form, role-form and permission-form

##Improvements
- DEMO DATA : Reduce padding in sequence for all modules.
- PURCHASE REQUEST : fill stockLocation automatically
- Employee : Change wrong fields names on service method respectively from 'fromDate' , 'toDate' to 'fromDateT' , 'toDateT'.

##Bug Fixes
- SALE/PURCHASE ORDER LINES : dates should not be in readonly
- PROJECT : display the cancel button even if the status is draft
- BANKORDERLINE : grid view sorting on bankOrderDate
- CHEQUE REJECTION : fix payment voucher selection.
- PAYMENT VOUCHER : trace exceptions happening on save in repository
- ACCOUNT/STOCK : add more french translation.
- PURCHASEORDERLINE : corrected potential injection error when calling service
- SALE ORDER LINE: Fix NPE in groovy script.

## [5.1.7] - 2019-06-17
- USER : filter assigned to user in partner form
- AVAILABITY REQUEST : error message if availableStock is less than realQty - reservedQty on stock move line

## Improvements
- SALE ORDER : line not editable if availability request = true
- Project : Reset the progression when we copy a Project
- EMPLOYEE : disable canEdit on kilometricAllowParam and put validation on vehicle dates
- Sale Order: allow sale order line deletion for non delivered lines even with a realized stock move.
- SaleOrderLine : Set discount type to 'No Discount' if no discount to apply on product change
- Stock Move: generate a draft customer returns from an outgoing stock move and reorganize stock move tabs in form view
- Timesheet : Set conditions on dates for generate lines automatically
- Debt Recovery : delete canEdit from fields
- Configurator Prod Process and BOM: add new fields : code, codeFormula, defCodeAsFormula, stockLocationFormula, 
defStockLocationAsFormula, producedProductStockLocation, producedProductStockLocationFormula, defProducedProductStockLocationAsFormula, 
workshopStockLocation, workshopStockLocationFormula, defWorkshopStockLocationAsFormula
- Availability Request: cannot lower reserved quantity.
- PURCHASE REQUEST : Rename supplier field, Add new fields sequence,stockLocation and fix NPE on Generate PO
- FIXED ASSET : Change in the process of calculation
- LOCATION FINANCIAL DATA : new booleans to manage different printing
- Sale Order Line: improve the logic of requested quantity.
- MRP: Add the start date time and end date time
- FIXED ASSET : Change in disposal process
- MoveLine : The irrecoverable panel in move line form view should be hidden when everything inside it is  hidden.
- LOCATION FINANCIAL DATA : Change report design
- PURCHASE ORDER : Updated Error Message for delivery date
- INVENTORY : new selection for formatSelect
- Reserved Qty: Add tracking for allocated and requested quantity.
- Sale Order Line: new buttons to allocate and deallocate a line in grid view.
- FIXED ASSET : management (Validate disposal date, Modify disposal move amount calculation)
- CRM : copy lead description in opportunity description
- Mass Cust./Suppl. Stock Move Invoicing : add more lines in table.
- ACCOUNT FORM : tracking added in form fields.
- PURCHASE REQUEST : display stockLocation on purchase-request-grid
- Invoice Line : canEdit = false on saleOrderLine and purchaseOrderLine.
- STOCK : filter product according to stochManage = true
- GRID : sequences in column grid are now completely displayed 
- Stock Move: update future quantity from real quantity in planned stock moves.
- Invoice : add the possibility to enable/disable the pdf generation on ventilation for customers or suppliers in invoice application configuration
- Sale Order Line: new buttons to create/cancel a reservation for a given line.
- EVENTSPLANNING : update demo data with 2018/2019 event days.
- INVOICE : Reduce padding in sequence for invoice number.
- INVOICE : Concatenate content of 'note' field instead of override.
- MRP FORECAST :change a status of MrpForecast object from 'Draft' to 'Confirmed' in demo data.
- SALE / PURCHASE ORDER : New menus for orders awaiting for a stockmove
- TRACKING : Added all fields for all apps and also for company's configuration

## Bug Fixes
- STOCK MOVE : Added fr translation for 'Not Invoiced' tag
- TOOL : test class to allow to run it on windows environment.
- Appraisal : Change mistyped field name 'statusSelected' to 'statusSelect'
- PROJECT : display title of membersUserSet Field 
- INVOICE : Set accounting panel hidden for advance invoice
- SaleOrder : show error message on click of generateInvoice button if saleOrder is already paid
- SaleOrder: fix error message of advanced payment with 0 amount to invoice
- SaleOrder : display error message when total Amount = 0 and saleOrderLineList is not empty
- SaleOrder/PurchaseOrder : add error message if line list is empty when validate/finalise an order
- Translation: fix existing and add missing translations.
- Logistical Form : wrong french translation for LogisticalFormLine.qty
- SaleOrder : when amount = 0, we can only choose Invoice All.
- Stock Move: automatic mail configuration is retrieved from the company stock config
- Configurator BOM: change type of formula fields and useCondition field to text.
- SaleOrder: display error message when amount to invoice is greater than saleOrder's amount
- StockMove: product from a stockMoveLine is not readonly when a stockmove is planned
- Configurator Creator: more fixes to import/export feature.
- ACCOUNTING MOVE : Display error when creating new move line with debit,credit and currency amount is zero.
- Move: fix NPE in move excess payment service.
- Raw Material Requirement: when the raw material requirement name is null, it's not printed on the report.
- ADVANCE SEARCH : error when define sub bill of material = true
- SaleOrderLine: Display product available qty on product grid view.
- Sale Order: added a whitespace between qty and unit in the sale order report.
- MoveLine: fix NPE in groovy action.
- Reserved Qty: fix multiple allocations in sale order lines with same product.
- Stock Move: unused description field removed
- Sale Order: show invoiced tag with multiple invoices.
- Invoice: fix refunds grid view.
- SaleOrder: show exception on confirm.
- PURCHASE ORDER : ConstraintViolationException (Duplicate TrackingNumber Error)
- Stock Move Mass Invoicing: fix anomalies happening with >10 stock moves.
- CUT-OFF: fix wrong views in the show move lines action view and fix exception when the id list is empty.
- BANK ORDER : Generate the bank order file when we confirm the bank order even if the ebics module is not enabled 
- FIXED ASSET : set values for disposalValue and disposalDate, set readonly=true for disposalMove, modify disposalMove amount
- Sale Order : Modify name of attached file when finalize sale quotation.
- Sale Order: do not notify stock move creation when stock move generation fails.
- Requested quantity: do not block when having negative quantity in stock move lines.
- SALE ORDER : user can generate a purchase order from a saleOrder with just a productName on its saleOrderLine.
- Ticket : corrected appearance behavior of cancel button in the ticket form. 
- Prod Process : Corrected display of the field Stock move realize order select.
- DELIVERY CONDITION : hide mention in BIRT if deliveryCondition = null
- PURCHASE REQUEST : Fix generating PO for null stock location
- INVOICE : rename and hide field for advance search.
- QUALITY PROCESS : order controlPointModeList by priority DESC
- FIXED ASSET :  Remove all lines in the depreciations table
- PURCHASE ORDER : Remove completedBtn
- Client invoice merging : Fix the constraint violation in stockMove when deleting the base invoices.
- PURCHASE ORDER PRINTING : display buyer email and phone as in sale order printing
- Payroll preparation : fixed bug on triggering the "refresh" button
- SALE MANAGER : issue with currency conversion on turnover per saleman dashboard
- TRAINING : translate "skill"
- PACKING LIST : display productName instead of product on printing
- Tool : Increase of time in Unit Test.
- LEAVE REQUEST : grid-view is now order by fromDateT DESC. 
- INCOMING STOCK MOVE : Allow empty product of partner product quality rating
- Account : correction of the french account codification in accordance to the FEC
- Sale order : fix printing issues on subscription sale quotations & orders
- LEAVE REQUEST CALENDAR : colorBy is now set to user.
- INCOMING STOCK MOVE : Allow empty product of partner product quality rating 
- Currency Conversion : Fix divideByZero arithmetic exception
- PROJECT/TEAMWORK : corrected error in enumeration when the value PROJECT_ALONE is selected
- Employee : the category formation chart is now correctly centered on the employee
- Picking Stock Move : Fix NPE if stockMove is null on setting his editDate
- Reconcile : set company currency if move's currency is null
- Team Task : Removed adding new task from Kanban view through "Add" button
- INVOICE : NPE when companyBankDetails is null
- SALE ORDER : Update discount calculation in sale order report
- PACKING LIST : address not readable on printing

## [5.1.6] - 2019-04-29
## Features
- TAX : Added typeSelect (Tax type) and filter in accounting reports
- TAX : Added typeSelect (Tax type : on debit / on payment) and filter in both tax accounting reports
- Leave reason: choose unit between days and hours.
- INVOICE LINE MENU : add new columns in grid view
- Studio: Auto fill app name for new model when app is selected. Added help support. 
- PRODUCTS : Differentiate a classic product from a customised one

## Improvements
- CRM : Convert leads (change title and change the translation of title).
- General Ledger & Partner General Ledger Printing : Display Journal in moveLine. 
- DEBT RECOVERY : Hide validateDebtRecoveryBtn if waitDebtRecoveryMethodLine is null
- DEBT RECOVERY : New translation of debtRecoveryMethod and debtRecoveryMethodLine
- PURCHASE ORDER PRINTING : Change titles and add productStandard
- DEBT RECOVERY : New title for fields debtRecoveryMethodLine and debtRecovery.accountingSituation.partner.
- STOCK LOCATION : Add 'Totals per Product Family' in Report
- DEBT RECOVERY : add color in debt recovery lines in grid view<commit_msg>Anomaly RM#18693 PACKING LIST : Updating CHANGELOG.md<commit_after># Changelog

##[Unreleased 5.1.8]
##Features
- USER MANAGEMENT : add traking on all fields of user-form, group-form, role-form and permission-form

##Improvements
- DEMO DATA : Reduce padding in sequence for all modules.
- PURCHASE REQUEST : fill stockLocation automatically
- Employee : Change wrong fields names on service method respectively from 'fromDate' , 'toDate' to 'fromDateT' , 'toDateT'.

##Bug Fixes
- SALE/PURCHASE ORDER LINES : dates should not be in readonly
- PROJECT : display the cancel button even if the status is draft
- BANKORDERLINE : grid view sorting on bankOrderDate
- CHEQUE REJECTION : fix payment voucher selection.
- PAYMENT VOUCHER : trace exceptions happening on save in repository
- ACCOUNT/STOCK : add more french translation.
- PURCHASEORDERLINE : corrected potential injection error when calling service
- SALE ORDER LINE: Fix NPE in groovy script.
- PACKING LIST : address not readable on printing

## [5.1.7] - 2019-06-17
- USER : filter assigned to user in partner form
- AVAILABITY REQUEST : error message if availableStock is less than realQty - reservedQty on stock move line

## Improvements
- SALE ORDER : line not editable if availability request = true
- Project : Reset the progression when we copy a Project
- EMPLOYEE : disable canEdit on kilometricAllowParam and put validation on vehicle dates
- Sale Order: allow sale order line deletion for non delivered lines even with a realized stock move.
- SaleOrderLine : Set discount type to 'No Discount' if no discount to apply on product change
- Stock Move: generate a draft customer returns from an outgoing stock move and reorganize stock move tabs in form view
- Timesheet : Set conditions on dates for generate lines automatically
- Debt Recovery : delete canEdit from fields
- Configurator Prod Process and BOM: add new fields : code, codeFormula, defCodeAsFormula, stockLocationFormula, 
defStockLocationAsFormula, producedProductStockLocation, producedProductStockLocationFormula, defProducedProductStockLocationAsFormula, 
workshopStockLocation, workshopStockLocationFormula, defWorkshopStockLocationAsFormula
- Availability Request: cannot lower reserved quantity.
- PURCHASE REQUEST : Rename supplier field, Add new fields sequence,stockLocation and fix NPE on Generate PO
- FIXED ASSET : Change in the process of calculation
- LOCATION FINANCIAL DATA : new booleans to manage different printing
- Sale Order Line: improve the logic of requested quantity.
- MRP: Add the start date time and end date time
- FIXED ASSET : Change in disposal process
- MoveLine : The irrecoverable panel in move line form view should be hidden when everything inside it is  hidden.
- LOCATION FINANCIAL DATA : Change report design
- PURCHASE ORDER : Updated Error Message for delivery date
- INVENTORY : new selection for formatSelect
- Reserved Qty: Add tracking for allocated and requested quantity.
- Sale Order Line: new buttons to allocate and deallocate a line in grid view.
- FIXED ASSET : management (Validate disposal date, Modify disposal move amount calculation)
- CRM : copy lead description in opportunity description
- Mass Cust./Suppl. Stock Move Invoicing : add more lines in table.
- ACCOUNT FORM : tracking added in form fields.
- PURCHASE REQUEST : display stockLocation on purchase-request-grid
- Invoice Line : canEdit = false on saleOrderLine and purchaseOrderLine.
- STOCK : filter product according to stochManage = true
- GRID : sequences in column grid are now completely displayed 
- Stock Move: update future quantity from real quantity in planned stock moves.
- Invoice : add the possibility to enable/disable the pdf generation on ventilation for customers or suppliers in invoice application configuration
- Sale Order Line: new buttons to create/cancel a reservation for a given line.
- EVENTSPLANNING : update demo data with 2018/2019 event days.
- INVOICE : Reduce padding in sequence for invoice number.
- INVOICE : Concatenate content of 'note' field instead of override.
- MRP FORECAST :change a status of MrpForecast object from 'Draft' to 'Confirmed' in demo data.
- SALE / PURCHASE ORDER : New menus for orders awaiting for a stockmove
- TRACKING : Added all fields for all apps and also for company's configuration

## Bug Fixes
- STOCK MOVE : Added fr translation for 'Not Invoiced' tag
- TOOL : test class to allow to run it on windows environment.
- Appraisal : Change mistyped field name 'statusSelected' to 'statusSelect'
- PROJECT : display title of membersUserSet Field 
- INVOICE : Set accounting panel hidden for advance invoice
- SaleOrder : show error message on click of generateInvoice button if saleOrder is already paid
- SaleOrder: fix error message of advanced payment with 0 amount to invoice
- SaleOrder : display error message when total Amount = 0 and saleOrderLineList is not empty
- SaleOrder/PurchaseOrder : add error message if line list is empty when validate/finalise an order
- Translation: fix existing and add missing translations.
- Logistical Form : wrong french translation for LogisticalFormLine.qty
- SaleOrder : when amount = 0, we can only choose Invoice All.
- Stock Move: automatic mail configuration is retrieved from the company stock config
- Configurator BOM: change type of formula fields and useCondition field to text.
- SaleOrder: display error message when amount to invoice is greater than saleOrder's amount
- StockMove: product from a stockMoveLine is not readonly when a stockmove is planned
- Configurator Creator: more fixes to import/export feature.
- ACCOUNTING MOVE : Display error when creating new move line with debit,credit and currency amount is zero.
- Move: fix NPE in move excess payment service.
- Raw Material Requirement: when the raw material requirement name is null, it's not printed on the report.
- ADVANCE SEARCH : error when define sub bill of material = true
- SaleOrderLine: Display product available qty on product grid view.
- Sale Order: added a whitespace between qty and unit in the sale order report.
- MoveLine: fix NPE in groovy action.
- Reserved Qty: fix multiple allocations in sale order lines with same product.
- Stock Move: unused description field removed
- Sale Order: show invoiced tag with multiple invoices.
- Invoice: fix refunds grid view.
- SaleOrder: show exception on confirm.
- PURCHASE ORDER : ConstraintViolationException (Duplicate TrackingNumber Error)
- Stock Move Mass Invoicing: fix anomalies happening with >10 stock moves.
- CUT-OFF: fix wrong views in the show move lines action view and fix exception when the id list is empty.
- BANK ORDER : Generate the bank order file when we confirm the bank order even if the ebics module is not enabled 
- FIXED ASSET : set values for disposalValue and disposalDate, set readonly=true for disposalMove, modify disposalMove amount
- Sale Order : Modify name of attached file when finalize sale quotation.
- Sale Order: do not notify stock move creation when stock move generation fails.
- Requested quantity: do not block when having negative quantity in stock move lines.
- SALE ORDER : user can generate a purchase order from a saleOrder with just a productName on its saleOrderLine.
- Ticket : corrected appearance behavior of cancel button in the ticket form. 
- Prod Process : Corrected display of the field Stock move realize order select.
- DELIVERY CONDITION : hide mention in BIRT if deliveryCondition = null
- PURCHASE REQUEST : Fix generating PO for null stock location
- INVOICE : rename and hide field for advance search.
- QUALITY PROCESS : order controlPointModeList by priority DESC
- FIXED ASSET :  Remove all lines in the depreciations table
- PURCHASE ORDER : Remove completedBtn
- Client invoice merging : Fix the constraint violation in stockMove when deleting the base invoices.
- PURCHASE ORDER PRINTING : display buyer email and phone as in sale order printing
- Payroll preparation : fixed bug on triggering the "refresh" button
- SALE MANAGER : issue with currency conversion on turnover per saleman dashboard
- TRAINING : translate "skill"
- PACKING LIST : display productName instead of product on printing
- Tool : Increase of time in Unit Test.
- LEAVE REQUEST : grid-view is now order by fromDateT DESC. 
- INCOMING STOCK MOVE : Allow empty product of partner product quality rating
- Account : correction of the french account codification in accordance to the FEC
- Sale order : fix printing issues on subscription sale quotations & orders
- LEAVE REQUEST CALENDAR : colorBy is now set to user.
- INCOMING STOCK MOVE : Allow empty product of partner product quality rating 
- Currency Conversion : Fix divideByZero arithmetic exception
- PROJECT/TEAMWORK : corrected error in enumeration when the value PROJECT_ALONE is selected
- Employee : the category formation chart is now correctly centered on the employee
- Picking Stock Move : Fix NPE if stockMove is null on setting his editDate
- Reconcile : set company currency if move's currency is null
- Team Task : Removed adding new task from Kanban view through "Add" button
- INVOICE : NPE when companyBankDetails is null
- SALE ORDER : Update discount calculation in sale order report

## [5.1.6] - 2019-04-29
## Features
- TAX : Added typeSelect (Tax type) and filter in accounting reports
- TAX : Added typeSelect (Tax type : on debit / on payment) and filter in both tax accounting reports
- Leave reason: choose unit between days and hours.
- INVOICE LINE MENU : add new columns in grid view
- Studio: Auto fill app name for new model when app is selected. Added help support. 
- PRODUCTS : Differentiate a classic product from a customised one

## Improvements
- CRM : Convert leads (change title and change the translation of title).
- General Ledger & Partner General Ledger Printing : Display Journal in moveLine. 
- DEBT RECOVERY : Hide validateDebtRecoveryBtn if waitDebtRecoveryMethodLine is null
- DEBT RECOVERY : New translation of debtRecoveryMethod and debtRecoveryMethodLine
- PURCHASE ORDER PRINTING : Change titles and add productStandard
- DEBT RECOVERY : New title for fields debtRecoveryMethodLine and debtRecovery.accountingSituation.partner.
- STOCK LOCATION : Add 'Totals per Product Family' in Report
- DEBT RECOVERY : add color in debt recovery lines in grid view
{'fraction_non_alphanumeric': 0.04584263122149995, 'fraction_numerical': 0.0039293683904142816, 'mean_word_length': 4.410761154855643, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1242809', 'n_tokens_mistral': 5395, 'n_tokens_neox': 5067, 'n_words': 2798}