[ADD]helpdesk_timesheet_exclude_from_sale_order
This commit is contained in:
committed by
LaetitiaElabore
parent
63af539ba6
commit
217cafe0e5
2
helpdesk_timesheet_exclude_from_sale_order/.gitignore
vendored
Normal file
2
helpdesk_timesheet_exclude_from_sale_order/.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
*.*~
|
||||||
|
*pyc
|
38
helpdesk_timesheet_exclude_from_sale_order/README.md
Normal file
38
helpdesk_timesheet_exclude_from_sale_order/README.md
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
==========================================
|
||||||
|
helpdesk_timesheet_exclude_from_sale_order
|
||||||
|
==========================================
|
||||||
|
|
||||||
|
Add exclude_from_sale_order field in ticket's timesheets
|
||||||
|
|
||||||
|
# Installation
|
||||||
|
|
||||||
|
Use Odoo normal module installation procedure to install
|
||||||
|
`helpdesk_timesheet_exclude_from_sale_order`.
|
||||||
|
|
||||||
|
# Known issues / Roadmap
|
||||||
|
|
||||||
|
None yet.
|
||||||
|
|
||||||
|
# Bug Tracker
|
||||||
|
|
||||||
|
Bugs are tracked on `our issues website <https://github.com/elabore-coop/helpdesk-tools/issues>`\_. In case of
|
||||||
|
trouble, please check there if your issue has already been
|
||||||
|
reported. If you spotted it first, help us smashing it by providing a
|
||||||
|
detailed and welcomed feedback.
|
||||||
|
|
||||||
|
# Credits
|
||||||
|
|
||||||
|
## Contributors
|
||||||
|
|
||||||
|
- Boris Gallet
|
||||||
|
- Laetitia Da Costa
|
||||||
|
|
||||||
|
## Funders
|
||||||
|
|
||||||
|
The development of this module has been financially supported by:
|
||||||
|
|
||||||
|
- Elabore (https://elabore.coop)
|
||||||
|
|
||||||
|
## Maintainer
|
||||||
|
|
||||||
|
This module is maintained by Elabore.
|
16
helpdesk_timesheet_exclude_from_sale_order/__manifest__.py
Normal file
16
helpdesk_timesheet_exclude_from_sale_order/__manifest__.py
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
# Copyright 2025 Boris Gallet (Elabore)
|
||||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||||
|
{
|
||||||
|
"name": "helpdesk_timesheet_exclude_from_sale_order",
|
||||||
|
"version": "16.0.1.0.0",
|
||||||
|
"summary": "Exclude tickets from sale timesheets",
|
||||||
|
"author": "Boris Gallet, Elabore Coop",
|
||||||
|
"website": "https://elabore.coop",
|
||||||
|
"license": "LGPL-3",
|
||||||
|
"category": "Helpdesk",
|
||||||
|
"depends": ["sale_timesheet_line_exclude","helpdesk_mgmt_timesheet"],
|
||||||
|
"data": ["views/helpdesk_ticket.xml"],
|
||||||
|
"installable": True,
|
||||||
|
"application": False,
|
||||||
|
"auto_install": False,
|
||||||
|
}
|
@@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
<odoo>
|
||||||
|
<record id="timesheet_helpdesk_ticket_view_form_exclude_from_sale_order" model="ir.ui.view">
|
||||||
|
<field name="name">timesheet.helpdesk.ticket.view.form.exclude.from.sale.order</field>
|
||||||
|
<field name="model">helpdesk.ticket</field>
|
||||||
|
<field name="inherit_id" ref="helpdesk_mgmt_timesheet.timesheet_helpdesk_ticket_view_form"/>
|
||||||
|
<field name="arch" type="xml">
|
||||||
|
<xpath expr="//field[@name='unit_amount']" position="before">
|
||||||
|
<field name="exclude_from_sale_order" />
|
||||||
|
</xpath>
|
||||||
|
</field>
|
||||||
|
</record>
|
||||||
|
</odoo>
|
Reference in New Issue
Block a user