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
    Restauration & Hôtellerie
    • 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
    • Brasserie
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Commerce
    • Bricoleur
    • Matériel informatique & 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
    Parcourir toutes les 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 pour partenaires
    • 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

Warehouse record rules error revisited..

S'inscrire

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

Cette question a été signalée
warehouseslocalisationrecord_rules8.0
5019 Vues
Avatar
Rami Talat




Hi.
When I tried to organize our company's warehouses/locations to the desired structure from our company's point of view to locations such that, (Input, Stock, Packing, and Output), then I defined a separate record rule for each location, to differentiate between each location moves and the others. It get a strange error for the storekeeper ...

"AccessError
The requested operation cannot be completed due to security restrictions. Please contact your system administrator.
(Document type: stock.move, Operation: read) "





From the first glance I expected that the record rule missed the read permission, but that was wrong. The record rules have the four permissions set!




Here is the log file associated with this problem...

Traceback (most recent call last):

File "/opt/odoo/odoo-server/openerp/http.py", line 530, in handle_exception

return super(JsonRequest, self).handle_exception(exception)

File "/opt/odoo/odoo-server/openerp/http.py", line 567, in dispatch

result = self._call_function(*self.params)

File "/opt/odoo/odoo-server/openerp/http.py", line 303, in _call_function

return checked_call(self.db, *args, *kwargs)

File "/opt/odoo/odoo-server/openerp/service/model.py", line 113, in wrapper

return f(dbname, args, *kwargs)

File "/opt/odoo/odoo-server/openerp/http.py", line 300, in checked_call

return self.endpoint(a, *kw)

File "/opt/odoo/odoo-server/openerp/http.py", line 796, in __call

return self.method(args, *kw)

File "/opt/odoo/odoo-server/openerp/http.py", line 396, in response_wrap

response = f(args, *kw)

File "/opt/odoo/odoo-server/addons/web/controllers/main.py", line 940, in call_button

action = self.call_kw(model, method, args, {})

File "/opt/odoo/odoo-server/addons/web/controllers/main.py", line 928, in call_kw

return getattr(request.registry.get(model), method)(request.cr, request.uid, args, *kwargs)

File "/opt/odoo/odoo-server/openerp/api.py", line 241, in wrapper

return old_api(self, args, *kwargs)

File "/opt/odoo/odoo-server/addons/stock_account/stock_account.py", line 272, in action_done

res = super(stock_move, self).action_done(cr, uid, ids, context=context)

File "/opt/odoo/odoo-server/openerp/api.py", line 241, in wrapper

return old_api(self, args, *kwargs)

File "/opt/odoo/odoo-server/addons/stock/stock.py", line 2379, in action_done

quant_obj.quants_move(cr, uid, quants, move, ops.location_dest_id, location_from=ops.location_id, lot_id=ops.lot_id.id, owner_id=ops.owner_id.id, src_package_id=ops.package_id.id, dest_package_id=quant_dest_package_id, context=ctx)

File "/opt/odoo/odoo-server/openerp/api.py", line 241, in wrapper

return old_api(self, args, *kwargs)

File "/opt/odoo/odoo-server/addons/stock/stock.py", line 410, in quants_move

quant = self._quant_create(cr, uid, qty, move, lot_id=lot_id, owner_id=owner_id, src_package_id=src_package_id, dest_package_id=dest_package_id, force_location_from=location_from, force_location_to=location_to, context=context)

File "/opt/odoo/odoo-server/openerp/api.py", line 241, in wrapper

return old_api(self, args, *kwargs)

File "/opt/odoo/odoo-server/addons/stock_account/stock_account.py", line 155, in _quant_create

quant = super(stock_quant, self)._quant_create(cr, uid, qty, move, lot_id=lot_id, owner_id=owner_id, src_package_id=src_package_id, dest_package_id=dest_package_id, force_location_from=force_location_from, force_location_to=force_location_to, context=context)

File "/opt/odoo/odoo-server/openerp/api.py", line 241, in wrapper

return old_api(self, args, *kwargs)

File "/opt/odoo/odoo-server/addons/stock/stock.py", line 502, in _quant_create

rounding = move.product_id.uom_id.rounding

File "/opt/odoo/odoo-server/openerp/fields.py", line 823, in __get

return record.cache[self]

File "/opt/odoo/odoo-server/openerp/models.py", line 5913, in __getitem_

return value.get() if isinstance(value, SpecialValue) else value

File "/opt/odoo/odoo-server/openerp/fields.py", line 55, in get

raise self.exception

AccessError: ('AccessError', u'The requested operation cannot be completed due to security restrictions. Please contact your system administrator.\n\n(Document type: stock.move, Operation: read)')

Can anyone help?
Regards,

1
Avatar
Ignorer
Helal

I'm also in the same trouble...

Rami Talat
Auteur

Still no answer!!

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é
Warehouse locations record rules help...
warehouses locations record_rules
Avatar
Avatar
1
août 22
5194
Mandatory field error when creating a warehouse V18
warehouses
Avatar
Avatar
1
oct. 25
669
How Can I Use Record Rules to Restrict Speacific Record To Users? Résolu
record_rules
Avatar
Avatar
2
janv. 24
4580
Suggest Record Rule
record_rules
Avatar
0
janv. 24
2301
what is procurement Résolu
warehouses
Avatar
Avatar
Avatar
Avatar
4
févr. 25
18885
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