Skip to content
Snippets Groups Projects
  • Mylyna Hy's avatar
    b5106da3
    [IMP] point_of_sale: no CoA error visible for pos · b5106da3
    Mylyna Hy authored
    
    Problem: The error "There is no chart of accounts installed for this company..." appears for POS shop configurations
    if they don't have a chart template configured for the company. It doesn't take into account if the company has its
    own set of accounts so it will always show the error unless the chart template is set.
    
    Solution: Include an additional condition to check if the company has accounting entries which is used to check
    if the company has used its own set of chart of accounts for accounting.
    
    Purpose: The error will only appear if the company has no chart template set or no accounting entries.
    
    opw-3291399
    
    closes odoo/odoo#119901
    
    Signed-off-by: default avatarLaurent Smet <las@odoo.com>
    b5106da3
    History
    [IMP] point_of_sale: no CoA error visible for pos
    Mylyna Hy authored
    
    Problem: The error "There is no chart of accounts installed for this company..." appears for POS shop configurations
    if they don't have a chart template configured for the company. It doesn't take into account if the company has its
    own set of accounts so it will always show the error unless the chart template is set.
    
    Solution: Include an additional condition to check if the company has accounting entries which is used to check
    if the company has used its own set of chart of accounts for accounting.
    
    Purpose: The error will only appear if the company has no chart template set or no accounting entries.
    
    opw-3291399
    
    closes odoo/odoo#119901
    
    Signed-off-by: default avatarLaurent Smet <las@odoo.com>