Community mailing list archives
Re: moving/copying field TIN to main tab instead of acountingby
I ended up just editing the base_vat to place it above the address instead of on the accounting tab.
There is no need for the write restrictions since everyone who can edit a contact SHOULD be able to put the RUC (TIN) there in the first place.
I did however installed the vat_unique and peruvian ruc check as extra check
2016-01-11 10:12 GMT-05:00 Eltjo Reijenga <firstname.lastname@example.org>:
Hi Arjan,Instead of creating a new field, you should just alter the template and add the field res.partner:vat above the address. You should consider security restrictions and only display it as readonly.On 11 January 2016 at 15:59, Arjan Duijs <email@example.com> wrote:Hi All,Here in peru all business is driven by their Tax Identification Number (RUC).Since the TIN is displayed on the accounting tab and not everyone has acces to accounting i would like to move or have a copy on the main tab above the address.I have created an addon for that, but it creates another instance of a field that as well has the name TIN, but it doesnt share its information with the TIN on the accounting tab. (see attachment)Any idea how to accomplish this?thanks