mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
[FIX] account_payment_order: Change security group category + Make post move field invisible in payment modes + fix account move views
- Change security group category Before this change, the group was creating a new section in each user's settings called "Other" with a field called "Other Extra Rights" that could select "Accounting / Payments" as an option This places it in the correct location TT29182 - Make post move field invisible in payment modes When the generate_moves option is not selected, the post_move option should not be available TT29182 - fix account move views Current spec was causing weird display in account move view, both for customer invoices and vendor bills Changing the placement and adding back the label fixes the issue TT29027
This commit is contained in:
committed by
Pedro M. Baeza
parent
3c11cf2aab
commit
5bf4b9bda5
@@ -8,7 +8,7 @@
|
||||
|
||||
{
|
||||
"name": "Account Payment Order",
|
||||
"version": "14.0.1.0.5",
|
||||
"version": "14.0.1.2.0",
|
||||
"license": "AGPL-3",
|
||||
"author": "ACSONE SA/NV, "
|
||||
"Therp BV, "
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
name="users"
|
||||
eval="[(4, ref('base.user_root')), (4, ref('base.user_admin'))]"
|
||||
/>
|
||||
<field name="category_id" ref="base.module_category_extra" />
|
||||
<field name="category_id" ref="base.module_category_usability" />
|
||||
</record>
|
||||
</data>
|
||||
<data noupdate="1">
|
||||
|
||||
@@ -42,11 +42,10 @@
|
||||
<field name="payment_mode_id" position="after">
|
||||
<field name="payment_order_ok" invisible="1" />
|
||||
</field>
|
||||
<field name="ref" position="before">
|
||||
<field name="ref" position="after">
|
||||
<field
|
||||
name="reference_type"
|
||||
required="1"
|
||||
nolabel="1"
|
||||
attrs="{'readonly':[('state','!=','draft')],
|
||||
'invisible': [('move_type', 'not in', ('out_invoice', 'out_refund'))]}"
|
||||
/>
|
||||
|
||||
@@ -57,7 +57,10 @@
|
||||
name="move_option"
|
||||
attrs="{'invisible': [('generate_move', '=', False)], 'required': [('generate_move', '=', True)]}"
|
||||
/>
|
||||
<field name="post_move" />
|
||||
<field
|
||||
name="post_move"
|
||||
attrs="{'invisible': [('generate_move', '=', False)]}"
|
||||
/>
|
||||
</group>
|
||||
</group>
|
||||
</field>
|
||||
|
||||
Reference in New Issue
Block a user