[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
Conversation
|
Hi @jbaudoux, |
|
ping @rousseldenis @lmignon |
c8a4847 to
d6dbf6f
Compare
There was a problem hiding this comment.
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_idsaslast(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_idsas 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)
|
@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 |
|
@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. |
|
hi @tuantrantg could you rebase this pr with this dependency : OCA/account-invoicing#2288 superseed of OCA/account-invoicing#1736 ? |
|
superseed here : #1147 |
This PR includes:
Depends on: