Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
S slapos.core
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Labels
    • Labels
  • Merge requests 26
    • Merge requests 26
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedi
  • slapos.core
  • Merge requests
  • !240

Merged
Created Jul 02, 2020 by Lu Xu@lu.xuMaintainer

Revert controller and invoice page

  • Overview 6
  • Commits 3
  • Changes 9

This MR mainly reverts the changes caused by automatic translation of portal_type. Thanks to Romain's foresight: jio@ff4846ab , portal type translated title value won't be used and also thanks to Refeal who has rebased our ERP5, making works to be done much easilier.
Thomas has quickly fixed the invoice page of SlapOS console page before: 7e49ec5e

Since bea2620a, the controller uses parent_relative_url instead of portal_type (because the portal_type canbe translated). For "Sale Invoice Transaction", the module is accounting, so rename the view page accordingly.

By reverting the changes of the invoice page's title as well as the controller page to use portal_type rather than parent_relative_url, we can go back to our track and cause no more problems with the massive change of controller_page.

Edited Jul 02, 2020 by Lu Xu
Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: revert_controller_and_invoice_page
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7