-
-
Notifications
You must be signed in to change notification settings - Fork 126
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][IMP/ADD] shipment_advice*: Add action on shipment advice to print delivery slip and cash on delivery invoices #118
Conversation
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.
Thanks for the port. I listed a few remarks
shipment_advice_cash_on_delivery/tests/test_shipment_advice_cash_on_delivery.py
Outdated
Show resolved
Hide resolved
shipment_advice_cash_on_delivery/tests/test_shipment_advice_cash_on_delivery.py
Outdated
Show resolved
Hide resolved
b60a8bd
to
f672552
Compare
hi @jbaudoux the PR is updated, please review it again, thank you |
f672552
to
8fc5d9a
Compare
8fc5d9a
to
c2d00d8
Compare
hi @jbaudoux could you please review this PR again |
@@ -457,3 +457,12 @@ def button_open_receptions_in_progress(self): | |||
action["views"][tree_view_index] = (view_tree.id, "tree") | |||
action["domain"] = [("id", "in", self.planned_picking_ids.ids)] | |||
return action | |||
|
|||
def print_all_deliveryslip(self): | |||
picking_type = self.env.ref("stock.picking_type_out") |
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.
Mmmh, not sure about this one.
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.
Hi @rousseldenis could you please review it again, I've updated it
c2d00d8
to
b8721db
Compare
b8721db
to
1cf4fe7
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.
Looks great, thanks. Can you also regenerate README after fixing those?
shipment_advice_cash_on_delivery/tests/test_shipment_advice_cash_on_delivery.py
Outdated
Show resolved
Hide resolved
shipment_advice_cash_on_delivery/tests/test_shipment_advice_cash_on_delivery.py
Outdated
Show resolved
Hide resolved
shipment_advice_cash_on_delivery/tests/test_shipment_advice_cash_on_delivery.py
Outdated
Show resolved
Hide resolved
shipment_advice_cash_on_delivery/tests/test_shipment_advice_cash_on_delivery.py
Outdated
Show resolved
Hide resolved
0a69d8e
to
85f3171
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.
Can you add on the form view of the shipment advice (in state done & outgoing), the buttons to print the delivery slips, cash on delivery invoices, shipment advice?
So the same things you can do from the release channel. As the buttons are not visible on purpose on the channel once asleep, we need to be able to open a shipment advice and print from there
85f3171
to
1d11d86
Compare
… to print cash on delivery invoices
1d11d86
to
e326cb2
Compare
Hello @tuantrantg, @rousseldenis, I took over this PR and prepared #129 to include [REF] shipment_advice_cash_on_delivery: Extract cash on delivery to separate module |
This PR includes:
Depends on: