Skip to content

GitLab

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

Merged
Created Dec 27, 2023 by Jérome Perrin@jeromeOwner

ODS: update for libreoffice 7 compatibility with percentage

  • Overview 4
  • Commits 12
  • Pipelines 3
  • Changes 20

Now that default cloudooo is updated to LibreOffice 7, this revealed some problems with percentage values in spreadsheet cells, it was apparently working by chance on LibreOffice 5.

This improves erp5_ods_style to use style:style referencing a number:percentage-style through their style:data-style-name attribute.

Because the same thing was missing for dates to follow the input order of datetime fields, this is also handled at the same time.

We could do something similar to support all input styles of float fields, so that we support 1 234.5, 1.234,5 or 1,234.5, but this is not done this time.

Edited Dec 28, 2023 by Jérome Perrin
Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: fix/libreoffice7-percentage
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7