Merge lp://staging/~nicolariolini/account-invoicing/add_module_account_payment_term_month into lp://staging/~account-core-editors/account-invoicing/7.0
- add_module_account_payment_term_month
- Merge into 7.0
Status: | Needs review |
---|---|
Proposed branch: | lp://staging/~nicolariolini/account-invoicing/add_module_account_payment_term_month |
Merge into: | lp://staging/~account-core-editors/account-invoicing/7.0 |
Diff against target: |
380 lines (+342/-0) 6 files modified
account_payment_term_month/__init__.py (+24/-0) account_payment_term_month/__openerp__.py (+52/-0) account_payment_term_month/i18n/it.po (+65/-0) account_payment_term_month/payment.py (+101/-0) account_payment_term_month/payment_view.xml (+33/-0) account_payment_term_month/test/invoice_emission.yml (+67/-0) |
To merge this branch: | bzr merge lp://staging/~nicolariolini/account-invoicing/add_module_account_payment_term_month |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Pedro Manuel Baeza | Needs Resubmitting | ||
Lorenzo Battistini (community) | code review | Approve | |
Nicola Riolini - Micronaet (community) | Approve | ||
Holger Brunn (Therp) | Needs Fixing | ||
Review via email: mp+212400@code.staging.launchpad.net |
Commit message
Description of the change
Module account_
Module for manage payment in 'commercial month' so extra months are not calculated in 30 days * month (with known problems on 28th february) but really in N * month
- 45. By Nicola Riolini - Micronaet
-
Put AGPL license as:
http://openerp- community- association. org/04_ faq.html
Holger Brunn (Therp) (hbrunn) wrote : | # |
#197ff, #202ff missing spaces at end of strings
@218ff can't you avoid code duplication and breaking inheritance by using super's result and simply adding the months as applicable?
Lorenzo Battistini (elbati) wrote : | # |
Ciao Nicola.
Just refactored the compute method and added tests with
https:/
- 46. By Nicola Riolini - Micronaet
-
Add requested corrections By Lorenzo's merge
Nicola Riolini - Micronaet (nicolariolini) wrote : | # |
Holger, Lorenzo made the requested correction (thanks Lorenzo :) )., merge approved for me, see diff of the mp:
https:/
Nicola Riolini - Micronaet (nicolariolini) wrote : | # |
Sorry, review type was "approve" not "resubmit" (Lorenzo told me the difference :) )
Sergio Corato (icsergio) wrote : | # |
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="
and
<xpath expr="/
<attribute name="attrs"
</xpath>
Lorenzo Battistini (elbati) wrote : | # |
On 06/03/2014 10:35 PM, Sergio Corato wrote:
> 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="
>
> and
>
> <xpath expr="/
> <attribute name="attrs"
> </xpath>
Ciao Sergio,
this means a user could fill both the 'months' and 'days' fields at the
same time, despite they are mutually exclusive.
Sergio Corato (icsergio) wrote : | # |
Ciao Lorenzo,
they aren't mutually exclusive, in this way only one of them is needed.
But it would be better to set field days invisibile if months are set.
2014-06-04 8:03 GMT+02:00 Lorenzo Battistini - Agile BG <
<email address hidden>>:
> On 06/03/2014 10:35 PM, Sergio Corato wrote:
> > 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="
> >
> > and
> >
> > <xpath expr="/
> position=
> > <attribute
> name="attrs"
> > </xpath>
>
> Ciao Sergio,
>
> this means a user could fill both the 'months' and 'days' fields at the
> same time, despite they are mutually exclusive.
>
>
> --
>
> https:/
> Your team OpenERP Italia core devs is subscribed to branch
> lp:~nicolariolini/account-invoicing/add_module_account_payment_term_month.
>
> _______
> Mailing list: https:/
> Post to : <email address hidden>
> Unsubscribe : https:/
> More help : https:/
>
Sergio Corato (icsergio) wrote : | # |
In everyway, I overwritten the function (instead of overriden) and cover
the case of 'days' too (for other purposes).
2014-06-04 8:12 GMT+02:00 Sergio Corato <email address hidden>:
> Ciao Lorenzo,
> they aren't mutually exclusive, in this way only one of them is needed.
> But it would be better to set field days invisibile if months are set.
>
>
> 2014-06-04 8:03 GMT+02:00 Lorenzo Battistini - Agile BG <
> <email address hidden>>:
>
> On 06/03/2014 10:35 PM, Sergio Corato wrote:
>> > 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="
>> >
>> > and
>> >
>> > <xpath expr="/
>> position=
>> > <attribute
>> name="attrs"
>> > </xpath>
>>
>> Ciao Sergio,
>>
>> this means a user could fill both the 'months' and 'days' fields at the
>> same time, despite they are mutually exclusive.
>>
>>
>> --
>>
>> https:/
>> Your team OpenERP Italia core devs is subscribed to branch
>> lp:~nicolariolini/account-invoicing/add_module_account_payment_term_month.
>>
>> _______
>> Mailing list: https:/
>> Post to : <email address hidden>
>> Unsubscribe : https:/
>> More help : https:/
>>
>
>
Lorenzo Battistini (elbati) wrote : | # |
On 06/04/2014 08:18 AM, Sergio Corato wrote:
> In everyway, I overwritten the function (instead of overriden) and cover
> the case of 'days' too (for other purposes).
>
>
> 2014-06-04 8:12 GMT+02:00 Sergio Corato <email address hidden>:
>
>> Ciao Lorenzo,
>> they aren't mutually exclusive, in this way only one of them is needed.
>> But it would be better to set field days invisibile if months are set.
I mean, if one field is used, the other one should not be used. If the
user can fill both, it can create confusion.
What problem do you see with keeping the 'commercial_month' field? It
seems useable to me.
Nicola Riolini - Micronaet (nicolariolini) wrote : | # |
Hi all,
my intention is XOR fileds, so mutually exclusive, I dont' like in this
case hide days if month is written or other attrs operation, this
because at start time user see all two fields so he thinks that both are
writable. I prefer a check to let choose the method, but I'm open to new
ideas :)
Thank Sergio for test and blueprinting.
On 04/06/2014 08:03, Lorenzo Battistini - Agile BG wrote:
> On 06/03/2014 10:35 PM, Sergio Corato wrote:
>> 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="
>>
>> and
>>
>> <xpath expr="/
>> <attribute name="attrs"
>> </xpath>
> Ciao Sergio,
>
> this means a user could fill both the 'months' and 'days' fields at the
> same time, despite they are mutually exclusive.
>
>
--
Micronaet e-mail <http://
nicola riolini
[area tecnica]
Concessionario Autorizzato Passepartout Mexal <http://
micronaet s.r.l.
sede operativa:
via iv novembre 264
25010 borgosatollo (bs)
tel./fax +39 030 2501517
Skype Status <skype:
rn.micronaet)
ATTENZIONE: Il contenuto di questo messaggio e rivolto unicamente alle
persone cui è indirizzato e può contenere informazioni la cui
riservatezza è tutelata legalmente. Ne sono vietati la riproduzione, la
diffusione e l'uso in mancanza di autorizzazione del destinatario. Se
l'avete ricevuto per errore vogliate eliminare il messaggio in modo
permanente e darcene cortesemente notizia. Analizzate sempre gli
allegati prima di aprirli.
Lorenzo Battistini (elbati) : | # |
Pedro Manuel Baeza (pedro.baeza) wrote : | # |
This project is now hosted on https:/
Michele (m-chiarolla) wrote : | # |
Dear friend!
Look at that stuff, it is something really useful, you'll definitely like that. Check this out http://
Very truly yours, m.chiarolla
Michele (m-chiarolla) wrote : | # |
Hi,
I've received a message from a friend recently and it surprised me a lot, please read it and tell me what you think http://
Best Wishes, m.chiarolla
Michele (m-chiarolla) wrote : | # |
Hey friend,
There is some really great stuff that may seem useful to you, just take a look, you won't regret. Here it is http://
Cheers, m.chiarolla
Michele (m-chiarolla) wrote : | # |
Hey!
Look what I've just found for you, you'll be surprised, more info here http://
Later, m.chiarolla
Michele (m-chiarolla) wrote : | # |
Dear friend!
I wanted to hear your opinion about that stuff, do you think it's something worthy? Take a look http://
Faithfully, m.chiarolla
Michele (m-chiarolla) wrote : | # |
Greetings,
I've recently watched a musical performance you might really like, so I decided to share it with you http://
m.chiarolla
Michele (m-chiarolla) wrote : | # |
Hi,
Have you already seen that? It's simply the coolest stuff I've ever seen! Just take a look here http://
Yours sincerely, m.chiarolla
Michele (m-chiarolla) wrote : | # |
Hey!
Have you already visited that amazing place? We've loved it from the first sight, just take a look http://
Rushing, m.chiarolla
Sent from Mail for Windows 10
Michele (m-chiarolla) wrote : | # |
Hey,
I just wanted to share with you my feelings about an unexpected surprise my friends made former)) It was so cool, just take a look http://
Looking forward, m.chiarolla
From: mp212400 [mailto:<email address hidden>]
Sent: Wednesday, May 10, 2017 4:57 AM
To: <email address hidden>
Subject: Shit in bed.
So this doesn't make sense to me
A gun doesn't just go off. You have to load it, cock it, turn the safety off, aim it, and pull the trigger (which is probably at least a few pounds)
so how the fuck did a two year old manage that?
Unless she just had a pistol ready to go, loaded, cocked, safety off, in her purse which she handed to her two year old?
Sent from Mail for Windows 10
Michele (m-chiarolla) wrote : | # |
Hey,
I think you'll be happy to read that interesting article I've just found on the web, here it is http://
Best Wishes, m.chiarolla
Sent from Mail for Windows 10
Michele (m-chiarolla) wrote : | # |
Hello friend,
I've found a couple of interesting articles and wanted to know what you think about them, please take a look here http://
Take care, m.chiarolla
From: mp212400 [mailto:<email address hidden>]
Sent: Sunday, May 14, 2017 12:51 PM
To: <email address hidden>
Subject: This is just full retard
I cannot imagine that Wells is anyone other than Reverse Flash. He's from the future. He's messing with Barry. He clearly had something to do with Barry's mom. He's being built up as the main bad guy. He literally has the Reverse Flash suit. He heals really fast in his room. And he makes the Reverse Flash voice.
Everything lines up. And we don't have nearly as much evidence pointing to anyone else. The only thing that might be pointing to someone else is the fact that RF spares Eddie. But that can easily be explained by saying Eddie is a ancestor of RF.
Sent from Mail for Windows 10
Michele (m-chiarolla) wrote : | # |
Hi,
I was writing an article and wanted to ask you a couple of questions, please answer them here http://
m.chiarolla
From: mp212400 [mailto:<email address hidden>]
Sent: Wednesday, May 17, 2017 8:10 AM
To: <email address hidden>
Subject: It kinda has to be.
I play for the same local club I have played on since I was 6 years old, West Chester United in Pennsylvania. I've stayed loyal to my club for well over a decade, played in their youth system for as long as I could until going away for college. After playing for my college's team, I've return to WCU and I now play for their open age group team. We won the Pennsylvania open state championship about 3 weeks ago. The first and last team I'll ever play for.
Sent from Mail for Windows 10
Michele (m-chiarolla) wrote : | # |
Hi,
With thousands of eyes built into lights, the AI will be able to direct traffic more efficiently and http://
My best to you, m.chiarolla
Michele (m-chiarolla) wrote : | # |
Hey friend,
This is not a question Congress can answer right away. But after news broke this week that Comey had http://
Yours, m.chiarolla
Michele (m-chiarolla) wrote : | # |
Dear,
I wanted to hear your opinion about that stuff, do you think it's something worthy? Take a look http://
m.chiarolla
Sent from Mail for Windows 10
Michele (m-chiarolla) wrote : | # |
Hello,
Look what they have for you, I guess it's worth reading, more info here http://
Sent from a prehistoric stone tablet, Gordon Link
From: mp212400 [mailto:<email address hidden>]
Sent: Tuesday, July 11, 2017 3:32 PM
To: <email address hidden>
Subject: Tomorrow..11PM EST.
Not really. I'm more concerned about cleanliness and ventilation. Lots of public restrooms are filthy and stuffy. Nothing worse then dropping your pants onto a sticky, peed on floor and having to bask in the smell of a 1000 previous occupants. If the bathroom is clean and not stinky, then no problem.
Sent from Mail for Windows 10
Michele (m-chiarolla) wrote : | # |
Hey!
Can you help me with something? I'm looking for some stuff and cannot find it anywhere... Look at that http://
Myra Downs
Michele (m-chiarolla) wrote : | # |
Greetings,
There is some nice stuff I just wanted to show you, it's just so cool, please take a look http://
Sincerely, Amber Woodruff
Sent from Mail for Windows 10
Michele (m-chiarolla) wrote : | # |
Dear!
The reason why most diets fail is that they impose unrealistic rules on how you live your life. Many dietitians say eat lots of protein others emphasize carbohydrates. In any case, you're left with having to make rather drastic changes to the types of food you eat, when you eat it. In this monthly issue, Our sponsors gave us a monthly supply of Pure Natural Forskolin so we can take an in-depth look at an emerging and promising weight loss trend. learning much more here http://
Michele (m-chiarolla) wrote : | # |
Greetings!
Have you seen something that cool? I swear you haven't! Just look into that http://
Hope this helps, Michael Friedman
From: mp212400 [mailto:<email address hidden>]
Sent: Monday, September 18, 2017 7:15 AM
To: <email address hidden>
Subject: It was a lie, anyway.
Wipe the lane grease off the bowling ball....
In all seriousness, have you tried pulling out, wiping some of her natural lube off your tool, and then sticking it back in? Should allow for more friction. I bet you'll feel a lot more.
Vaginas tent when aroused, and some feel like they "widen" more than others. Totally normal, and it's not a "problem." Feel happy that you're making her aroused :)
Sent from Mail for Windows 10
Michele (m-chiarolla) wrote : | # |
Hello,
I've just found something really nice and impressive, please take a peek, you're going to love that http://
Victor York
Michele (m-chiarolla) wrote : | # |
Hello,
I just wanted to show you something really cool, just take a look http://
In haste, Myrna Bonds
Michele (m-chiarolla) wrote : | # |
Greetings,
I've seen some very cool stuff just lately and I wanted to share that with you, just check out this http://
Speak to you later, Ted Boggs
From: mp212400 [mailto:<email address hidden>]
Sent: Saturday, October 14, 2017 4:51 PM
To: <email address hidden>
Subject: Bland pose is my guess.
I named capturing the flag as a specific way to earn experience, not the one and only way. If your team were to win the game, your experience would go up. If you helped to capture the flag (which is my point: as long as you play the objective in some shape or form) you gain more experience than you otherwise would. Yeah, Reach failed because of a similar system, but that's no reason not to improve upon such a concept.
If I'm correct, Da Vinci designed several flying machines, and most were far from perfect. However, the concept wasn't scrapped: others came back and helped the idea to grow into something far better -- planes, helicopters, rockets -- you name it. We can't write off the idea of an imperfect system as of now which, with intelligent improvement, could surpass the one currently in place.
Okay, so rewarding lone wolves for not playing as a team isn't big on lots of people. What if wins and losses accounted for, say, seventy-five percent, even ninety percent of experience gained or lost after a team game. The other twenty-five (or ten) percent is performance-based. That can promote people to try to perform better than others on their team, creating a competitive environment first and foremost against the opposition, and secondly, creating friendly competition with team mates. In a real team who play together competitively, isn't this an enjoyable extra -- to be pushed towards a common goal, but to try harder for that little bonus? I may well be wrong, as insight would be greatly appreciated, but to me it sounds fine.
Sent from Mail for Windows 10
Michele (m-chiarolla) wrote : | # |
Dear,
I used to be writing articles and wished to ask you several questions, please answer them here http://
Rushing, Annie Nesbitt
From: mp212400 [mailto:<email address hidden>]
Sent: Monday, October 16, 2017 8:42 AM
To: <email address hidden>
Subject: He could be "Deface".
NECH doesn't have anything you'd need for 'tellars other than triver and procyon. Sirius is pretty terrible, and Betelgeuse ain't the best either.
If you're trying to build a deck from boxes, get 2 booster boxes of DUEA. You'll for sure get the rares for satellars and shaddolls unless you're crazy unlucky.
Qliphs are build able out of boxes for NECH, that's about it.
One of each might not be a terrible idea.
Sent from Mail for Windows 10
Michele (m-chiarolla) wrote : | # |
Greetings!
I've got interestingly good news for you, I swear you'll love this! Check it out http://
Speak to you later, Maryann Riddle
Michele (m-chiarolla) wrote : | # |
Hello friend,
I just wished to say how much I miss you and give out some important info, just read it, you won't regret http://
In haste, Aubrey Miller
From: mp212400 [mailto:<email address hidden>]
Sent: Wednesday, November 08, 2017 12:32 PM
To: <email address hidden>
Subject: Fuckin overrated pricks.
I need some clarification before offering any advice. Are you saying that the cable feeding the power goes from the breaker panel, first to one outlet (not working, but your non-contact tester shows it is live), then to the other outlet (not working, not live), then to the switch? From there to the lights, which are working, I assume? How sure are you that this is the way the wires go? Is the house in the United States?
Sent from Mail for Windows 10
Michele (m-chiarolla) wrote : | # |
Hi,
I've got such a lovely and enjoyable day today, simply take a glance here http://
Warmest regards, Douglas Serna
-
Welcome to our website. If you continue to browse and use this website, you are agreeing to comply with and be bound by the following terms and conditions of use, which together with our privacy policy govern US's relationship with you in relation to this website. If you disagree with any part of these terms and conditions, please do not use our website.
Unmerged revisions
- 46. By Nicola Riolini - Micronaet
-
Add requested corrections By Lorenzo's merge
- 45. By Nicola Riolini - Micronaet
-
Put AGPL license as:
http://openerp- community- association. org/04_ faq.html - 44. By Nicola Riolini - Micronaet
-
Add account_
payment_ term_month
See discussion at /code.launchpad .net/~icsergio/ account- payment/ commercial- year-payment/ +merge/ 210700
https:/