Skip to content

Pivot Domain does not allow "uid" to be used as a value #96

@ASBaj

Description

@ASBaj

Module

spreadsheet_oca

Describe the bug

In Odoo Enterprise, when you insert a pivot table into a spreadsheet this is filtered by "user_id = uid", this works and is reflected in the pivot's domain. It does not appear to work here.

To Reproduce

Affected versions:

Steps to reproduce the behavior:

  1. Navigate to a module that allows you to filter by "My", e.g. "My Tickets"
  2. Insert that Pivot view into the spreadsheet
  3. The pivot for the domain will show "Assigned User" is set to your actual user ID, instead of "uid", and as such, the number won't be dynamic.

Expected behavior
The pivot domain should be set to "uid", and the number reflected should change depending on the user.

Additional context
Add any other context about the problem here. (e.g. OS, Python version, ...)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions