-
-
Notifications
You must be signed in to change notification settings - Fork 281
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
[MIG] purchase_sale_inter_company: Migration to 11.0 (from 8.0) WIP #97
[MIG] purchase_sale_inter_company: Migration to 11.0 (from 8.0) WIP #97
Conversation
cfcc4b4
to
6fae227
Compare
Why not starting from #95? |
Please squash commit history a bit. |
0f3c4a9
to
bd63a3d
Compare
4021538
to
8bb95c9
Compare
9829fe7
to
e3e72f2
Compare
@carlosdauden, @Joaco1980's comment is addressed? |
After the last commits, it works for me correctly. what I do not understand because it has the dependence on the intercompany_invoice, because if you take out merchandise in the sale and invoices the delivery notes, in company B an invoice is generated but it is not related to the purchase order. |
I added a commit that will make Travis fail until #110 is merged, given this was WIP already... |
for order in self.filtered('auto_purchase_order_id'): | ||
for line in order.order_line.sudo(): | ||
if line.auto_purchase_line_id: | ||
line.auto_purchase_line_id.price_unit = line.price_unit |
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.
Wouldn't it be interesting to update the line qty if it's changed in the SO? (and maybe log the change into the PO chatter)
@carlosdauden please fix tests of this module. |
3e18c77
to
f941497
Compare
…price in purchase line when validating the sale order
… order to load it with the correct context
Make tests compatible with OCA#110, for the same reason as the specified in that link.
9e8aaa2
to
b584956
Compare
@pedrobaeza Green tests |
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.
OK, let's merge this finally!
/ocabot merge |
What a great day to merge this nice PR. Let's do it! |
Congratulations, your PR was merged at c462b15. Thanks a lot for contributing to OCA. ❤️ |
@Tecnativa