[ADD]GOLEM Payment : improve search views
This commit is contained in:
parent
22df2eea36
commit
26d8e1c5f4
@ -20,7 +20,7 @@
|
||||
'summary': 'Usage of account invoice and account payments',
|
||||
'description': ''' Ability to create invoice(s) from activity subscriptions
|
||||
and anticipate multiple payments. ''',
|
||||
'version': '10.0.0.2.0',
|
||||
'version': '10.0.0.3.0',
|
||||
'category': 'GOLEM',
|
||||
'author': 'Fabien Bourgeois',
|
||||
'license': 'AGPL-3',
|
||||
|
@ -6,8 +6,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 10.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-08-01 16:06+0000\n"
|
||||
"PO-Revision-Date: 2018-08-01 18:08+0200\n"
|
||||
"POT-Creation-Date: 2018-08-03 07:43+0000\n"
|
||||
"PO-Revision-Date: 2018-08-03 09:49+0200\n"
|
||||
"Last-Translator: <>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
@ -67,6 +67,11 @@ msgstr "Jours"
|
||||
msgid "Display Name"
|
||||
msgstr "Nom affiché"
|
||||
|
||||
#. module: golem_payment
|
||||
#: model:ir.ui.view,arch_db:golem_payment.account_payment_search
|
||||
msgid "Draft"
|
||||
msgstr "Brouillon"
|
||||
|
||||
#. module: golem_payment
|
||||
#: model:ir.model,name:golem_payment.model_golem_payment_schedule
|
||||
msgid "GOLEM Payment Schedule"
|
||||
@ -120,7 +125,7 @@ msgstr "Échéanciers de paiements"
|
||||
#. module: golem_payment
|
||||
#: model:ir.ui.view,arch_db:golem_payment.account_payment_search
|
||||
msgid "Payment delayed"
|
||||
msgstr "Paiement à venir"
|
||||
msgstr "Paiement en retard"
|
||||
|
||||
#. module: golem_payment
|
||||
#: model:ir.model.fields,field_description:golem_payment.field_account_payment_reference
|
||||
@ -132,6 +137,16 @@ msgstr "Référence paiement"
|
||||
msgid "Payments"
|
||||
msgstr "Paiements"
|
||||
|
||||
#. module: golem_payment
|
||||
#: model:ir.ui.view,arch_db:golem_payment.account_payment_search
|
||||
msgid "Post"
|
||||
msgstr "Comptabilisé"
|
||||
|
||||
#. module: golem_payment
|
||||
#: model:ir.ui.view,arch_db:golem_payment.account_payment_search
|
||||
msgid "Reconciled"
|
||||
msgstr "Lettré"
|
||||
|
||||
#. module: golem_payment
|
||||
#: model:ir.model.fields,field_description:golem_payment.field_golem_payment_schedule_day_schedule_id
|
||||
msgid "Schedule id"
|
||||
@ -143,6 +158,11 @@ msgstr "Échéancier"
|
||||
msgid "Season"
|
||||
msgstr "Saison"
|
||||
|
||||
#. module: golem_payment
|
||||
#: model:ir.ui.view,arch_db:golem_payment.account_payment_search
|
||||
msgid "Sent"
|
||||
msgstr "Envoyé"
|
||||
|
||||
#. module: golem_payment
|
||||
#: model:ir.model,name:golem_payment.model_golem_payment_schedule_day
|
||||
msgid "golem.payment.schedule.day"
|
||||
|
@ -6,8 +6,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 10.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-08-01 16:06+0000\n"
|
||||
"PO-Revision-Date: 2018-08-01 16:06+0000\n"
|
||||
"POT-Creation-Date: 2018-08-03 07:43+0000\n"
|
||||
"PO-Revision-Date: 2018-08-03 07:43+0000\n"
|
||||
"Last-Translator: <>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
@ -67,6 +67,11 @@ msgstr ""
|
||||
msgid "Display Name"
|
||||
msgstr ""
|
||||
|
||||
#. module: golem_payment
|
||||
#: model:ir.ui.view,arch_db:golem_payment.account_payment_search
|
||||
msgid "Draft"
|
||||
msgstr ""
|
||||
|
||||
#. module: golem_payment
|
||||
#: model:ir.model,name:golem_payment.model_golem_payment_schedule
|
||||
msgid "GOLEM Payment Schedule"
|
||||
@ -132,6 +137,16 @@ msgstr ""
|
||||
msgid "Payments"
|
||||
msgstr ""
|
||||
|
||||
#. module: golem_payment
|
||||
#: model:ir.ui.view,arch_db:golem_payment.account_payment_search
|
||||
msgid "Post"
|
||||
msgstr ""
|
||||
|
||||
#. module: golem_payment
|
||||
#: model:ir.ui.view,arch_db:golem_payment.account_payment_search
|
||||
msgid "Reconciled"
|
||||
msgstr ""
|
||||
|
||||
#. module: golem_payment
|
||||
#: model:ir.model.fields,field_description:golem_payment.field_golem_payment_schedule_day_schedule_id
|
||||
msgid "Schedule id"
|
||||
@ -143,6 +158,11 @@ msgstr ""
|
||||
msgid "Season"
|
||||
msgstr ""
|
||||
|
||||
#. module: golem_payment
|
||||
#: model:ir.ui.view,arch_db:golem_payment.account_payment_search
|
||||
msgid "Sent"
|
||||
msgstr ""
|
||||
|
||||
#. module: golem_payment
|
||||
#: model:ir.model,name:golem_payment.model_golem_payment_schedule_day
|
||||
msgid "golem.payment.schedule.day"
|
||||
|
@ -63,15 +63,19 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
<field name="model">account.payment</field>
|
||||
<field name="arch" type="xml">
|
||||
<search>
|
||||
<field name="partner_id" />
|
||||
<field name="state" />
|
||||
<field name="payment_date" />
|
||||
<field name="reference" />
|
||||
<group string="Group By">
|
||||
<filter name="group_week" string="By week"
|
||||
context="{'group_by': 'payment_date:week'}"/>
|
||||
<filter name="group_month" string="By month"
|
||||
context="{'group_by': 'payment_date:month'}"/>
|
||||
</group>
|
||||
<filter name="state_draft" string="Draft"
|
||||
domain="[('state', '=', 'draft')]" />
|
||||
<filter name="state_posted" string="Post"
|
||||
domain="[('state', '=', 'posted')]" />
|
||||
<filter name="state_sent" string="Sent"
|
||||
domain="[('state', '=', 'sent')]" />
|
||||
<filter name="state_reconciled" string="Reconciled"
|
||||
domain="[('state', '=', 'reconciled')]" />
|
||||
<separator />
|
||||
<filter name="payment_7_days" string="payment in 7 days"
|
||||
domain="[('state','=', 'draft'),
|
||||
('payment_date','<=', (context_today() + datetime.timedelta(days=7)).strftime('%Y-%m-%d')),
|
||||
@ -83,6 +87,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
<separator />
|
||||
<filter name="payment_delayed" string="Payment delayed"
|
||||
domain="[('state','=', 'draft'), ('payment_date','<=', context_today().strftime('%Y-%m-%d'))]" />
|
||||
<group string="Group By">
|
||||
<filter name="group_week" string="By week"
|
||||
context="{'group_by': 'payment_date:week'}"/>
|
||||
<filter name="group_month" string="By month"
|
||||
context="{'group_by': 'payment_date:month'}"/>
|
||||
</group>
|
||||
</search>
|
||||
</field>
|
||||
</record>
|
||||
|
Loading…
Reference in New Issue
Block a user