-
-
Notifications
You must be signed in to change notification settings - Fork 193
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][ADD/IMP] stock_release_channel_shipment_advice*: Add buttons on release channel kanban to print shipments, delivery slip and cash on delivery invoices #863
base: 16.0
Are you sure you want to change the base?
Conversation
Hi @jbaudoux, |
stock_release_channel_shipment_advice/views/stock_release_channel.xml
Outdated
Show resolved
Hide resolved
stock_release_channel_shipment_advice/views/stock_release_channel.xml
Outdated
Show resolved
Hide resolved
stock_release_channel_shipment_advice_print_cash_on_delivery/views/stock_release_channel.xml
Outdated
Show resolved
Hide resolved
stock_release_channel_shipment_advice_print_cash_on_delivery/__manifest__.py
Outdated
Show resolved
Hide resolved
stock_release_channel_shipment_advice_print_cash_on_delivery/__manifest__.py
Outdated
Show resolved
Hide resolved
stock_release_channel_shipment_advice_print_cash_on_delivery/models/stock_release_channel.py
Outdated
Show resolved
Hide resolved
stock_release_channel_shipment_advice_print_cash_on_delivery/readme/CONTRIBUTORS.rst
Outdated
Show resolved
Hide resolved
stock_release_channel_shipment_advice_print_cash_on_delivery/models/shipment_advice.py
Outdated
Show resolved
Hide resolved
stock_release_channel_shipment_advice_print_cash_on_delivery/models/stock_picking.py
Outdated
Show resolved
Hide resolved
stock_release_channel_shipment_advice_print_cash_on_delivery/models/stock_picking.py
Outdated
Show resolved
Hide resolved
ping @rousseldenis @lmignon |
stock_release_channel_shipment_advice_print_cash_on_delivery/__manifest__.py
Outdated
Show resolved
Hide resolved
c8a4847
to
d6dbf6f
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.
Implement is_action_print_shipment_allowed
as this:
- In stock_release_channel: If state == "locked" and shipment_advice_to_print_ids
- where you define
shipment_advice_to_print_ids
aslast(rec.shipment_advice_ids.filtered(state == done))
- where you define
- In stock_release_channel_deliver: if not "auto_deliver", then super() else:
if state == "delivered" and shipment_advice_to_print_ids- where you define
shipment_advice_to_print_ids
as if not "auto_deliver", then super() elserec.in_release_channel_auto_process.filtered(state == done)
- where you define
Note: have to add auto_deliver
on release channel in module stock_release_channel_deliver
(#819)
stock_release_channel_shipment_advice/views/stock_release_channel.xml
Outdated
Show resolved
Hide resolved
stock_release_channel_shipment_advice/views/stock_release_channel.xml
Outdated
Show resolved
Hide resolved
stock_release_channel_shipment_advice_cash_on_delivery/views/stock_release_channel.xml
Outdated
Show resolved
Hide resolved
@tuantrantg little ping, could you take care of this pr ? |
I'm a little busy right now, so I'll come back soon to take care of this |
hi @jbaudoux could you please clarify these points:
-->
--> |
Yes :)
Sorry it is |
d6dbf6f
to
5aa413c
Compare
hi @jbaudoux please review this PR and jbaudoux#5 also |
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.
LG, thanks
@rousseldenis @lmignon Release channel printing module ported to OCA, as well as cash on delivery |
463baa7
to
013635f
Compare
a51b630
to
be77e59
Compare
@tuantrantg Don't merge 16.0 branch in your PR but use instead rebase |
…hannel kanban to print shipments and delivery slip
…tons on release channel kanban to print cash on delivery invoices
3969af3
to
b0bebf5
Compare
@dreispt It doesn't need fixing. It's waiting for dependencies to be merged |
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. |
This PR includes:
Depends on: