[IMP] Changes dates
bzr revid: jco@openerp.com-20121025080822-7pbbpwoveuqv3u64
This commit is contained in:
@@ -79,7 +79,7 @@ class account_move_line(osv.osv):
|
||||
'payment_commitment':fields.text('Commitment'),
|
||||
'payment_date':fields.date('Date'),
|
||||
#'payment_note':fields.text('Payment note'),
|
||||
'payment_new_action':fields.text('New action'),
|
||||
'payment_next_action':fields.text('New action'),
|
||||
}
|
||||
|
||||
account_move_line()
|
||||
@@ -193,7 +193,8 @@ class res_partner(osv.osv):
|
||||
'payment_responsible_id':fields.many2one('res.users', ondelete='set null', string='Responsible', help="Responsible"),
|
||||
#'payment_followup_level_id':fields.many2one('account_followup.followup.line', 'Followup line'),
|
||||
'payment_note':fields.text('Payment note', help="Payment note"),
|
||||
'payment_new_action':fields.text('New action'), #one2many/selection?
|
||||
'payment_next_action':fields.text('Next action', help="Write here the comments of your customer"), #Just a note
|
||||
'payment_next_action_date':fields.date('Next action date', help="Next date to take action"), # next action date
|
||||
'accountmoveline_ids':fields.one2many('account.move.line', 'partner_id', domain=['&', ('debit', '>', 0.0), '&', ('reconcile_id', '=', False), '&',
|
||||
('account_id.active','=', True), '&', ('account_id.type', '=', 'receivable'), ('state', '!=', 'draft')]),
|
||||
'latest_followup_date':fields.function(_get_latest_followup_date, method=True, type='date', string="latest followup date", store=True),
|
||||
|
||||
@@ -37,16 +37,14 @@
|
||||
<separator string="Payment Followup Remarks" colspan="4"/>
|
||||
<newline/>
|
||||
<group col="6" colspan="6">
|
||||
<field name="payment_next_action"/>
|
||||
|
||||
<field name="payment_next_action"/>
|
||||
<field name="payment_note"/>
|
||||
<field name="payment_responsible_id"/>
|
||||
|
||||
<!--<field name="payment_followup_level_id"/>-->
|
||||
|
||||
<!--<field name="payment_followup_level_id"/>-->
|
||||
<field name="latest_followup_level_id"/>
|
||||
<field name="latest_followup_date"/>
|
||||
<field name="next_followup_level_id"/>
|
||||
<field name="payment_next_action_date"/>
|
||||
</group>
|
||||
</form>
|
||||
</field>
|
||||
@@ -59,16 +57,17 @@
|
||||
<field name="priority" eval="20"/>
|
||||
<field name="arch" type="xml">
|
||||
<tree string="Customer Followup">
|
||||
<field name="name"/>
|
||||
<field name="latest_followup_level_id"/>
|
||||
<field name="latest_followup_date"/>
|
||||
<field name="name"/>
|
||||
<!--<field name="latest_followup_level_id"/>
|
||||
<field name="latest_followup_date"/>-->
|
||||
<field name="payment_next_action_date"/>
|
||||
<field name="payment_next_action"/>
|
||||
<field name="payment_note"/>
|
||||
<field name="phone"/>
|
||||
<!--<field name="payment_note"/>
|
||||
<field name="phone"/>-->
|
||||
<field name="payment_responsible_id"/>
|
||||
<field name="email"/>
|
||||
<field name="next_followup_level_id"/>
|
||||
<!-- <field name="latest_followup_date"/>-->
|
||||
<!--<field name="email"/>-->
|
||||
<!--<field name="next_followup_level_id"/>-->
|
||||
<!-- <field name="latest_followup_date"/>-->
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
@@ -94,15 +93,12 @@
|
||||
<field name="res_model">res.partner</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<!--<field name="domain">[('latest_followup_date','!=', False)]</field>--> <!--('customer', '=', True), -->
|
||||
<field name="domain">[]</field> <!--('customer', '=', True), ('latest_followup_date','!=', False)-->
|
||||
<field name="search_view_id" ref="customer_followup_search_view"/>
|
||||
</record>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<record id="action_view_customer_followup_form" model="ir.actions.act_window.view">
|
||||
<field name="sequence" eval="2"/>
|
||||
<field name="view_mode">form</field>
|
||||
|
||||
Reference in New Issue
Block a user