|
1360 | 1360 | <field name="name">x_distribution_key.search.condominium</field> |
1361 | 1361 | <field name="type">search</field> |
1362 | 1362 | </record> |
1363 | | - <record id="view_account_invoice_filter_inherits" model="ir.ui.view"> |
1364 | | - <field name="arch" type="xml"> |
1365 | | - <data> |
1366 | | - <xpath expr="/search[1]/filter[3]" position="replace"/> |
1367 | | - <xpath expr="/search[1]/group[1]/filter[2]" position="replace"/> |
1368 | | - <xpath expr="/search[1]/group[1]/filter[2]" position="after"> |
1369 | | - <filter name="distribution_key_group_by" string="Distribution Key" context="{'group_by': 'x_distribution_key'}"/> |
1370 | | - </xpath> |
1371 | | - <xpath expr="/search[1]/group[1]/filter[2]" position="replace"/> |
1372 | | - <xpath expr="/search[1]/field[1]" position="after"> |
1373 | | - <field name="x_distribution_key"/> |
1374 | | - </xpath> |
1375 | | - <xpath expr="/search[1]/filter[2]" position="attributes"> |
1376 | | - <attribute name="domain">[("x_distribution_key", "=", False)]</attribute> |
1377 | | - </xpath> |
1378 | | - <xpath expr="/search[1]/filter[2]" position="after"> |
1379 | | - <filter name="filter_with_distribution" string="With distribution"/> |
1380 | | - </xpath> |
1381 | | - <xpath expr="/search[1]/filter[2]" position="attributes"> |
1382 | | - <attribute name="domain">[("x_distribution_key", "=", False)]</attribute> |
1383 | | - </xpath> |
1384 | | - <xpath expr="/search[1]/filter[3]" position="attributes"> |
1385 | | - <attribute name="domain">[("x_is_distributed", "=", True)]</attribute> |
1386 | | - </xpath> |
1387 | | - <xpath expr="/search[1]/filter[2]" position="attributes"> |
1388 | | - <attribute name="domain">[("x_is_distributed", "=", False)]</attribute> |
1389 | | - </xpath> |
1390 | | - <xpath expr="/search[1]/filter[3]" position="replace"/> |
1391 | | - </data> |
1392 | | - </field> |
1393 | | - <field name="mode">extension</field> |
1394 | | - <field name="inherit_id" ref="account.view_account_invoice_filter"/> |
1395 | | - <field name="active" eval="True"/> |
1396 | | - <field name="model">account.move</field> |
1397 | | - <field name="name">account.move.search.condominium</field> |
1398 | | - <field name="priority">1600</field> |
1399 | | - <field name="type">search</field> |
1400 | | - </record> |
1401 | 1363 | <record id="account_move_custom_form_view" model="ir.ui.view"> |
1402 | 1364 | <field name="arch" type="xml"> |
1403 | 1365 | <data> |
1404 | | - <xpath expr="//form[1]/sheet[1]/notebook[1]" position="inside"> |
| 1366 | + <xpath expr="//form/sheet/notebook" position="inside"> |
1405 | 1367 | <page string="Distribution" name="distribution_page" invisible="False"> |
1406 | 1368 | <group name="distribution_group"> |
1407 | 1369 | <group name="distribution_group_left" string="Distribution"> |
|
1412 | 1374 | </group> |
1413 | 1375 | </page> |
1414 | 1376 | </xpath> |
1415 | | - <xpath expr="//button[@name='action_cancel_peppol_documents']" position="after"> |
| 1377 | + <xpath expr="//form/header" position="inside"> |
1416 | 1378 | <button string="Distribute Costs" name="%(distribute_costs)d" type="action"/> |
1417 | 1379 | </xpath> |
1418 | 1380 | <xpath expr="//field[@name='x_period_start']" position="attributes"> |
|
0 commit comments