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,49 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="view_stock_invoice_onshipping" model="ir.ui.view">
<field name="name">Stock Invoice Onshipping</field>
<field name="model">stock.invoice.onshipping</field>
<field name="arch" type="xml">
<form string="Create invoice">
<h1>
<field name="journal_type" readonly="1" />
</h1>
<group>
<field name="show_sale_journal" invisible="1" />
<field name="show_purchase_journal" invisible="1" />
<field
name="sale_journal"
invisible="not show_sale_journal"
required="show_sale_journal"
/>
<field
name="purchase_journal"
invisible="not show_purchase_journal"
required="show_purchase_journal"
/>
<field name="group" />
<field name="invoice_date" />
</group>
<footer>
<button
name="action_generate"
string="Create"
type="object"
class="oe_highlight"
/>
or
<button string="Cancel" class="oe_link" special="cancel" />
</footer>
</form>
</field>
</record>
<record id="action_stock_invoice_onshipping" model="ir.actions.act_window">
<field name="name">Create Draft Invoices</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">stock.invoice.onshipping</field>
<field name="binding_model_id" ref="stock.model_stock_picking" />
<field name="view_id" ref="view_stock_invoice_onshipping" />
<field name="binding_view_types">list,form</field>
<field name="target">new</field>
</record>
</odoo>