Cédric Krier pushed to branch branch/default at Tryton / Tryton


Commits:
7ed22d87 by Cédric Krier at 2023-02-15T22:56:22+01:00
Add second currency fields to editable account move line list

As these fields may be required if the account has a second currency, they
need to be in the editable list.

Closes #11986
- - - - -


2 changed files:

- modules/account/view/move_line_tree.xml
- modules/account/view/move_line_tree_move.xml


Changes:

=====================================
modules/account/view/move_line_tree.xml
=====================================
@@ -11,6 +11,8 @@
     <field name="party" expand="1"/>
     <field name="debit" sum="Debit"/>
     <field name="credit" sum="Credit"/>
+    <field name="amount_second_currency" symbol="" optional="1"/>
+    <field name="second_currency" optional="1"/>
     <field name="delegated_amount" optional="0"/>
     <field name="tax_lines" optional="1"/>
     <field name="description" expand="1" optional="1"/>


=====================================
modules/account/view/move_line_tree_move.xml
=====================================
@@ -7,6 +7,8 @@
     <field name="party" expand="1"/>
     <field name="debit" sum="Debit"/>
     <field name="credit" sum="Credit"/>
+    <field name="amount_second_currency" symbol="" optional="1"/>
+    <field name="second_currency" optional="1"/>
     <field name="tax_lines" optional="1"/>
     <field name="description" expand="1" optional="1"/>
     <field name="reconciliation" optional="1"/>



View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/commit/7ed22d87e7ae50c046386676ac4d39228c9b086b

-- 
View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/commit/7ed22d87e7ae50c046386676ac4d39228c9b086b
You're receiving this email because of your account on foss.heptapod.net.


Reply via email to