Code Monkey home page Code Monkey logo

Comments (5)

l-arnold avatar l-arnold commented on July 17, 2024

Saw one recomended fix for general errors of the sort of "upgrading base". I did so and it changed my home landing to Connectors (perhaps just a one time). Did not fix the access issue however with the portal user.

   No value found for sale.order(15,).magento_bind_ids

Will Revert to snapshot before upgrading base.

from connector-magento.

guewen avatar guewen commented on July 17, 2024

These errors seems to be access rights errors.
Portal users don't have access to the bindings (magento.* models) and you may want to add these accesses or hide the fields.

from connector-magento.

l-arnold avatar l-arnold commented on July 17, 2024

I spent a very large amount of time looking at this. I could not find a way to "hide the fields" on Portal Access to Sales Order or an Invoice. I came around, having made about 6 spreadsheets to the following. The 1st and 3rd Errors went away (Error 2 portal seemed customer mapping related)

I feel this is "brute force" but what I did was add READ ONLY Access Rights of a "Portal Group"
to each of the following models (used a description similar to connectors but "portal" referenced:

 Model descrip / Magento Invoice ie: magento_invoic_portal  (w/ missing e)
 Model descrip / Magento Address ie magento_address_portal_user
 Model descrip / Magento Binding (abstract)  Ie: magento_binding_portal_user

model descrip: Magento Sale Order ie magento_sale_order_portal
model descrip: Magento Sale Order Line ie: magento_sale_order_line_portal

Finally, I got a bit confused as the Name was shared but not the model:

 model name:  magento.res.partner.category (Model Name is same as above "Magento Binding  (abstract) " SAME NAME ??   In addition to Connector Manager group, this model also has the group Employee    magento_res_partner_category group_user)

I expect this is Over the Top Fixes but not sure honestly. I can peel them back now one at a time and see if Portal still works.

Are there other consequences to this approach? It may need to be worked into the connector or some alternative found. I feel the Portal access is important. I also think it would be helpful to show Magento Orders/Invoices in the Portal (would seem default and likely is)

from connector-magento.

l-arnold avatar l-arnold commented on July 17, 2024

I thought I would look at how to plug in on Github.

 magentoerpconnect/security/ir.model.access.csv

Seems like the place but because every row has four columns and I wouldn't want to be throwing things around, probably not the path. Have others tested that the portal module in Odoo is working properly for them? My situation involved a customer who existed in Odoo and Also in Magento. Seem to have been bound in the Connector import Customers process.

Created a Quotation in Odoo, emailed in Odoo. Customer logged into Portal and ran into erros noted at top.

Seems there is a simpler way to grant Portal Users access to files which have elements (empty or not) of MagentoConnector. Perhaps my not working is a fluke but all real fresh, no changes.

from connector-magento.

guewen avatar guewen commented on July 17, 2024

I think there is nothing we can do here as magentoerpconnect does not depend on portal. So either you configure the access rights on your instance, either you create a magentoerpconnect_portal module that depends on both magentoerpconnect and portal and create the appropriate access rights (in the latter case yes you would want to create a ir.model.access.csv file with the grants).

from connector-magento.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.