Skip to content
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

Closed
wants to merge 2 commits into from

Conversation

tuantrantg
Copy link

@tuantrantg tuantrantg commented Mar 13, 2024

This PR includes:

  • [IMP] shipment_advice: Add action on shipment advice to print delivery slip
  • [ADD] shipment_advice_cash_on_delivery: Add action on shipment advice to print cash on delivery invoices

Depends on:

@rousseldenis rousseldenis added this to the 16.0 milestone Mar 13, 2024
@tuantrantg tuantrantg marked this pull request as ready for review March 13, 2024 07:55
@tuantrantg tuantrantg changed the title [16.0][IMP] shipment_advice: Add action on shipment advice to print delivery slip [16.0][IMP/ADD] shipment_advice*: Add action on shipment advice to print delivery slip and cash on delivery invoices Mar 14, 2024
Copy link

@jbaudoux jbaudoux left a 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

@tuantrantg tuantrantg force-pushed the 16.0-imp-shipment_advice branch 2 times, most recently from b60a8bd to f672552 Compare March 15, 2024 03:13
@tuantrantg
Copy link
Author

hi @jbaudoux the PR is updated, please review it again, thank you

@tuantrantg
Copy link
Author

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")
Copy link
Contributor

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.

Copy link
Author

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

Copy link

@jbaudoux jbaudoux left a 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?

@tuantrantg tuantrantg force-pushed the 16.0-imp-shipment_advice branch 2 times, most recently from 0a69d8e to 85f3171 Compare April 4, 2024 09:35
Copy link

@jbaudoux jbaudoux left a 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

@rousseldenis
Copy link
Contributor

@trisdoan
Copy link

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

@tuantrantg tuantrantg closed this Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants