-
Notifications
You must be signed in to change notification settings - Fork 23.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
[IMP] point_of_sale: update order's partner on InvoiceButton #165464
Conversation
cbae955
to
9b5eba6
Compare
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.
Nice :)
1a8065d
to
4c59648
Compare
This commit is used for the enterprise PR (odoo/enterprise#62261). When creating an invoice for a previous order in the POS, the class InvoiceButton handles missing partners, writing the selected partner to pos.order. But since the partner was not set to the order, the JS client cannot retrieve the partner directly. This commit remedies that by setting the partner to the order task-3865331
4c59648
to
6c32366
Compare
@robodoo r+ |
This commit is used for the enterprise PR (odoo/enterprise#62261). When creating an invoice for a previous order in the POS, the class InvoiceButton handles missing partners, writing the selected partner to pos.order. But since the partner was not set to the order, the JS client cannot retrieve the partner directly. This commit remedies that by setting the partner to the order task-3865331 closes #165464 Signed-off-by: Laurent Smet (las) <las@odoo.com>
This commit is used for the enterprise PR (odoo/enterprise#62261). When creating an invoice for a previous order in the POS, the class InvoiceButton handles missing partners, writing the selected partner to pos.order. But since the partner was not set to the order, the JS client cannot retrieve the partner directly. This commit remedies that by setting the partner to the order task-3865331 closes #165464 Signed-off-by: Laurent Smet (las) <las@odoo.com>
This commit is used for the enterprise PR (odoo/enterprise#62261). When creating an invoice for a previous order in the POS, the class InvoiceButton handles missing partners, writing the selected partner to pos.order. But since the partner was not set to the order, the JS client cannot retrieve the partner directly. This commit remedies that by setting the partner to the order task-3865331 closes #165464 Signed-off-by: Laurent Smet (las) <las@odoo.com>
@mairasalazar @smetl this pull request has forward-port PRs awaiting action (not merged or closed): |
2 similar comments
@mairasalazar @smetl this pull request has forward-port PRs awaiting action (not merged or closed): |
@mairasalazar @smetl this pull request has forward-port PRs awaiting action (not merged or closed): |
This commit is used for the enterprise PR (odoo/enterprise#62261). When creating an invoice for a previous order in the POS, the class InvoiceButton handles missing partners, writing the selected partner to pos.order. But since the partner was not set to the order, the JS client cannot retrieve the partner directly. This commit remedies that by setting the partner to the order task-3865331 closes odoo#165464 Signed-off-by: Laurent Smet (las) <las@odoo.com>
This commit is used for the enterprise PR (odoo/enterprise#62261).
When creating an invoice for a previous order in the POS, the class InvoiceButton handles missing partners, writing the selected partner to pos.order. But since the partner was not set to the order, the JS client cannot retrieve the partner directly.
This commit remedies that by setting the partner to the order.
task-3865331
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr