Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Validations
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Épicerie
    • Quincaillerie
    • Magasin de jouets
    Food & Hospitality
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brewery
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Trades
    • Bricoleur
    • Matériel informatique et support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Browse all Industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenez partenaire
    • Services for Partners
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Comptabilité
  • Inventaire
  • PoS
  • Projet
  • MRP
All apps
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

How to change 'view account' status to avoid "You cannot create analytic line on view account."

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
analytictimesheetaccount_id
3 Réponses
8897 Vues
Avatar
Stefan Reichel

The admin user can add new lines (for existing contracts/account) to his current timesheet. Other users (even wth manager access) receive the following:

ValidateError

Field(s) `account_id` failed against a constraint: You cannot create analytic line on view account.

Error details:

AccessError

The requested operation cannot be completed due to security restrictions. Please contact your system administrator.

(Document type: account.analytic.line, Operation: read)

I verified the ACLs in settings for any "account.analytic.line" entry. I think the problem lies in the first line of the error message "You cannot create analytic line on view account.". How can I check (and reset) the status of the account?

I need to get our users to track their time against those accounts again.

This was working until yesterday, when I invoiced some of the timesheet lines to a customer. since then, the views (timesheet, journal entries, etc) of the analytic account and timesheet records seems to be filtered to only that customers, that we send the invoice to.

Please explain/help how to reset this filter/account state.

We run Odoo 8.

0
Avatar
Ignorer
Avatar
Sudhir Arya (ERP Harbor Consulting Services)
Meilleure réponse

I don't know why you have this issue.

Please check the access rights and record rules of "account.analytic.line" object.

Go to "Settings / Technical / Database Structure / Models" and then search for account.analytic.line object, open the record and check the access rights.

If access rights seems correct, check the record rules "Settings / Technical / Security / Record Rules" and search for analytic line object and check the record rule. There should be only one rule which looks like this: ['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]

Let me know if there are another rules.

Sudhir Arya
ERP Harbor Consulting Services
Skype:sudhir@erpharbor.com
Website: http://www.erpharbor.com
3
Avatar
Ignorer
Stefan Reichel
Auteur

Hi Sudhir,

Thank you for your response. The model's security's access rights have all "read" boxes ticked.

The Record Rules have only the one rule you mentioned.

What else is there to check, please?

Cheers,

Stefan

Noura Abdelnoor

can't get any object in record rule called analytic line

Avatar
W.J. Stemerdink
Meilleure réponse

Hi Sudhir,

Thanks for your instructions. Like Stefan, I did the same, and still the error pops up.

Do you have any idea how to go about this?

Thanks a lot for your kind help,

Wouter


0
Avatar
Ignorer
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Publications associées Réponses Vues Activité
What is the Meaning of Analytic Account Résolu
analytic timesheet
Avatar
Avatar
1
déc. 23
21968
if I update any current record in timesheet and say Save then also it is showing the previous record.
v7 analytic timesheet
Avatar
0
mars 15
4230
related Many2One field Résolu
analytic timesheet reference related_fields
Avatar
Avatar
2
sept. 22
3674
How to track project cost with Time sheet in V11 Résolu
project account analytic timesheet
Avatar
Avatar
1
nov. 19
5199
Non user employee and timesheet
project analytic timesheet employees
Avatar
Avatar
1
févr. 17
5446
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenez partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now