-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[11.0][MIG] sale_triple_discount #627
Conversation
You have added a .DS_store file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should update the security groups on the account_invoice views for the new fields.
Check core code for the discount field:
Thanks @xavierjimenez ! Please rebase as OCA/account-invoicing#370 has been merge and then we could test this one! 😄 |
No need to rebase, as it's in another repository. Just to restart CIs. |
I'm not sure how to do that, do I have to open a new PR? |
I have restarted both. |
There are missing dependencies
|
@xavierjimenez I am starting working on it. |
@murtuzasaleh I think the module is working fine, there's a dependency issue with another module (account_invoice_triple_discount) but that module is already merged so I'm not sure how I can solve that. |
Is the repository put in oca_dependencies.txt in root folder? |
@xavierjimenez can you check what I have said? |
I just checked it out and it's not, can I add it? |
Yes, of course. That's the idea when you add a new module (migrated or totally new) that depends on modules on other repositories. Doing so, you will get the module available and Travis/runbot will be OK. |
All green! @murtuzasaleh @JayVora-SerpentCS can you please review this one now that the problem has gone? |
sale_triple_discount/README.rst
Outdated
|
||
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas | ||
:alt: Try me on Runbot | ||
:target: https://runbot.odoo-community.org/runbot/167/10.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
11.0 plz
'ADHOC SA, ' | ||
'Agile Business Group, ' | ||
'Tecnativa, ' | ||
'Odoo Community Association (OCA)', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Authorname should be added when you added a feature my friend. If not, add your name to contributors in readme.
sale_triple_discount/__manifest__.py
Outdated
'Agile Business Group, ' | ||
'Tecnativa, ' | ||
'Odoo Community Association (OCA)', | ||
'website': 'https://odoo-community.org', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sale_triple_discount/__manifest__.py
Outdated
'license': 'AGPL-3', | ||
'summary': 'Manage triple discount on sale order lines', | ||
'depends': [ | ||
'sale', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMO it should be sale_management instead of a sale module.
Changes done! I'll make the squash with the previous commits when it's ready to merge. |
Hi @murtuzasaleh @JayVora-SerpentCS @misern2 this PR is all green and attended comment. @xavierjimenez just take a look in:
Thanks a lot for your 🍏 work! 👍 cc @chienandalu |
Hi @xavierjimenez I've tested it and my doubt is about report. Does it have any sense for you? Take a look: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not blocking but IMHO report (PDF of SO) must be improved
Hi @rafaelbn, thanks for the review! I agree, the report needs a change so I'll try to add the others discounts on the report if they are set. |
@xavierjimenez I have just discovered the field Can you please try? |
Hello @xavierjimenez @misern2 ! Are you using this module in production enviroment? Take care for fixes in v10 that apply in this PR
We could try to push this PR reviewing fixes of v10, rebasing this PR and checking again. Thanks |
Closing this as very old and no answer from author. Please feel free to reopen it if needed. |
Migration of sale_triple_discount module to version 11.0
Depends on: