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,68 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="account_invoice_refund_reasons_search" model="ir.ui.view">
<field name="name">account.move.refund.reason.search</field>
<field name="model">account.move.refund.reason</field>
<field name="arch" type="xml">
<search>
<field name="name" />
<field name="description" />
<filter
string="Archived"
domain="[('active','=',False)]"
name="archived_reasons_filter"
/>
</search>
</field>
</record>
<record id="view_account_invoice_refund_reason" model="ir.ui.view">
<field name="name">account.move.refund.reason.form</field>
<field name="model">account.move.refund.reason</field>
<field name="arch" type="xml">
<form>
<sheet>
<widget
name="web_ribbon"
title="Archived"
bg_color="text-bg-danger"
invisible="active"
/>
<div class="oe_title">
<label class="oe_edit_only" for="name" string="Reason Name" />
<h1>
<field name="name" placeholder="Reason Name" />
</h1>
</div>
<group>
<field name="description" />
</group>
</sheet>
</form>
</field>
</record>
<record id="view_account_invoice_refund_reason_tree" model="ir.ui.view">
<field name="name">account.move.refund.reason.list</field>
<field name="model">account.move.refund.reason</field>
<field name="arch" type="xml">
<list>
<field name="name" />
</list>
</field>
</record>
<record id="refund_reason_action" model="ir.actions.act_window">
<field name="name">Refund Reasons</field>
<field name="res_model">account.move.refund.reason</field>
<field name="view_mode">list,form</field>
</record>
<menuitem
id="refund_reasons_menu"
name="Refund Reasons"
parent="account.account_management_menu"
action="refund_reason_action"
sequence="10"
/>
</odoo>

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="view_move_form" model="ir.ui.view">
<field name="name">view.account.move.form</field>
<field name="model">account.move</field>
<field name="inherit_id" ref="account.view_move_form" />
<field name="arch" type="xml">
<xpath
expr="//group[@name='sale_info_group']/field[@name='ref']"
position="after"
>
<field name="reason_id" invisible="not reason_id" readonly="1" />
</xpath>
</field>
</record>
</odoo>