Skip to content

Commit

Permalink
[IMP] l10n_br_stock_account: displays tax document information outsid…
Browse files Browse the repository at this point in the history
…e of tabs
  • Loading branch information
Tiago370 committed Dec 5, 2024
1 parent 85e3e82 commit 5b34cca
Showing 1 changed file with 19 additions and 11 deletions.
30 changes: 19 additions & 11 deletions l10n_br_stock_account/views/stock_picking.xml
Original file line number Diff line number Diff line change
Expand Up @@ -221,27 +221,35 @@

</group>
</xpath>
<xpath expr="//page[@name='page_invoicing']" position="inside">
<xpath expr="//group[div[field[@name='scheduled_date']]]" position="after">
<!-- Estes campos são read only momentaneamente, pode ser que em
um segundo momento essas informações também sejam relevantes para
pickings de entrada com relação com documentos fiscais ainda não
importados no sistema.
-->
<group name="document_info" string="Fiscal Document Info">
<group name="document_info" string="Fiscal Document Info" colspan="2">
<field name="document_type_id" readonly="1" />
<field name="document_key" readonly="1" />
</group>
<group>
<group>
<field name="document_type_id" readonly="1" />
<field name="document_serie_id" readonly="1" />
</group>
<group>
<field name="document_serie" readonly="1" />
<field name="document_number" readonly="1" />
</group>
<field name="document_serie_id" readonly="1" />
</group>
<group>
<field name="document_serie" readonly="1" />
<field name="document_number" readonly="1" />
</group>
</xpath>
</field>
</record>

<record id="stock_picking_tree" model="ir.ui.view">
<field name="name">l10n_br_stock_account.picking.tree</field>
<field name="model">stock.picking</field>
<field name="inherit_id" ref="stock.vpicktree" />
<field name="priority">99</field>
<field name="arch" type="xml">
<field name="company_id" position="before">
<field name="document_number" readonly="1" />
</field>
</field>
</record>
</odoo>

0 comments on commit 5b34cca

Please sign in to comment.