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
[FIX] sale_expense: ability to reinvoice an expense product more than… #21088
Conversation
… once on same so Before this commit, only the first time an expense product was posted it was added to the so to reinvoice. A second time expensing the same product, the quantity delivered was not updated After this commit, one can expense the same product on a so multimple times
The fact that the tests are failing is a proof you are changing the application behaviour. Because of this, the pull request should target the master branch, not a stable version. cc @bst-odoo what do you think about adding this feature? |
When the product is "reinvoce at sales price", it should already be the case. |
Tested it on v11, but it has a weird behaviour once "timesheet" is installed
"reinvoce at sales price" works until "timesheet" is installed.
"reinvoce at cost" works as long as there is no line on the SO with the same quantity.
When the invoicing policy on the "reinvoce at cost" product is set to delivered quantities, the product can only be invoiced ones.
|
I do pull last update form odoo community 11.0 , after running , I have error below : Traceback (most recent call last): help me ? |
Dear @huysmki, Thank you for your contribution but the version 11.0 is no longer supported. We apology if we could not look at your request in time. This is an automated message. |
Sorry, I didn't know about this PR and had to retrieve its information, you may have to re-approve it. |
… once on same so
Description of the issue/feature this PR addresses:
Ability to reinvoice an expense product more than ones on same SO
Current behavior before PR:
Only the first time an expense product was posted it was added to the so to reinvoice. A second time expensing the same product, the quantity delivered was not updated
Desired behavior after PR is merged:
One can expense the same product on a so multiple times
--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr