Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MULTICOMPANY] Removed "child_of" from all record rules #31943

Commits on Apr 2, 2019

  1. [IMP] *_* : Replace the record rules for multi company

    Purpose:
    It is confusing for users to see the records from the company
    he is connected to and the records of the children companies
    
    So replace the 'child_of' oprator for company_id with the 'Equal(=)' operator
    So by default users can see records of their Own company.
    They can no longer see records of child companies as it was confusing before.
    
    Task-ID : 1957193
    Closes : odoo#31943
    hdh-odoo authored and mba-odoo committed Apr 2, 2019
    Configuration menu
    Copy the full SHA
    e46beb6 View commit details
    Browse the repository at this point in the history
  2. [IMP] base : Apply group no one for Parent id in company.

    Hide the field parent_id (on res.company) in debug mode as well as in multi company groups
    
    Task-ID : 1957193
    Closes : odoo#31943
    hdh-odoo authored and mba-odoo committed Apr 2, 2019
    Configuration menu
    Copy the full SHA
    6f78942 View commit details
    Browse the repository at this point in the history
  3. [IMP] Stock : Replace the company id warehouse

    Due to change is record rules now parent company do not have
    right to access the records of child company and
    here in stock demo data ware house was created for another child company
    which is not accessible by admin so main flow tour breaked.
    
    So replace the company_id of warehouse
    as parent company do not have right to access the child company's warehouse
    
    Task-ID : 1957193
    Closes : odoo#31943
    mba-odoo committed Apr 2, 2019
    Configuration menu
    Copy the full SHA
    d75c4b6 View commit details
    Browse the repository at this point in the history
  4. [IMP] maintenance : Improve the tes case for maintenance

    Due to change in record rule now parent comapany do not have
    right to access the records of child company
    
    So modify the maintenance multi company test case and
    switch the company of manager when manager is going to modify
    the child company records.
    
    Task-ID : 1957193
    Closes : odoo#31943
    hdh-odoo authored and mba-odoo committed Apr 2, 2019
    Configuration menu
    Copy the full SHA
    722da1d View commit details
    Browse the repository at this point in the history