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

[16.0][MIG] pos_access_right #957

Merged
merged 40 commits into from
Sep 26, 2023
Merged

Conversation

geomer198
Copy link
Contributor

Migration to 16.0

@geomer198 geomer198 marked this pull request as draft April 1, 2023 11:05
@geomer198 geomer198 marked this pull request as ready for review April 1, 2023 20:23
Copy link
Member

@GabbasovDinar GabbasovDinar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code LGTM!

@hitrosol
Copy link

hitrosol commented Apr 4, 2023

I activate the Multi Employees per session and add Mitchell Admin and Marc Demo as the Allowed Employees.
I set Mitchel Admin to be able to click the button discount, negative quantity, unit price change, delete Order / Many Orders. and Payment. But for Demo, i disellect all the related checkbox and the result, whenever I change the pos user in front end, I stilll can see the buttons are available.
This behavior is different with the v14.

Hope this can be fixed soon. Have a Great Job...

@jumeldi74
Copy link

I would like to add some code to enable feature whenever the cashier is changed

Copy link

@hitrosol hitrosol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's merge this so @jumeldi74 can add feature for multi employee on top of this PR.

@ivs-cetmix
Copy link
Member

Let's merge this so @jumeldi74 can add feature for multi employee on top of this PR.

Hi @hitrosol @jumeldi74
Thank you for your feedback!
We will take on this PR soon to get it merged.
@jumeldi74 if you have a solution for an issue described above you can suggest your code so we could merge it

@hitrosol
Copy link

hitrosol commented Jul 4, 2023

Hi @isserver1, we created PR #987 and added some more features on it, such as: option to allow /disallow user to delete the order line, refund, give access for cash in/out to pos user, etc.
Maybe you are interested to review that PR so it can be merged ?

@ivs-cetmix
Copy link
Member

Hi @isserver1, we created PR #987 and added some more features on it, such as: option to allow /disallow user to delete the order line, refund, give access for cash in/out to pos user, etc.
Maybe you are interested to review that PR so it can be merged ?

Sure. However according to the OCA rules we must do migration first. And later add new features in new PRs

@hitrosol
Copy link

hitrosol commented Jul 7, 2023

if so, can you make the codecov green so it can be approved and merged? @jumeldi74 will make new PR to add features on top of it.

@ivs-cetmix
Copy link
Member

if so, can you make the codecov green so it can be approved and merged? @jumeldi74 will make new PR to add features on top of it.

AFAIK codecove is not a mandatory check. Especially when it comes to the migration PR

@legalsylvain
Copy link
Contributor

/ocabot migration pos_access_right

@OCA-git-bot OCA-git-bot added this to the 16.0 milestone Sep 26, 2023
@OCA-git-bot OCA-git-bot mentioned this pull request Sep 26, 2023
37 tasks
@legalsylvain
Copy link
Contributor

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 16.0-ocabot-merge-pr-957-by-legalsylvain-bump-nobump, awaiting test results.

OCA-git-bot added a commit that referenced this pull request Sep 26, 2023
Signed-off-by legalsylvain
@OCA-git-bot
Copy link
Contributor

@legalsylvain The merge process could not be finalized, because command git push origin 16.0-ocabot-merge-pr-957-by-legalsylvain-bump-nobump:16.0 failed with output:

To https://github.com/OCA/pos
 ! [rejected]          16.0-ocabot-merge-pr-957-by-legalsylvain-bump-nobump -> 16.0 (fetch first)
error: failed to push some refs to 'https://***@github.com/OCA/pos'
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first integrate the remote changes
hint: (e.g., 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.

@ivs-cetmix
Copy link
Member

hi @legalsylvain I have updated the branch, please try again

@legalsylvain
Copy link
Contributor

the last commit looks useless. could you run git pull 16.0 --rebase to remove it ?

KolushovAlexandr and others added 21 commits September 26, 2023 21:52
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: pos-12.0/pos-12.0-pos_access_right
Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_access_right/
Currently translated at 100.0% (23 of 23 strings)

Translation: pos-14.0/pos-14.0-pos_access_right
Translate-URL: https://translation.odoo-community.org/projects/pos-14-0/pos-14-0-pos_access_right/fr/
Currently translated at 100.0% (23 of 23 strings)

Translation: pos-14.0/pos-14.0-pos_access_right
Translate-URL: https://translation.odoo-community.org/projects/pos-14-0/pos-14-0-pos_access_right/ca/
Currently translated at 100.0% (25 of 25 strings)

Translation: pos-14.0/pos-14.0-pos_access_right
Translate-URL: https://translation.odoo-community.org/projects/pos-14-0/pos-14-0-pos_access_right/it/
@ivs-cetmix
Copy link
Member

the last commit looks useless. could you run git pull 16.0 --rebase to remove it ?

done

@legalsylvain
Copy link
Contributor

Thanks !

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 16.0-ocabot-merge-pr-957-by-legalsylvain-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 0c056bc into OCA:16.0 Sep 26, 2023
7 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 9a1ae3a. Thanks a lot for contributing to OCA. ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.