mirror of
https://github.com/odoo/runbot.git
synced 2025-03-26 21:05:49 +07:00

Broken (can't run odoo at all): - In Odoo 17.0, the `pre_init_hook` takes an env, not a cursor, update `_check_citext`. - Odoo 17.0 rejects `@attrs` and doesn't say where they are or how to update them, fun, hunt down `attrs={'invisible': ...` and try to fix them. - Odoo 17.0 warns on non-multi creates, update them, most were very reasonable, one very wasn't. Test failures: - Odoo 17.0 deprecates `name_get` and doesn't use it as a *source* anymore, replace overrides by overrides to `_compute_display_name`. - Multiple tracking changes: - `_track_set_author` takes a `Partner` not an id. - `_message_compute_author` still requires overriding in order to handle record creation, which in standard doesn't support author overriding. - `mail.tracking.value.field_type` has been removed, the field type now needs to be retrieved from the `field_id`. - Some tracking ordering have changed and require adjusting a few tests. Also added a few flushes before SQL queries which are not (obviously at least) at the start of a cron or controller, no test failure observed but better safe than sorry (probably).
99 lines
4.4 KiB
XML
99 lines
4.4 KiB
XML
<odoo>
|
|
<record id="runbot_merge_action_batches" model="ir.actions.act_window">
|
|
<field name="name">Batches</field>
|
|
<field name="res_model">runbot_merge.batch</field>
|
|
<field name="view_mode">tree,form</field>
|
|
</record>
|
|
|
|
<record id="runbot_merge_batch_search" model="ir.ui.view">
|
|
<field name="name">batches search</field>
|
|
<field name="model">runbot_merge.batch</field>
|
|
<field name="arch" type="xml">
|
|
<search>
|
|
<filter name="all" domain="['|', ('active', '=', True), ('active', '=', False)]"/>
|
|
<filter name="inactive" domain="[('active', '=', False)]"/>
|
|
|
|
<field name="name"/>
|
|
<field name="target"/>
|
|
<field name="id"/>
|
|
</search>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="runbot_merge_batch_tree" model="ir.ui.view">
|
|
<field name="name">batches list</field>
|
|
<field name="model">runbot_merge.batch</field>
|
|
<field name="arch" type="xml">
|
|
<tree decoration-muted="not active">
|
|
<field name="id"/>
|
|
<field name="name"/>
|
|
<field name="target"/>
|
|
<field name="prs" widget="many2many_tags"/>
|
|
<field name="blocked"/>
|
|
<field name="active" invisible="1"/>
|
|
</tree>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="runbot_merge_batch_form" model="ir.ui.view">
|
|
<field name="name">Batch form</field>
|
|
<field name="model">runbot_merge.batch</field>
|
|
<field name="arch" type="xml">
|
|
<form>
|
|
<sheet>
|
|
<div class="oe_title"><h1><field name="name"/></h1></div>
|
|
<group>
|
|
<group>
|
|
<field name="target"/>
|
|
<field name="merge_date"/>
|
|
<field name="priority" invisible="merge_date"/>
|
|
<field name="skipchecks" invisible="merge_date"/>
|
|
<field name="cancel_staging" invisible="merge_date"/>
|
|
<field name="fw_policy"/>
|
|
</group>
|
|
<group>
|
|
<field name="blocked"/>
|
|
</group>
|
|
</group>
|
|
<group string="Pull Requests">
|
|
<group colspan="4">
|
|
<field name="all_prs" nolabel="1" readonly="1">
|
|
<tree>
|
|
<button type="object" name="get_formview_action" icon="fa-external-link" title="open PR"/>
|
|
<field name="display_name"/>
|
|
<field name="repository"/>
|
|
<field name="state"/>
|
|
</tree>
|
|
</field>
|
|
</group>
|
|
</group>
|
|
<group string="Genealogy">
|
|
<group colspan="4">
|
|
<field name="genealogy_ids" nolabel="1" readonly="1">
|
|
<tree decoration-muted="id == parent.id">
|
|
<button type="object" name="get_formview_action" icon="fa-external-link" title="open batch"/>
|
|
<field name="name"/>
|
|
<field name="target"/>
|
|
<field name="all_prs" widget="many2many_tags"/>
|
|
</tree>
|
|
</field>
|
|
</group>
|
|
</group>
|
|
<group string="Stagings">
|
|
<group colspan="4">
|
|
<field name="staging_ids" nolabel="1" readonly="1">
|
|
<tree>
|
|
<button type="object" name="get_formview_action" icon="fa-external-link" title="open staging"/>
|
|
<field name="staged_at"/>
|
|
<field name="state"/>
|
|
<field name="reason"/>
|
|
</tree>
|
|
</field>
|
|
</group>
|
|
</group>
|
|
</sheet>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
</odoo>
|