Re: [Openerp-community-reviewer] [Merge] lp:~agilebg/hr-timesheet/fix-hr_attendance_analysis-bracket into lp:hr-timesheet

2014-06-03 Thread Lorenzo Battistini - Agile BG
Ah, sure. It is so already. See http://bazaar.launchpad.net/~agilebg/hr-timesheet/fix-hr_attendance_analysis-bracket/view/69/hr_attendance_analysis/hr_attendance.py#L401 By writing the 'action' field without changing it, I'm forcing the '_get_attendance_duration' to be executed. I'm doing this

Re: [Openerp-community-reviewer] [Merge] lp:~nicolariolini/account-invoicing/add_module_account_payment_term_month into lp:account-invoicing

2014-06-03 Thread Sergio Corato
Hi Nicola, Lorenzo, Holger, what about delete commercial_month field and put this code instead? if line.months != 0: And in the view set the field days required if months if false and viceversa: field name=months attrs={'required':[('days','=',False)]}/ and xpath