Browse Source

bug affichage facture

dev-rcn
root 3 years ago
parent
commit
3dc0d41883
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      controllers/kalachakra.py

+ 1
- 1
controllers/kalachakra.py View File

@ -31,7 +31,7 @@ class Kalachakra_PortalAccount(CustomerPortal):
#KALACHAKRA : on affiche que les factures de l'utilisateur ( idem pour les admins)
AccountInvoice = request.env['account.move'].search([('user_id','=',int(request.env.context.get('uid')))])
domain = [('move_type', 'in', ('out_invoice', 'out_refund', 'in_invoice', 'in_refund', 'out_receipt', 'in_receipt'))]
domain = ['&',('user_id','=',int(request.env.context.get('uid'))),('move_type', 'in', ('out_invoice', 'out_refund', 'in_invoice', 'in_refund', 'out_receipt', 'in_receipt'))]
searchbar_sortings = {
'date': {'label': _('Date'), 'order': 'invoice_date desc'},


Loading…
Cancel
Save