Skip to content

[17.0][ADD] res_partner_product_pricelist_operating_unit - #762

Open
vvrossem wants to merge 3 commits into
OCA:17.0from
camptocamp:17.0-add-res_partner_product_pricelist_operating_unit
Open

[17.0][ADD] res_partner_product_pricelist_operating_unit#762
vvrossem wants to merge 3 commits into
OCA:17.0from
camptocamp:17.0-add-res_partner_product_pricelist_operating_unit

Conversation

@vvrossem

@vvrossem vvrossem commented Apr 4, 2025

Copy link
Copy Markdown
Contributor

Depends on:

TODO

  • add automated tests

@vvrossem
vvrossem marked this pull request as draft April 4, 2025 12:15
@vvrossem vvrossem changed the title [ADD] res_partner_product_pricelist_operating_unit [17.0][ADD] res_partner_product_pricelist_operating_unit Apr 4, 2025
@vvrossem
vvrossem force-pushed the 17.0-add-res_partner_product_pricelist_operating_unit branch 13 times, most recently from 6f968ca to eb28357 Compare April 9, 2025 11:39
@vvrossem
vvrossem marked this pull request as ready for review April 9, 2025 11:39
@github-actions

Copy link
Copy Markdown

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions Bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Aug 10, 2025
@github-actions github-actions Bot closed this Sep 14, 2025
@vvrossem

Copy link
Copy Markdown
Contributor Author

hello @OCA/accounting-maintainers, could you please reopen this PR and apply the "no stale" label? 🙌

@AaronHForgeFlow AaronHForgeFlow added no stale Use this label to prevent the automated stale action from closing this PR/Issue. and removed stale PR/Issue without recent activity, it'll be soon closed automatically. labels Mar 12, 2026
@yankinmax
yankinmax force-pushed the 17.0-add-res_partner_product_pricelist_operating_unit branch 3 times, most recently from 39d6a6f to 3bf1e37 Compare April 9, 2026 10:52
@yankinmax
yankinmax force-pushed the 17.0-add-res_partner_product_pricelist_operating_unit branch from 3bf1e37 to e0b5ec0 Compare September 4, 2026 11:06
@OCA-git-bot OCA-git-bot added series:17.0 mod:res_partner_operating_unit Module res_partner_operating_unit mod:res_partner_product_pricelist_operating_unit Module res_partner_product_pricelist_operating_unit labels Sep 4, 2026
@yankinmax
yankinmax force-pushed the 17.0-add-res_partner_product_pricelist_operating_unit branch from e0b5ec0 to 4a54941 Compare September 4, 2026 11:14
@yankinmax
yankinmax force-pushed the 17.0-add-res_partner_product_pricelist_operating_unit branch from 4a54941 to d30429a Compare September 4, 2026 11:18
vvrossem and others added 2 commits September 4, 2026 14:30
Ensures `operating_unit_ids` can be used in `domain`
despite being visible only to users in the `operating_unit.group_multi_operating_unit` group.

Fixes:
```
Field 'operating_unit_ids' used in domain of <field name="property_product_pricelist"> (
  [
    '|',
    ('operating_unit_id', 'in', operating_unit_ids),
    ('operating_unit_id', '=', False),
  ]
) is restricted to the group(s) operating_unit.group_multi_operating_unit.
```

Applied to both res_partner_operating_unit's own res.partner views (which
extend base.view_partner_form/tree) and
res_partner_product_pricelist_operating_unit's view_partner_property_form
(which extends product.view_partner_property_form, a separate inheritance
chain), since each inherited view is validated independently.
@yankinmax
yankinmax force-pushed the 17.0-add-res_partner_product_pricelist_operating_unit branch from d30429a to a91b5f0 Compare September 4, 2026 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:res_partner_operating_unit Module res_partner_operating_unit mod:res_partner_product_pricelist_operating_unit Module res_partner_product_pricelist_operating_unit no stale Use this label to prevent the automated stale action from closing this PR/Issue. series:17.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants