[IMP] point_of_sale: option to print sales details from session

before this commit, if user need to take the sales details
of a pos session, user cannot directly take from the session
form in the pos backend.

if needed from the backend, user has to print from the
point of sale -> reporting -> session report

after this commit, the report will be shown also in the
pos session form, so that user can print the details
by clicking the report from print button in the top
without going to reporting menu.

closes odoo/odoo#132446

Signed-off-by: Joseph Caburnay (jcb) <jcb@odoo.com>
This commit is contained in:
niyasraphy
2023-08-25 16:00:18 +02:00
parent c885e76152
commit 397d889805
@@ -15,6 +15,8 @@
<field name="model">pos.session</field>
<field name="report_type">qweb-pdf</field>
<field name="report_name">point_of_sale.report_saledetails</field>
<field name="binding_model_id" ref="point_of_sale.model_pos_session"/>
<field name="binding_view_types">form</field>
</record>
</odoo>