Skip to content

[16.0][ADD] purchase_request_smartbutton: reach the requests behind an RFQ or a bill - #3148

Open
marcos-mendez wants to merge 2 commits into
OCA:16.0from
marcos-mendez:16.0-add-purchase_request_smartbutton
Open

[16.0][ADD] purchase_request_smartbutton: reach the requests behind an RFQ or a bill#3148
marcos-mendez wants to merge 2 commits into
OCA:16.0from
marcos-mendez:16.0-add-purchase_request_smartbutton

Conversation

@marcos-mendez

Copy link
Copy Markdown

purchase_request puts a smart button on the request pointing at the purchase
orders it produced. Nothing goes the other way: from an RFQ, or from the vendor
bill that followed it, there is no way back to what was originally asked for
and by whom.

This adds that return path, as a smart button on the purchase order and on the
vendor bill. It opens the request directly when there is one, the list when
there are several, and stays hidden when there is none.

On a bill the requests are collected through every purchase order line the bill
was built from, so a bill consolidating several orders reaches the requests of
all of them.

9 tests, 100% coverage on the three models.

purchase_request puts a smart button on the request pointing at the orders
it produced, but nothing goes the other way: from an RFQ, or from the bill
that followed it, there is no way back to what was asked for.

Adds that return path on the purchase order and on the vendor bill. On a
bill the requests are collected through every purchase order line the bill
was built from, so a bill consolidating several orders reaches all of them.
@OCA-git-bot OCA-git-bot added series:16.0 mod:purchase_request_smartbutton Module purchase_request_smartbutton labels Aug 13, 2026
@marcos-mendez
marcos-mendez force-pushed the 16.0-add-purchase_request_smartbutton branch from 2ae0340 to 3a69fa5 Compare August 13, 2026 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:purchase_request_smartbutton Module purchase_request_smartbutton series:16.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants