Initial commit: Odoo 18.0-20251222 extra-addons
Some checks failed
pre-commit / pre-commit (push) Has been cancelled
tests / Detect unreleased dependencies (push) Has been cancelled
tests / test with OCB (push) Has been cancelled
tests / test with Odoo (push) Has been cancelled

This commit is contained in:
tocmo0nlord
2026-03-13 20:43:25 +00:00
parent 36e847a7df
commit adbe430761
9472 changed files with 1265727 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2017 Tecnativa - Sergio Teruel
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
<odoo>
<record
id="product_template_form_view_invoice_policy_inherit_sale_project"
model="ir.ui.view"
>
<field name="model">product.template</field>
<field
name="inherit_id"
ref="sale_project.product_template_form_view_invoice_policy_inherit_sale_project"
/>
<field name="arch" type="xml">
<field name="service_tracking" position="after">
<field
name="invoicing_finished_task"
invisible="type != 'service' or service_tracking not in ['task_global_project', 'task_in_project']"
/>
</field>
</field>
</record>
</odoo>

View File

@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2017 Tecnativa - Sergio Teruel
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
<odoo>
<record id="task_type_edit" model="ir.ui.view">
<field name="model">project.task.type</field>
<field name="inherit_id" ref="project.task_type_edit" />
<field name="arch" type="xml">
<field name="fold" position="after">
<field name="invoiceable" />
</field>
</field>
</record>
<record id="edit_project_task_track" model="ir.ui.view">
<field name="name">project.task.form.track</field>
<field name="model">project.task</field>
<field name="inherit_id" ref="project.view_task_form2" />
<field name="arch" type="xml">
<div name="button_box" position="inside">
<!-- The invoiceable field must be maintained for the tests with
Form() to work correctly. -->
<field name="invoiceable" invisible="1" />
<button
name="toggle_invoiceable"
type="object"
invisible="not invoicing_finished_task"
class="oe_stat_button"
icon="fa-file"
>
<span
class="text-success"
invisible="not invoiceable"
>Invoiceable</span>
<span
class="text-danger"
invisible="invoiceable"
>Not Invoiceable</span>
</button>
</div>
</field>
</record>
</odoo>