Server IP : 127.0.0.2 / Your IP : 18.119.13.56 Web Server : Apache/2.4.18 (Ubuntu) System : User : www-data ( ) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : disk_free_space,disk_total_space,diskfreespace,dl,exec,fpaththru,getmyuid,getmypid,highlight_file,ignore_user_abord,leak,listen,link,opcache_get_configuration,opcache_get_status,passthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,php_uname,phpinfo,posix_ctermid,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid,posix,_getppid,posix_getpwnam,posix_getpwuid,posix_getrlimit,posix_getsid,posix_getuid,posix_isatty,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_times,posix_ttyname,posix_uname,pclose,popen,proc_open,proc_close,proc_get_status,proc_nice,proc_terminate,shell_exec,source,show_source,system,virtual MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /opt/odoo/addons/account/views/ |
Upload File : |
<?xml version="1.0" encoding="utf-8"?> <odoo> <data> <record id="view_account_payment_tree" model="ir.ui.view"> <field name="name">account.payment.tree</field> <field name="model">account.payment</field> <field name="arch" type="xml"> <tree decoration-info="state=='draft'" decoration-muted="state=='reconciled'" edit="false"> <field name="payment_date"/> <field name="name"/> <field name="journal_id"/> <field name="payment_method_id"/> <field name="partner_id" string="Customer"/> <field name="amount" sum="Amount"/> <field name="state"/> <field name="company_id" groups="base.group_multi_company"/> <field name="currency_id" invisible="1"/> <field name="partner_type" invisible="1"/> </tree> </field> </record> <record id="view_account_supplier_payment_tree" model="ir.ui.view"> <field name="name">account.supplier.payment.tree</field> <field name="model">account.payment</field> <field name="arch" type="xml"> <tree decoration-info="state=='draft'" decoration-muted="state=='reconciled'" edit="false"> <field name="payment_date"/> <field name="name"/> <field name="journal_id"/> <field name="payment_method_id"/> <field name="partner_id" string="Vendor"/> <field name="amount" sum="Amount"/> <field name="company_id" groups="base.group_multi_company"/> <field name="state"/> <field name="currency_id" invisible="1"/> <field name="partner_type" invisible="1"/> </tree> </field> </record> <record id="view_account_payment_search" model="ir.ui.view"> <field name="name">account.payment.search</field> <field name="model">account.payment</field> <field name="arch" type="xml"> <search string="Payments"> <field name="name" filter_domain="['|', ('name','ilike',self), ('communication','ilike',self)]" string="Description"/> <separator/> <field name="partner_id" /> <field name="journal_id" /> <field name="company_id" groups="base.group_multi_company" /> <filter string="Payable" domain="[('payment_type','=','outbound')]"/> <filter string="Receivable" domain="[('payment_type','=','inbound')]"/> <filter string="Transfers" domain="[('payment_type','=','transfer')]"/> <separator/> <filter string="Draft" domain="[('state','=','draft')]" name='state_draft'/> <filter string="Posted" domain="[('state','=','posted')]" name='state_posted'/> <filter string="Sent" domain="[('state','=','sent')]" name='state_sent'/> <filter string="Reconciled" domain="[('state','=','reconciled')]"/> <separator/> <filter string="Partner" domain="[]" context="{'group_by': 'partner_id'}"/> <filter string="Journal" domain="[]" context="{'group_by': 'journal_id'}"/> <filter string="Payment Method" domain="[]" context="{'group_by': 'payment_method_id'}"/> <filter string="State" domain="[]" context="{'group_by': 'state'}"/> <filter string="Currency" domain="[]" context="{'group_by': 'currency_id'}" groups="base.group_multi_currency"/> <filter string="Company" domain="[]" context="{'group_by': 'company_id'}" groups="base.group_multi_company"/> </search> </field> </record> <record id="view_account_payment_form" model="ir.ui.view"> <field name="name">account.payment.form</field> <field name="model">account.payment</field> <field name="arch" type="xml"> <form string="Register Payment" version="7"> <header> <button name="post" class="oe_highlight" states="draft" string="Confirm" type="object"/> <field name="state" widget="statusbar" statusbar_visible="posted,reconciled"/> </header> <sheet> <div class="oe_button_box" name="button_box"> <button class="oe_stat_button" name="button_journal_entries" string="Journal Items" type="object" groups="account.group_account_manager" attrs="{'invisible':[('move_line_ids','=',[])]}" icon="fa-bars"/> <field name="move_line_ids" invisible="1"/> <button class="oe_stat_button" name="button_invoices" string="Invoices" type="object" attrs="{'invisible':[('has_invoices','=',False)]}" icon="fa-bars"/> <field name="has_invoices" invisible="1"/> </div> <field name="id" invisible="1"/> <div class="oe_title" attrs="{'invisible': [('state', '=', 'draft')]}"> <h1><field name="name"/></h1> </div> <group> <group> <field name="payment_type" widget="radio" attrs="{'readonly': [('state', '!=', 'draft')]}"/> <field name="partner_type" nolabel="1" widget="selection" string="" attrs="{'required': [('payment_type', 'in', ('inbound', 'outbound'))], 'invisible': [('payment_type', 'not in', ('inbound', 'outbound'))], 'readonly': [('state', '!=', 'draft')]}"/> <field name="partner_id" nolabel="1" attrs="{'required': [('payment_type', 'in', ('inbound', 'outbound'))], 'invisible': [('payment_type', 'not in', ('inbound', 'outbound'))], 'readonly': [('state', '!=', 'draft')]}" context="{'default_is_company': True, 'default_supplier': payment_type == 'outbound', 'default_customer': payment_type == 'inbound'}"/> <field name="journal_id" widget="selection" attrs="{'readonly': [('state', '!=', 'draft')]}"/> <field name="destination_journal_id" widget="selection" attrs="{'required': [('payment_type', '=', 'transfer')], 'invisible': [('payment_type', '!=', 'transfer')], 'readonly': [('state', '!=', 'draft')]}"/> <field name="hide_payment_method" invisible="1"/> <field name="payment_method_id" string=" " widget="radio" attrs="{'invisible': [('hide_payment_method', '=', True)], 'readonly': [('state', '!=', 'draft')]}"/> <field name="payment_method_code" invisible="1"/> <label for="amount"/> <div name="amount_div" class="o_row"> <field name="amount" attrs="{'readonly': [('state', '!=', 'draft')]}"/> <field name="currency_id" options="{'no_create': True, 'no_open': True}" groups="base.group_multi_currency" attrs="{'readonly': [('state', '!=', 'draft')]}"/> </div> </group> <group> <field name="payment_date" attrs="{'readonly': [('state', '!=', 'draft')]}"/> <field name="communication" attrs="{'invisible': [('state', '!=', 'draft'), ('communication', '=', False)], 'readonly': [('state', '!=', 'draft')]}"/> </group> </group> </sheet> </form> </field> </record> <record id="view_account_payment_graph" model="ir.ui.view"> <field name="name">account.payment.graph</field> <field name="model">account.payment</field> <field name="arch" type="xml"> <graph string="Invoices" type="bar" stacked="1"> <field name="payment_type"/> <field name="journal_id"/> <field name="amount" type="measure"/> </graph> </field> </record> <record id="action_account_payments" model="ir.actions.act_window"> <field name="name">Payments</field> <field name="res_model">account.payment</field> <field name="view_type">form</field> <field name="view_mode">tree,form,graph</field> <field name="context">{'default_payment_type': 'inbound', 'default_partner_type': 'customer'}</field> <field name="domain">[('partner_type', '=', 'customer')]</field> <field name="view_id" ref="view_account_payment_tree"/> <field name="help" type="html"> <p class="oe_view_nocontent_create"> Click to register a payment </p><p> Payments are used to register liquidity movements (send, collect or transfer money). You can then process those payments by your own means or by using installed facilities. </p> </field> </record> <record id="action_account_payments_payable" model="ir.actions.act_window"> <field name="name">Payments</field> <field name="res_model">account.payment</field> <field name="view_type">form</field> <field name="view_mode">tree,form,graph</field> <field name="context">{'default_payment_type': 'outbound', 'default_partner_type': 'supplier'}</field> <field name="domain">[('partner_type', '=', 'supplier')]</field> <field name="view_id" ref="view_account_supplier_payment_tree"/> <field name="help" type="html"> <p class="oe_view_nocontent_create"> Click to register a payment </p><p> Payments are used to register liquidity movements (send, collect or transfer money). You can then process those payments by your own means or by using installed facilities. </p> </field> </record> <menuitem action="action_account_payments" id="menu_action_account_payments_receivable" parent="menu_finance_receivables" sequence="20" groups="group_account_user"/> <menuitem action="action_account_payments_payable" id="menu_action_account_payments_payable" parent="menu_finance_payables" sequence="20" groups="group_account_user"/> <record id="view_account_payment_invoice_form" model="ir.ui.view"> <field name="name">account.payment.invoice.form</field> <field name="model">account.payment</field> <field name="arch" type="xml"> <form string="Register Payment" version="7"> <sheet> <group> <field name="payment_type" invisible="1"/> <field name="partner_type" invisible="1"/> <field name="invoice_ids" invisible="1"/> <field name="partner_id" invisible="1"/> <field name="state" invisible="1"/> <group> <field name="journal_id" widget="selection"/> <field name="hide_payment_method" invisible="1"/> <field name="payment_method_id" widget="radio" attrs="{'invisible': [('hide_payment_method', '=', True)]}"/> <field name="payment_method_code" invisible="1"/> <label for="amount"/> <div name="amount_div" class="o_row"> <field name="amount"/> <field name="currency_id" options="{'no_create': True, 'no_open': True}" groups="base.group_multi_currency"/> </div> </group> <group> <field name="payment_date"/> <field name="communication"/> </group> <group attrs="{'invisible': [('payment_difference', '=', 0.0)]}"> <label for="payment_difference"/> <div> <field name="payment_difference"/> <field name="payment_difference_handling" widget="radio" nolabel="1"/> </div> <field name="writeoff_account_id" string="Post Difference In" attrs="{'invisible': [('payment_difference_handling','=','open')], 'required': [('payment_difference_handling', '=', 'reconcile')]}"/> </group> </group> </sheet> <footer> <button string='Validate' name="post" type="object" class="btn-primary"/> <button string="Cancel" class="btn-default" special="cancel"/> </footer> </form> </field> </record> <record id="action_account_invoice_payment" model="ir.actions.act_window"> <field name="name">Register Payment</field> <field name="res_model">account.payment</field> <field name="view_type">form</field> <field name="view_mode">form</field> <field name="view_id" ref="view_account_payment_invoice_form"/> <field name="context">{'default_invoice_ids': [(4, active_id, None)]}</field> <field name="target">new</field> </record> <!-- Register payment from several invoices --> <record id="view_account_payment_from_invoices" model="ir.ui.view"> <field name="name">account.register.payments.wizard</field> <field name="model">account.register.payments</field> <field name="arch" type="xml"> <form string="Register Payment" version="7"> <field name="payment_type" invisible="1"/> <field name="partner_type" invisible="1"/> <field name="partner_id" invisible="1"/> <group> <group> <field name="journal_id" widget="selection"/> <field name="hide_payment_method" invisible="1"/> <field name="payment_method_id" widget="radio" attrs="{'invisible': [('hide_payment_method', '=', True)]}"/> <field name="payment_method_code" invisible="1"/> <field name="amount"/> <field name="currency_id" invisible="1"/> </group> <group> <field name="payment_date"/> <field name="communication"/> </group> </group> <footer> <button string='Validate' name="create_payment" type="object" class="btn-primary"/> <button string="Cancel" class="btn-default" special="cancel"/> </footer> </form> </field> </record> <act_window id="action_account_payment_from_invoices" name="Register Payment" res_model="account.register.payments" src_model="account.invoice" view_mode="form" multi="True" target="new" key2="client_action_multi" /> </data> </odoo>